This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/00010_create_admin_admin_roles.rb
2021-08-23 10:26:02 +02:00

11 lines
244 B
Ruby

class CreateAdminAdminRoles < ActiveRecord::Migration[6.0]
def change
create_table :admin_admin_roles do |t|
t.references :admin, index: true
t.references :admin_role, index: true
t.timestamps
end
end
end