You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class CreateComposeUsers < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :compose_users do |t|
|
|
t.integer :user_id
|
|
t.integer :compose_id
|
|
t.integer :is_manager, default: 0
|
|
|
|
t.timestamps
|
|
end
|
|
add_index :compose_users, [:user_id, :compose_id]
|
|
end
|
|
end
|