forgeplus/db/migrate/20191220085133_create_compo...

13 lines
312 B
Ruby

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