olwen_demo_app/db/migrate/00650_create_p_customer_sites.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +02:00

13 lines
305 B
Ruby

class CreatePCustomerSites < ActiveRecord::Migration[6.0]
def change
create_table :p_customer_sites do |t|
t.references :p_customer, index: true
t.string :name
t.references :particular, index: true
t.string :comments
t.timestamps
end
end
end