13 lines
305 B
Ruby
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
|