mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-22 05:18:51 +00:00
Remove confusing and unused db table
This table came from Spree but has never been used.
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user