diff --git a/db/migrate/20210917122153_add_ean_to_p_product_refs.rb b/db/migrate/20210917122153_add_ean_to_p_product_refs.rb new file mode 100644 index 0000000..43bf5de --- /dev/null +++ b/db/migrate/20210917122153_add_ean_to_p_product_refs.rb @@ -0,0 +1,5 @@ +class AddEanToPProductRefs < ActiveRecord::Migration[6.0] + def change + add_column :p_product_refs, :ean, :integer + end +end diff --git a/db/migrate/20210917124338_add_sorecop_comment_to_p_product_refs.rb b/db/migrate/20210917124338_add_sorecop_comment_to_p_product_refs.rb new file mode 100644 index 0000000..3c239fb --- /dev/null +++ b/db/migrate/20210917124338_add_sorecop_comment_to_p_product_refs.rb @@ -0,0 +1,5 @@ +class AddSorecopCommentToPProductRefs < ActiveRecord::Migration[6.0] + def change + add_column :p_product_refs, :sorecop_comment, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index c81bb6b..490c94d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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|