qi6_app/db/migrate/20180616093338_create_p_customer_sites.rb
2019-05-17 12:30:45 +02:00

13 lines
341 B
Ruby

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