add sorecop_comment & ean

This commit is contained in:
Barnabé 2021-09-17 14:46:19 +02:00
parent 210ac20718
commit 7dbed2374c
3 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddEanToPProductRefs < ActiveRecord::Migration[6.0]
def change
add_column :p_product_refs, :ean, :integer
end
end

View File

@ -0,0 +1,5 @@
class AddSorecopCommentToPProductRefs < ActiveRecord::Migration[6.0]
def change
add_column :p_product_refs, :sorecop_comment, :string
end
end

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_09_17_121011) do
ActiveRecord::Schema.define(version: 2021_09_17_124338) do
create_table "accounting_zones", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|
t.string "name"
@ -1799,6 +1799,8 @@ ActiveRecord::Schema.define(version: 2021_09_17_121011) do
t.decimal "ca_dee", precision: 10
t.decimal "cc_dee", precision: 10
t.decimal "ct_dee", precision: 10
t.integer "ean"
t.string "sorecop_comment"
end
create_table "p_product_specs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t|