genecode to p_product_ref

This commit is contained in:
Barnabé 2021-10-15 18:21:20 +02:00
parent 2de306d5e6
commit 8965db5a59
3 changed files with 2 additions and 6 deletions

View File

@ -1,5 +0,0 @@
class AddGenecodeToPProducts < ActiveRecord::Migration[6.0]
def change
add_column :p_products, :genecode, :string
end
end

View File

@ -1,5 +1,6 @@
class AddImportFieldToPProductRefs < ActiveRecord::Migration[6.0]
def change
add_column :p_product_refs, :genecode, :string
add_column :p_product_refs, :manufacturer_ref, :string
add_column :p_product_refs, :used_state, :string
add_column :p_product_refs, :i_code_hs, :string

View File

@ -1818,6 +1818,7 @@ ActiveRecord::Schema.define(version: 2021_10_14_134444) do
t.decimal "ct_deee", precision: 10, scale: 2
t.string "ean"
t.string "sorecop_comment"
t.string "genecode"
t.string "manufacturer_ref"
t.string "used_state"
t.string "i_code_hs"
@ -1926,7 +1927,6 @@ ActiveRecord::Schema.define(version: 2021_10_14_134444) do
t.boolean "conserve_proportion", default: false
t.boolean "frontpage", default: true
t.integer "sorecop_cat_id"
t.string "genecode"
t.index ["p_product_cat_id"], name: "index_p_products_on_p_product_cat_id"
t.index ["s_brand_id"], name: "index_p_products_on_s_brand_id"
end