clair_app/db/migrate/20200401115523_create_admin_p_customers.rb
Nicolas Bally c2f8ec2efb initial
2020-10-10 00:28:38 +02:00

11 lines
248 B
Ruby

class CreateAdminPCustomers < ActiveRecord::Migration[6.0]
def change
create_table :admin_p_customers do |t|
t.references :admin, foreign_key: true
t.references :p_customer, foreign_key: true
t.timestamps
end
end
end