Remove confusing and unused db table

This table came from Spree but has never been used.
This commit is contained in:
Maikel Linke
2023-01-05 10:42:06 +11:00
parent dc6ac99a3f
commit 59a565c446
2 changed files with 11 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
# This old Spree concept has never been used in our project.
class DropSpreeProductGroupsProducts < ActiveRecord::Migration[6.1]
def change
drop_table "spree_product_groups_products", id: false, force: :cascade do |t|
t.integer "product_id"
t.integer "product_group_id"
end
end
end

View File

@@ -693,11 +693,6 @@ ActiveRecord::Schema.define(version: 2023_01_05_000312) do
t.index ["permalink"], name: "index_product_groups_on_permalink"
end
create_table "spree_product_groups_products", id: false, force: :cascade do |t|
t.integer "product_id"
t.integer "product_group_id"
end
create_table "spree_product_option_types", id: :serial, force: :cascade do |t|
t.integer "position"
t.integer "product_id"