Added down method to remove_display_on_from_payment_methods migration

This commit is contained in:
Rob H
2013-02-07 22:54:07 +11:00
parent 1ead1dadaf
commit c517469662

View File

@@ -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