panier_app/migrations/00790_create_p_product_specs.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01:00

13 lines
303 B
Ruby

class CreatePProductSpecs < ActiveRecord::Migration[6.0]
def change
create_table :p_product_specs do |t|
t.references :p_product, index: true
t.string :code
t.text :description
t.boolean :un, :default => false
t.timestamps
end
end
end