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