mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove unused field orders.shipping_method_id
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class DropOrdersShippingMethodId < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :spree_orders, :shipping_method_id
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :spree_orders, :shipping_method_id, :integer
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20190918105234) do
|
||||
ActiveRecord::Schema.define(:version => 20190922201034) do
|
||||
|
||||
create_table "adjustment_metadata", :force => true do |t|
|
||||
t.integer "adjustment_id"
|
||||
@@ -563,7 +563,6 @@ ActiveRecord::Schema.define(:version => 20190918105234) do
|
||||
t.integer "bill_address_id"
|
||||
t.integer "ship_address_id"
|
||||
t.decimal "payment_total", :precision => 10, :scale => 2, :default => 0.0
|
||||
t.integer "shipping_method_id"
|
||||
t.string "shipment_state"
|
||||
t.string "payment_state"
|
||||
t.string "email"
|
||||
|
||||
Reference in New Issue
Block a user