summaryrefslogtreecommitdiff
path: root/app/models/label.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-25 12:25:02 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-25 12:25:02 +0300
commit92deb451da16bdc1b9520fc06f593b7e373d81af (patch)
tree9ad16b93f636395b6e97936912d3009c89ed8b45 /app/models/label.rb
parent1a9b2a47a139f2e683873c5d46cea15161e35783 (diff)
downloadgitlab-ce-92deb451da16bdc1b9520fc06f593b7e373d81af.tar.gz
Annotate models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/label.rb b/app/models/label.rb
index 233f477444f..2b2b02e0645 100644
--- a/app/models/label.rb
+++ b/app/models/label.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: labels
+#
+# id :integer not null, primary key
+# title :string(255)
+# color :string(255)
+# project_id :integer
+# created_at :datetime
+# updated_at :datetime
+#
+
class Label < ActiveRecord::Base
DEFAULT_COLOR = '#428BCA'