mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove Old Migrations
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToColumnPreferencesUser < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :column_preferences, :spree_users, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToInventoryItemsEnterprise < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :inventory_items, :enterprises, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToInventoryItemsVariant < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :inventory_items, :spree_variants, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToReportRenderingOptionsUser < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :report_rendering_options, :spree_users, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeAdjustmentsOrder < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_adjustments, :spree_orders, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeAdjustmentsTaxCategory < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_adjustments, :spree_tax_categories, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeCreditCardsPaymentMethod < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_credit_cards, :spree_payment_methods, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeCreditCardsUser < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_credit_cards, :spree_users, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeLineItemsTaxCategory < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_line_items, :spree_tax_categories, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShipmentsStockLocation < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipments, :spree_stock_locations, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShippingMethodCategoriesShippingCategory < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipping_method_categories, :spree_shipping_categories, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShippingMethodCategoriesShippingMethod < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipping_method_categories, :spree_shipping_methods, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShippingMethodsTaxCategory < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipping_methods, :spree_tax_categories, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShippingRatesShipment < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipping_rates, :spree_shipments, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeShippingRatesShippingMethod < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_shipping_rates, :spree_shipping_methods, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeStockItemsStockLocation < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_stock_items, :spree_stock_locations, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeStockItemsVariant < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_stock_items, :spree_variants, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeStockLocationsCountry < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_stock_locations, :spree_countries, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeStockLocationsState < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_stock_locations, :spree_states, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToSpreeStockMovementsStockItem < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :spree_stock_movements, :spree_stock_items, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToStripeAccountsEnterprise < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :stripe_accounts, :enterprises, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddForeignKeyToTagRulesEnterprise < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_foreign_key :tag_rules, :enterprises, on_delete: :cascade
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user