annotate model
This commit is contained in:
parent
32aa2e3f24
commit
a66d9b4c76
8 changed files with 68 additions and 34 deletions
|
@ -44,3 +44,19 @@ class MergeRequest < ActiveRecord::Base
|
|||
project.commit(source_branch)
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: merge_requests
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# target_branch :string(255) not null
|
||||
# source_branch :string(255) not null
|
||||
# project_id :integer not null
|
||||
# author_id :integer
|
||||
# assignee_id :integer
|
||||
# title :string(255)
|
||||
# closed :boolean default(FALSE), not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue