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

13 lines
343 B
Ruby

class CreatePCustomerSheets < ActiveRecord::Migration[6.0]
def change
create_table :p_customer_sheets do |t|
t.references :p_customer, index: true, foreign_key: true
t.references :p_customer_site, index: true, foreign_key: true
t.string :state
t.string :comments
t.timestamps null: false
end
end
end