Initial commit
This commit is contained in:
11
db/migrate/20210917144722_create_products.rb
Normal file
11
db/migrate/20210917144722_create_products.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user