summaryrefslogtreecommitdiff
path: root/app/models/appearance.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-04 19:42:10 +0200
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-06 08:27:46 +0200
commit47da013cf83b4a42fc9f4b049d8ba41dc3f325d2 (patch)
treef0e56c0ffedd1bff048a91c736d96b9b6365e2a6 /app/models/appearance.rb
parentc583433862558550c8caedb03217880568dcdefc (diff)
downloadgitlab-ce-47da013cf83b4a42fc9f4b049d8ba41dc3f325d2.tar.gz
Annotate the models
Diffstat (limited to 'app/models/appearance.rb')
-rw-r--r--app/models/appearance.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/models/appearance.rb b/app/models/appearance.rb
index 4cf8dd9a8ce..4528760fefa 100644
--- a/app/models/appearance.rb
+++ b/app/models/appearance.rb
@@ -1,3 +1,16 @@
+# == Schema Information
+#
+# Table name: appearances
+#
+# id :integer not null, primary key
+# title :string
+# description :text
+# header_logo :string
+# logo :string
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
class Appearance < ActiveRecord::Base
validates :title, presence: true
validates :description, presence: true