mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
12 lines
280 B
Ruby
12 lines
280 B
Ruby
class CreateIssueParticipants < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :issue_participants do |t|
|
|
t.references :issue
|
|
t.references :participant, references: :user
|
|
t.integer :participant_type, default: 0
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|