forgeplus/db/migrate/20230208023811_create_issue...

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