spec/dummy/db/schema.rb in mechanize_store-0.0.3 vs spec/dummy/db/schema.rb in mechanize_store-0.0.4

- old
+ new

@@ -9,11 +9,11 @@ # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140409191457) do +ActiveRecord::Schema.define(version: 20140424193648) do create_table "mechanize_store_flags", force: true do |t| t.string "name" t.datetime "created_at" t.datetime "updated_at" @@ -24,10 +24,11 @@ t.string "service" t.integer "order_id" t.string "zipcode" t.datetime "created_at" t.datetime "updated_at" + t.integer "delivery_time" end add_index "mechanize_store_freights", ["order_id"], name: "index_mechanize_store_freights_on_order_id" create_table "mechanize_store_order_items", force: true do |t| @@ -70,23 +71,24 @@ t.datetime "created_at" t.datetime "updated_at" end create_table "mechanize_store_payments", force: true do |t| - t.integer "payable_id" - t.string "payable_type" + t.integer "order_id" t.integer "payment_status_id" t.float "value" t.float "paid_value" t.datetime "paid_in" t.integer "plot" t.integer "flag_id" t.datetime "created_at" t.datetime "updated_at" + t.integer "payment_type_id" end add_index "mechanize_store_payments", ["flag_id"], name: "index_mechanize_store_payments_on_flag_id" add_index "mechanize_store_payments", ["payment_status_id"], name: "index_mechanize_store_payments_on_payment_status_id" + add_index "mechanize_store_payments", ["payment_type_id"], name: "index_mechanize_store_payments_on_payment_type_id" create_table "mechanize_store_product_categories", force: true do |t| t.string "name" t.integer "product_category_id" t.datetime "created_at"