diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-25 12:25:02 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-25 12:25:02 +0300 |
commit | 92deb451da16bdc1b9520fc06f593b7e373d81af (patch) | |
tree | 9ad16b93f636395b6e97936912d3009c89ed8b45 /app/models/label_link.rb | |
parent | 1a9b2a47a139f2e683873c5d46cea15161e35783 (diff) | |
download | gitlab-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.rb | 12 |
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 |