Files
old-konsultanti-next-gen/db/migrate/20210917144722_create_products.rb
2021-09-20 08:22:39 +02:00

12 lines
245 B
Ruby

class CreateProducts < ActiveRecord::Migration[6.1]
def change
create_table :products do |t|
t.string "name"
t.bigint "industry_id"
t.bigint "supplier_id"
t.string "description"
t.timestamps
end
end
end