mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
10 lines
270 B
Ruby
10 lines
270 B
Ruby
class CreatePullRequestsReviewers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :pull_requests_reviewers do |t|
|
|
t.belongs_to :pull_request, index: true
|
|
t.belongs_to :reviewer, class_name: User, index:true
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|