Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-04 20:42:10 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-06 09:27:46 +0300
commit47da013cf83b4a42fc9f4b049d8ba41dc3f325d2 (patch)
treef0e56c0ffedd1bff048a91c736d96b9b6365e2a6 /app/models/appearance.rb
parentc583433862558550c8caedb03217880568dcdefc (diff)
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