summaryrefslogtreecommitdiff
path: root/app/models/label_link.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_link.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_link.rb')
-rw-r--r--app/models/label_link.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/label_link.rb b/app/models/label_link.rb
index 47bd6eaf35f..b94c9c777af 100644
--- a/app/models/label_link.rb
+++ b/app/models/label_link.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: label_links
+#
+# id :integer not null, primary key
+# label_id :integer
+# target_id :integer
+# target_type :string(255)
+# created_at :datetime
+# updated_at :datetime
+#
+
class LabelLink < ActiveRecord::Base
belongs_to :target, polymorphic: true
belongs_to :label