mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
add down method for migration
This commit is contained in:
@@ -34,4 +34,8 @@ class AddOrderToAdjustments < ActiveRecord::Migration
|
||||
adjustment.update_column(:order_id, line_item.order_id)
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :spree_adjustments, :order_id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user