Skip to content

Commit

Permalink
Don't create spree_order_stock_locations table
Browse files Browse the repository at this point in the history
We no longer need this table in new stores as location configured
packages have been removed.

We shouldn't remove the table if it already exists.
  • Loading branch information
jhawthorn committed Oct 26, 2017
1 parent 0bf7746 commit b98e11a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions core/db/migrate/20160101010000_solidus_one_four.rb
Original file line number Diff line number Diff line change
Expand Up @@ -278,16 +278,6 @@ def up
t.index ["order_id"], name: "index_spree_order_mutexes_on_order_id", unique: true
end

create_table "spree_order_stock_locations", force: :cascade do |t|
t.integer "order_id"
t.integer "variant_id"
t.integer "quantity"
t.integer "stock_location_id"
t.boolean "shipment_fulfilled", default: false, null: false
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "spree_orders", force: :cascade do |t|
t.string "number", limit: 32
t.decimal "item_total", precision: 10, scale: 2, default: "0.0", null: false
Expand Down

0 comments on commit b98e11a

Please sign in to comment.