mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Added down method to remove_display_on_from_payment_methods migration
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# This migration comes from spree (originally 20121111231553)
|
||||
class RemoveDisplayOnFromPaymentMethods < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :spree_payment_methods, :display_on
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :spree_payment_methods, :display_on, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user