mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
8 lines
184 B
Ruby
8 lines
184 B
Ruby
class DropCarts < ActiveRecord::Migration
|
|
def change
|
|
remove_foreign_key :spree_orders, column: :cart_id
|
|
remove_column :spree_orders, :cart_id
|
|
drop_table :carts
|
|
end
|
|
end
|