added migrations for instant delivery

This commit is contained in:
Senad Uka
2015-07-26 19:10:16 +02:00
parent af6864954a
commit 68b25bf491
374 changed files with 135456 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150614050336) do
ActiveRecord::Schema.define(version: 20150726161256) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -62,10 +62,11 @@ ActiveRecord::Schema.define(version: 20150614050336) do
t.boolean "phone_verified"
t.string "phone_verification_code"
t.string "email_verification_code"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "user_id"
t.string "anonymous_id_string"
t.boolean "instant_delivery", default: false
end
create_table "delivery_time_estimations", force: :cascade do |t|
@@ -130,8 +131,8 @@ ActiveRecord::Schema.define(version: 20150614050336) do
t.datetime "updated_at", null: false
t.string "tags"
t.json "traits"
t.decimal "weight", precision: 5, scale: 3
t.integer "supplier_id"
t.decimal "weight", precision: 5, scale: 3
t.integer "delivery_time_estimation_id"
t.integer "brand_id"
end
@@ -191,8 +192,9 @@ ActiveRecord::Schema.define(version: 20150614050336) do
t.string "postal_code"
t.decimal "delivery_price"
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.decimal "instant_delivery_price", precision: 5, scale: 2
end
create_table "sections", force: :cascade do |t|