openfoodfoundation/openfoodnetwork

View on GitHub
db/migrate/20230706033212_drop_spree_promotion_tables.rb

Summary

Maintainability
A
0 mins
Test Coverage
class DropSpreePromotionTables < ActiveRecord::Migration[7.0]
  def change
    drop_table :spree_products_promotion_rules
    drop_table :spree_promotion_action_line_items
    drop_table :spree_promotion_actions
    drop_table :spree_promotion_rules
    drop_table :spree_promotion_rules_users
  end
end