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.
educoder/db/migrate/20191106015717_create_partn...

14 lines
305 B

class CreatePartnerManagerGroups < ActiveRecord::Migration[5.2]
def change
create_table :partner_manager_groups do |t|
t.references :partner
t.string :name
t.boolean :admin, default: false
t.timestamps
end
add_reference :customers, :partner_manager_group
end
end