diff --git a/db/migrate/20230104234406_drop_spree_product_groups.rb b/db/migrate/20230104234406_drop_spree_product_groups.rb new file mode 100644 index 0000000000..186a13b6fd --- /dev/null +++ b/db/migrate/20230104234406_drop_spree_product_groups.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class DropSpreeProductGroups < ActiveRecord::Migration[6.1] + def change + drop_table "spree_product_groups", id: :serial, force: :cascade do |t| + t.string "name", limit: 255 + t.string "permalink", limit: 255 + t.string "order", limit: 255 + t.index ["name"], name: "index_product_groups_on_name" + t.index ["permalink"], name: "index_product_groups_on_permalink" + end + end +end diff --git a/db/schema.rb b/db/schema.rb index d89708f892..4001d36123 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -685,14 +685,6 @@ ActiveRecord::Schema.define(version: 2023_01_05_000312) do t.index ["variant_id"], name: "index_spree_prices_on_variant_id" end - create_table "spree_product_groups", id: :serial, force: :cascade do |t| - t.string "name", limit: 255 - t.string "permalink", limit: 255 - t.string "order", limit: 255 - t.index ["name"], name: "index_product_groups_on_name" - t.index ["permalink"], name: "index_product_groups_on_permalink" - end - create_table "spree_product_option_types", id: :serial, force: :cascade do |t| t.integer "position" t.integer "product_id"