annotate model

This commit is contained in:
Valery Sizov 2011-12-18 16:09:16 +02:00
parent 32aa2e3f24
commit a66d9b4c76
8 changed files with 68 additions and 34 deletions

View file

@ -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
#