forgeplus/db/migrate/20210111065934_create_organ...

11 lines
214 B
Ruby

class CreateOrganizationUsers < ActiveRecord::Migration[5.2]
def change
create_table :organization_users do |t|
t.references :user
t.references :organization
t.timestamps
end
end
end