shoppe 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/Rakefile +18 -0
- data/app/assets/images/shoppe/document.svg +1 -0
- data/app/assets/images/shoppe/logo.svg +47 -0
- data/app/assets/images/shoppe/shoppe.svg +25 -0
- data/app/assets/images/shoppe/square.svg +9 -0
- data/app/assets/images/shoppe/statuses/accepted.svg +14 -0
- data/app/assets/images/shoppe/statuses/paid.svg +16 -0
- data/app/assets/images/shoppe/statuses/received.svg +15 -0
- data/app/assets/images/shoppe/statuses/rejected.svg +14 -0
- data/app/assets/images/shoppe/statuses/shipped.svg +14 -0
- data/app/assets/javascripts/shoppe/application.coffee +11 -0
- data/app/assets/stylesheets/shoppe/application.scss +302 -0
- data/app/assets/stylesheets/shoppe/elements.scss +73 -0
- data/app/assets/stylesheets/shoppe/reset.scss +93 -0
- data/app/assets/stylesheets/shoppe/sub.scss +90 -0
- data/app/assets/stylesheets/shoppe/variables.scss +1 -0
- data/app/controllers/shoppe/application_controller.rb +39 -0
- data/app/controllers/shoppe/attachments_controller.rb +12 -0
- data/app/controllers/shoppe/dashboard_controller.rb +7 -0
- data/app/controllers/shoppe/delivery_service_prices_controller.rb +42 -0
- data/app/controllers/shoppe/delivery_services_controller.rb +45 -0
- data/app/controllers/shoppe/orders_controller.rb +36 -0
- data/app/controllers/shoppe/product_categories_controller.rb +45 -0
- data/app/controllers/shoppe/products_controller.rb +45 -0
- data/app/controllers/shoppe/sessions_controller.rb +31 -0
- data/app/controllers/shoppe/users_controller.rb +46 -0
- data/app/helpers/shoppe/application_helper.rb +10 -0
- data/app/helpers/shoppe/shoppe_helper.rb +28 -0
- data/app/mailers/shoppe/order_mailer.rb +25 -0
- data/app/mailers/shoppe/user_mailer.rb +10 -0
- data/app/models/shoppe/delivery_service.rb +22 -0
- data/app/models/shoppe/delivery_service_price.rb +19 -0
- data/app/models/shoppe/order.rb +325 -0
- data/app/models/shoppe/order_item.rb +113 -0
- data/app/models/shoppe/product.rb +56 -0
- data/app/models/shoppe/product_category.rb +22 -0
- data/app/models/shoppe/user.rb +41 -0
- data/app/views/layouts/shoppe/application.html.haml +35 -0
- data/app/views/layouts/shoppe/sub.html.haml +10 -0
- data/app/views/shoppe/delivery_service_prices/_form.html.haml +28 -0
- data/app/views/shoppe/delivery_service_prices/edit.html.haml +5 -0
- data/app/views/shoppe/delivery_service_prices/index.html.haml +22 -0
- data/app/views/shoppe/delivery_service_prices/new.html.haml +5 -0
- data/app/views/shoppe/delivery_services/_form.html.haml +35 -0
- data/app/views/shoppe/delivery_services/edit.html.haml +5 -0
- data/app/views/shoppe/delivery_services/index.html.haml +24 -0
- data/app/views/shoppe/delivery_services/new.html.haml +5 -0
- data/app/views/shoppe/order_mailer/accepted.text.erb +12 -0
- data/app/views/shoppe/order_mailer/received.text.erb +12 -0
- data/app/views/shoppe/order_mailer/rejected.text.erb +10 -0
- data/app/views/shoppe/order_mailer/shipped.text.erb +16 -0
- data/app/views/shoppe/orders/index.html.haml +60 -0
- data/app/views/shoppe/orders/show.html.haml +117 -0
- data/app/views/shoppe/product_categories/_form.html.haml +25 -0
- data/app/views/shoppe/product_categories/edit.html.haml +6 -0
- data/app/views/shoppe/product_categories/index.html.haml +15 -0
- data/app/views/shoppe/product_categories/new.html.haml +5 -0
- data/app/views/shoppe/products/_form.html.haml +71 -0
- data/app/views/shoppe/products/edit.html.haml +5 -0
- data/app/views/shoppe/products/index.html.haml +27 -0
- data/app/views/shoppe/products/new.html.haml +5 -0
- data/app/views/shoppe/sessions/new.html.haml +12 -0
- data/app/views/shoppe/sessions/reset.html.haml +11 -0
- data/app/views/shoppe/user_mailer/new_password.text.erb +9 -0
- data/app/views/shoppe/users/_form.html.haml +26 -0
- data/app/views/shoppe/users/edit.html.haml +5 -0
- data/app/views/shoppe/users/index.html.haml +17 -0
- data/app/views/shoppe/users/new.html.haml +5 -0
- data/config/routes.rb +24 -0
- data/config/shoppe.example.yml +6 -0
- data/db/migrate/20130926094549_create_shoppe_initial_schema.rb +116 -0
- data/db/seeds.rb +85 -0
- data/db/seeds_data/poe400.jpg +0 -0
- data/db/seeds_data/snom-870-blk.jpg +0 -0
- data/db/seeds_data/snom-870-grey.jpg +0 -0
- data/db/seeds_data/snom-mm2.jpg +0 -0
- data/db/seeds_data/spa303.jpg +0 -0
- data/db/seeds_data/t18p.jpg +0 -0
- data/db/seeds_data/t20p.jpg +0 -0
- data/db/seeds_data/t22p.jpg +0 -0
- data/db/seeds_data/t26p.jpg +0 -0
- data/db/seeds_data/t41pn.jpg +0 -0
- data/db/seeds_data/t46gn.jpg +0 -0
- data/db/seeds_data/w52p.jpg +0 -0
- data/db/seeds_data/yhs32.jpg +0 -0
- data/lib/shoppe.rb +41 -0
- data/lib/shoppe/engine.rb +35 -0
- data/lib/shoppe/errors/inappropriate_delivery_service.rb +11 -0
- data/lib/shoppe/errors/insufficient_stock_to_fulfil.rb +19 -0
- data/lib/shoppe/errors/not_enough_stock.rb +19 -0
- data/lib/shoppe/errors/payment_declined.rb +15 -0
- data/lib/shoppe/setup_generator.rb +14 -0
- data/lib/shoppe/version.rb +3 -0
- data/lib/tasks/shoppe.rake +17 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/shoppe.yml +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +119 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +893 -0
- data/test/dummy/log/test.log +6397 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/models/shoppe/basket_test.rb +26 -0
- data/test/models/shoppe/user_test.rb +37 -0
- data/test/shoppe_test.rb +17 -0
- data/test/test_helper.rb +4 -0
- metadata +453 -0
Binary file
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20131006144849) do
|
15
|
+
|
16
|
+
create_table "shoppe_delivery_service_prices", force: true do |t|
|
17
|
+
t.integer "delivery_service_id"
|
18
|
+
t.string "code"
|
19
|
+
t.decimal "price", precision: 8, scale: 2
|
20
|
+
t.decimal "tax_rate", precision: 8, scale: 2
|
21
|
+
t.decimal "min_weight", precision: 8, scale: 2
|
22
|
+
t.decimal "max_weight", precision: 8, scale: 2
|
23
|
+
t.datetime "created_at"
|
24
|
+
t.datetime "updated_at"
|
25
|
+
end
|
26
|
+
|
27
|
+
create_table "shoppe_delivery_services", force: true do |t|
|
28
|
+
t.string "name"
|
29
|
+
t.string "code"
|
30
|
+
t.boolean "default", default: false
|
31
|
+
t.boolean "active", default: true
|
32
|
+
t.datetime "created_at"
|
33
|
+
t.datetime "updated_at"
|
34
|
+
t.string "courier"
|
35
|
+
t.string "tracking_url"
|
36
|
+
end
|
37
|
+
|
38
|
+
create_table "shoppe_order_items", force: true do |t|
|
39
|
+
t.integer "order_id"
|
40
|
+
t.integer "product_id"
|
41
|
+
t.integer "quantity", default: 1
|
42
|
+
t.decimal "unit_price", precision: 8, scale: 2
|
43
|
+
t.decimal "tax_amount", precision: 8, scale: 2
|
44
|
+
t.decimal "tax_rate", precision: 8, scale: 2
|
45
|
+
t.decimal "weight", precision: 8, scale: 3, default: 0.0
|
46
|
+
t.datetime "created_at"
|
47
|
+
t.datetime "updated_at"
|
48
|
+
end
|
49
|
+
|
50
|
+
create_table "shoppe_orders", force: true do |t|
|
51
|
+
t.string "token"
|
52
|
+
t.string "first_name"
|
53
|
+
t.string "last_name"
|
54
|
+
t.string "company"
|
55
|
+
t.string "address1"
|
56
|
+
t.string "address2"
|
57
|
+
t.string "address3"
|
58
|
+
t.string "address4"
|
59
|
+
t.string "postcode"
|
60
|
+
t.string "email_address"
|
61
|
+
t.string "phone_number"
|
62
|
+
t.string "status"
|
63
|
+
t.datetime "received_at"
|
64
|
+
t.datetime "accepted_at"
|
65
|
+
t.datetime "shipped_at"
|
66
|
+
t.datetime "created_at"
|
67
|
+
t.datetime "updated_at"
|
68
|
+
t.integer "delivery_service_id"
|
69
|
+
t.decimal "delivery_price", precision: 8, scale: 2
|
70
|
+
t.decimal "delivery_tax_rate", precision: 8, scale: 2
|
71
|
+
t.decimal "delivery_tax_amount", precision: 8, scale: 2
|
72
|
+
t.datetime "paid_at"
|
73
|
+
t.integer "accepted_by"
|
74
|
+
t.integer "shipped_by"
|
75
|
+
t.string "consignment_number"
|
76
|
+
t.datetime "rejected_at"
|
77
|
+
t.integer "rejected_by"
|
78
|
+
t.string "ip_address"
|
79
|
+
t.string "country"
|
80
|
+
t.string "payment_reference"
|
81
|
+
t.string "payment_method"
|
82
|
+
end
|
83
|
+
|
84
|
+
create_table "shoppe_product_categories", force: true do |t|
|
85
|
+
t.string "name"
|
86
|
+
t.string "permalink"
|
87
|
+
t.text "description"
|
88
|
+
t.datetime "created_at"
|
89
|
+
t.datetime "updated_at"
|
90
|
+
end
|
91
|
+
|
92
|
+
create_table "shoppe_products", force: true do |t|
|
93
|
+
t.integer "product_category_id"
|
94
|
+
t.string "title"
|
95
|
+
t.string "sku"
|
96
|
+
t.string "permalink"
|
97
|
+
t.text "description"
|
98
|
+
t.text "short_description"
|
99
|
+
t.boolean "active", default: true
|
100
|
+
t.decimal "weight", precision: 8, scale: 3, default: 0.0
|
101
|
+
t.decimal "price", precision: 8, scale: 2, default: 0.0
|
102
|
+
t.decimal "tax_rate", precision: 8, scale: 2, default: 0.0
|
103
|
+
t.integer "stock", default: 0
|
104
|
+
t.datetime "created_at"
|
105
|
+
t.datetime "updated_at"
|
106
|
+
t.boolean "featured", default: false
|
107
|
+
t.text "in_the_box"
|
108
|
+
end
|
109
|
+
|
110
|
+
create_table "shoppe_users", force: true do |t|
|
111
|
+
t.string "first_name"
|
112
|
+
t.string "last_name"
|
113
|
+
t.string "email_address"
|
114
|
+
t.string "password_digest"
|
115
|
+
t.datetime "created_at"
|
116
|
+
t.datetime "updated_at"
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
File without changes
|
@@ -0,0 +1,893 @@
|
|
1
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5
|
+
Migrating to CreateProductCategories (20130926094549)
|
6
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
8
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094549"]]
|
9
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
10
|
+
Migrating to CreateProducts (20130926094551)
|
11
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "vat_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
13
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094551"]]
|
14
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
15
|
+
Migrating to CreateOrders (20130926094647)
|
16
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
18
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094647"]]
|
19
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
20
|
+
Migrating to CreateOrderItems (20130926094654)
|
21
|
+
[1m[35m (0.1ms)[0m begin transaction
|
22
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "parent_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
23
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094654"]]
|
24
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
25
|
+
Migrating to CreateImages (20130926104450)
|
26
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m
|
28
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926104450"]]
|
29
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
30
|
+
Migrating to CreateUsers (20130926151718)
|
31
|
+
[1m[35m (0.1ms)[0m begin transaction
|
32
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
33
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926151718"]]
|
34
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
35
|
+
Migrating to AddCardTokenToOrders (20130927113134)
|
36
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37
|
+
[1m[36m (0.8ms)[0m [1mALTER TABLE "shoppe_orders" ADD "stripe_customer_token" varchar(255)[0m
|
38
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "shoppe_orders" ADD "stripe_payment_token" varchar(255)
|
39
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927113134"]]
|
40
|
+
[1m[35m (1.0ms)[0m commit transaction
|
41
|
+
Migrating to CreateDeliveryServices (20130927130022)
|
42
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0, "vat_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime)
|
44
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927130022"]]
|
45
|
+
[1m[35m (1.1ms)[0m commit transaction
|
46
|
+
Migrating to AddDeliveryServiceToOrder (20130927132143)
|
47
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
48
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_service_id" integer
|
49
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_price" decimal(8,2) DEFAULT 0.0[0m
|
50
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_vat_rate" decimal(8,2) DEFAULT 0.0
|
51
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_vat_amount" decimal(8,2) DEFAULT 0.0[0m
|
52
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927132143"]]
|
53
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
54
|
+
Migrating to AddPaymentDateToOrders (20130927150025)
|
55
|
+
[1m[35m (0.1ms)[0m begin transaction
|
56
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "paid_at" datetime[0m
|
57
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927150025"]]
|
58
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
59
|
+
Migrating to RenameStripePaymentToken (20130928111819)
|
60
|
+
[1m[35m (0.1ms)[0m begin transaction
|
61
|
+
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime) [0m
|
62
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
63
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
64
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime)
|
65
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
66
|
+
[1m[35m (0.3ms)[0m DROP TABLE "ashoppe_orders"
|
67
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)[0m
|
68
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928111819"]]
|
69
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
70
|
+
Migrating to AddApporovedUsers (20130928131502)
|
71
|
+
[1m[35m (0.1ms)[0m begin transaction
|
72
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "approved_by" integer[0m
|
73
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "shipped_by" integer
|
74
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "consignment_number" varchar(255)[0m
|
75
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928131502"]]
|
76
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
77
|
+
Migrating to AddCourierDetailsToShippingMethods (20130928134518)
|
78
|
+
[1m[35m (0.1ms)[0m begin transaction
|
79
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_delivery_services" ADD "courier" varchar(255)[0m
|
80
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_delivery_services" ADD "tracking_url" varchar(255)
|
81
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928134518"]]
|
82
|
+
[1m[35m (1.0ms)[0m commit transaction
|
83
|
+
Migrating to AddRejectionToOrders (20130928173818)
|
84
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "shoppe_orders" ADD "rejected_at" datetime
|
86
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "rejected_by" integer[0m
|
87
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928173818"]]
|
88
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
89
|
+
Migrating to SortOutOrdersForGateways (20130928180041)
|
90
|
+
[1m[35m (0.1ms)[0m begin transaction
|
91
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
92
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
93
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
94
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
95
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
96
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
97
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
98
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
99
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
100
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
101
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
102
|
+
[1m[35m (0.2ms)[0m DROP TABLE "ashoppe_orders"
|
103
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
104
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
105
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
106
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
107
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
108
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
109
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928180041"]]
|
110
|
+
[1m[35m (0.9ms)[0m commit transaction
|
111
|
+
Migrating to CreateNiftyKeyValueStoreTable (20130928185655)
|
112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255))
|
114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928185655"]]
|
115
|
+
[1m[35m (0.8ms)[0m commit transaction
|
116
|
+
Migrating to AddPaymentGatewayToOrders (20130928193023)
|
117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_gateway_module" varchar(255)
|
119
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928193023"]]
|
120
|
+
[1m[35m (1.0ms)[0m commit transaction
|
121
|
+
Migrating to UpdateDatabaseColumnsForAccepted (20130928201257)
|
122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
123
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
124
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
125
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
126
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
127
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
128
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
129
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
130
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
131
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
132
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
133
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "ashoppe_orders"
|
134
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
135
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928201257"]]
|
136
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
137
|
+
Migrating to AddIpAddressToOrders (20130929151744)
|
138
|
+
[1m[35m (0.1ms)[0m begin transaction
|
139
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "ip_address" varchar(255)[0m
|
140
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130929151744"]]
|
141
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
142
|
+
Migrating to ChangeOrderItemsToBeNonPolymorphic (20130929203421)
|
143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
144
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
145
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
146
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
147
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
148
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
149
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
150
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
151
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
152
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
153
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
154
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
155
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
156
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130929203421"]]
|
157
|
+
[1m[35m (0.7ms)[0m commit transaction
|
158
|
+
Migrating to AddFeaturedBooleanToProducts (20130930181344)
|
159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
160
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "shoppe_products" ADD "featured" boolean DEFAULT 'f'
|
161
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130930181344"]]
|
162
|
+
[1m[35m (0.6ms)[0m commit transaction
|
163
|
+
Migrating to RenameVatToTax (20131002154122)
|
164
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
165
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f')
|
166
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m
|
167
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_products"
|
168
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f') [0m
|
169
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products"
|
170
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_products"[0m
|
171
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
172
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
173
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
174
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
175
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
176
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
177
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
178
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
179
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders"
|
180
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
181
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
182
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
183
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
184
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
185
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_order_items"
|
186
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
187
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items"
|
188
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
189
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
190
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
191
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_order_items"
|
192
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
193
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items"
|
194
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
195
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
196
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
197
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
198
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
199
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
200
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
201
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002154122"]]
|
202
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
203
|
+
Migrating to CreateDeliveryServicePrices (20131002155246)
|
204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
205
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [0m
|
206
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
207
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
208
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_delivery_services"
|
209
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
210
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
211
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
212
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
213
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
214
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
215
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
216
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
217
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
218
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
219
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
220
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
221
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
222
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
223
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
224
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
225
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
226
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
227
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
228
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
229
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
230
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002155246"]]
|
231
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
232
|
+
Migrating to DefaultShouldNotBeTrueForDeliveryServices (20131002162301)
|
233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
235
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_delivery_services"
|
236
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_delivery_services"[0m
|
237
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
238
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "ashoppe_delivery_services"[0m
|
239
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_delivery_services"
|
240
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131002162301"]]
|
241
|
+
[1m[35m (0.9ms)[0m commit transaction
|
242
|
+
Migrating to ChangeDefaultsForDeliveryValuesOnOrders (20131003163827)
|
243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
244
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
245
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
246
|
+
[1m[35m (0.4ms)[0m DROP TABLE "shoppe_orders"
|
247
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
248
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
249
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
250
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
251
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
252
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
253
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
254
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
255
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
256
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
257
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
258
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders"
|
259
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
260
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
261
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
262
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131003163827"]]
|
263
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
264
|
+
Migrating to AddCountryToOrders (20131004185043)
|
265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
266
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "country" varchar(255)[0m
|
267
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004185043"]]
|
268
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
269
|
+
Migrating to AddBoxFieldsToProducts (20131004193320)
|
270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
271
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_products" ADD "in_the_box" text[0m
|
272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004193320"]]
|
273
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
274
|
+
Migrating to AddPaymentReferenceFields (20131006144849)
|
275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
276
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_reference" varchar(255)[0m
|
277
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)
|
278
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [0m
|
279
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
280
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
281
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255))
|
282
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
283
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
284
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131006144849"]]
|
285
|
+
[1m[35m (1.0ms)[0m commit transaction
|
286
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
287
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
288
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
289
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
290
|
+
Migrating to CreateProductCategories (20130926094549)
|
291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
292
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
293
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094549"]]
|
294
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
295
|
+
Migrating to CreateProducts (20130926094551)
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "vat_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
298
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094551"]]
|
299
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
300
|
+
Migrating to CreateOrders (20130926094647)
|
301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
302
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
303
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094647"]]
|
304
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
305
|
+
Migrating to CreateOrderItems (20130926094654)
|
306
|
+
[1m[35m (0.1ms)[0m begin transaction
|
307
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "parent_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
308
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094654"]]
|
309
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
310
|
+
Migrating to CreateImages (20130926104450)
|
311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
312
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m
|
313
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926104450"]]
|
314
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
315
|
+
Migrating to CreateUsers (20130926151718)
|
316
|
+
[1m[35m (0.1ms)[0m begin transaction
|
317
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
318
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926151718"]]
|
319
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
320
|
+
Migrating to AddCardTokenToOrders (20130927113134)
|
321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
322
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "stripe_customer_token" varchar(255)[0m
|
323
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "shoppe_orders" ADD "stripe_payment_token" varchar(255)
|
324
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927113134"]]
|
325
|
+
[1m[35m (0.7ms)[0m commit transaction
|
326
|
+
Migrating to CreateDeliveryServices (20130927130022)
|
327
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
328
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0, "vat_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime)
|
329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927130022"]]
|
330
|
+
[1m[35m (0.6ms)[0m commit transaction
|
331
|
+
Migrating to AddDeliveryServiceToOrder (20130927132143)
|
332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
333
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_service_id" integer
|
334
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_price" decimal(8,2) DEFAULT 0.0[0m
|
335
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_vat_rate" decimal(8,2) DEFAULT 0.0
|
336
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_vat_amount" decimal(8,2) DEFAULT 0.0[0m
|
337
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927132143"]]
|
338
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
339
|
+
Migrating to AddPaymentDateToOrders (20130927150025)
|
340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
341
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "paid_at" datetime[0m
|
342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927150025"]]
|
343
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
344
|
+
Migrating to RenameStripePaymentToken (20130928111819)
|
345
|
+
[1m[35m (0.1ms)[0m begin transaction
|
346
|
+
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime) [0m
|
347
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
348
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
349
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime)
|
350
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
351
|
+
[1m[35m (0.2ms)[0m DROP TABLE "ashoppe_orders"
|
352
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)[0m
|
353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928111819"]]
|
354
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
355
|
+
Migrating to AddApporovedUsers (20130928131502)
|
356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
357
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "approved_by" integer[0m
|
358
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "shipped_by" integer
|
359
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "consignment_number" varchar(255)[0m
|
360
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928131502"]]
|
361
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
362
|
+
Migrating to AddCourierDetailsToShippingMethods (20130928134518)
|
363
|
+
[1m[35m (0.1ms)[0m begin transaction
|
364
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_delivery_services" ADD "courier" varchar(255)[0m
|
365
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "shoppe_delivery_services" ADD "tracking_url" varchar(255)
|
366
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928134518"]]
|
367
|
+
[1m[35m (0.8ms)[0m commit transaction
|
368
|
+
Migrating to AddRejectionToOrders (20130928173818)
|
369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
370
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "shoppe_orders" ADD "rejected_at" datetime
|
371
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "rejected_by" integer[0m
|
372
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928173818"]]
|
373
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
374
|
+
Migrating to SortOutOrdersForGateways (20130928180041)
|
375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
376
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
377
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
378
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
379
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
380
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
381
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
382
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
383
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
384
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
385
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
386
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
387
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
388
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
389
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
390
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
391
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
392
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
393
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
394
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928180041"]]
|
395
|
+
[1m[35m (1.2ms)[0m commit transaction
|
396
|
+
Migrating to CreateNiftyKeyValueStoreTable (20130928185655)
|
397
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
398
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255))
|
399
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928185655"]]
|
400
|
+
[1m[35m (0.8ms)[0m commit transaction
|
401
|
+
Migrating to AddPaymentGatewayToOrders (20130928193023)
|
402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
403
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_gateway_module" varchar(255)
|
404
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928193023"]]
|
405
|
+
[1m[35m (0.9ms)[0m commit transaction
|
406
|
+
Migrating to UpdateDatabaseColumnsForAccepted (20130928201257)
|
407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
408
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
409
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
410
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_orders"
|
411
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
412
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
413
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
414
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
415
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
416
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
417
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
418
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
419
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
420
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928201257"]]
|
421
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
422
|
+
Migrating to AddIpAddressToOrders (20130929151744)
|
423
|
+
[1m[35m (0.1ms)[0m begin transaction
|
424
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "ip_address" varchar(255)[0m
|
425
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130929151744"]]
|
426
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
427
|
+
Migrating to ChangeOrderItemsToBeNonPolymorphic (20130929203421)
|
428
|
+
[1m[35m (0.1ms)[0m begin transaction
|
429
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
430
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
431
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
432
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
433
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
434
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
435
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
436
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
437
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
438
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
439
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
440
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
441
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130929203421"]]
|
442
|
+
[1m[35m (1.0ms)[0m commit transaction
|
443
|
+
Migrating to AddFeaturedBooleanToProducts (20130930181344)
|
444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
445
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shoppe_products" ADD "featured" boolean DEFAULT 'f'
|
446
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130930181344"]]
|
447
|
+
[1m[35m (0.9ms)[0m commit transaction
|
448
|
+
Migrating to RenameVatToTax (20131002154122)
|
449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
450
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "ashoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f')
|
451
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m
|
452
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_products"
|
453
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f') [0m
|
454
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products"
|
455
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_products"[0m
|
456
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
457
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
458
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
459
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
460
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
461
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
462
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
463
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
464
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders"
|
465
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
466
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
467
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
468
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
469
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
470
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_order_items"
|
471
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
472
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items"
|
473
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
474
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
475
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
476
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_order_items"
|
477
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
478
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items"
|
479
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
480
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
481
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
482
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
483
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
484
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
485
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
486
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002154122"]]
|
487
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
488
|
+
Migrating to CreateDeliveryServicePrices (20131002155246)
|
489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
490
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [0m
|
491
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
492
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
493
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_delivery_services"
|
494
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
495
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
496
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
497
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
498
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
499
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
500
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
501
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
502
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
503
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
504
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
505
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_delivery_services"
|
506
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
507
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
508
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
509
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
510
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
511
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
512
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
513
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
514
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
515
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002155246"]]
|
516
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
517
|
+
Migrating to DefaultShouldNotBeTrueForDeliveryServices (20131002162301)
|
518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
519
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
520
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_delivery_services"
|
521
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_delivery_services"[0m
|
522
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
523
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_delivery_services"[0m
|
524
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_delivery_services"
|
525
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131002162301"]]
|
526
|
+
[1m[35m (0.8ms)[0m commit transaction
|
527
|
+
Migrating to ChangeDefaultsForDeliveryValuesOnOrders (20131003163827)
|
528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
529
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
530
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
531
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
532
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
533
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
534
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
535
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
536
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
537
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
538
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
539
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
540
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
541
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
542
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
543
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders"
|
544
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
545
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
546
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
547
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131003163827"]]
|
548
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
549
|
+
Migrating to AddCountryToOrders (20131004185043)
|
550
|
+
[1m[35m (0.1ms)[0m begin transaction
|
551
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "country" varchar(255)[0m
|
552
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004185043"]]
|
553
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
554
|
+
Migrating to AddBoxFieldsToProducts (20131004193320)
|
555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
556
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_products" ADD "in_the_box" text[0m
|
557
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004193320"]]
|
558
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
559
|
+
Migrating to AddPaymentReferenceFields (20131006144849)
|
560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
561
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_reference" varchar(255)[0m
|
562
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)
|
563
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [0m
|
564
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
565
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
566
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255))
|
567
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
568
|
+
[1m[35m (0.2ms)[0m DROP TABLE "ashoppe_orders"
|
569
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131006144849"]]
|
570
|
+
[1m[35m (0.8ms)[0m commit transaction
|
571
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
572
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m
|
573
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime)
|
574
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
575
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255))
|
576
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
577
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255))
|
578
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
579
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text)
|
580
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
581
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
582
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
583
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
584
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m
|
585
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549')
|
586
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m
|
587
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647')
|
588
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m
|
589
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450')
|
590
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m
|
591
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134')
|
592
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m
|
593
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143')
|
594
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m
|
595
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819')
|
596
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m
|
597
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518')
|
598
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m
|
599
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041')
|
600
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m
|
601
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023')
|
602
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m
|
603
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744')
|
604
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m
|
605
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344')
|
606
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m
|
607
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246')
|
608
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m
|
609
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827')
|
610
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m
|
611
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320')
|
612
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
613
|
+
Migrating to CreateNiftyAttachmentsTable (20131007130530)
|
614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
615
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "nifty_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "digest" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m
|
616
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131007130530"]]
|
617
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
618
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
619
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
620
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
621
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
622
|
+
Migrating to CreateProductCategories (20130926094549)
|
623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
624
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
625
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094549"]]
|
626
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
627
|
+
Migrating to CreateProducts (20130926094551)
|
628
|
+
[1m[35m (0.1ms)[0m begin transaction
|
629
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "vat_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094551"]]
|
631
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
632
|
+
Migrating to CreateOrders (20130926094647)
|
633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
634
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
635
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094647"]]
|
636
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
637
|
+
Migrating to CreateOrderItems (20130926094654)
|
638
|
+
[1m[35m (0.1ms)[0m begin transaction
|
639
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "parent_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
640
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094654"]]
|
641
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
642
|
+
Migrating to CreateUsers (20130926151718)
|
643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
644
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
645
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926151718"]]
|
646
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
647
|
+
Migrating to AddCardTokenToOrders (20130927113134)
|
648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
649
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "stripe_customer_token" varchar(255)[0m
|
650
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "stripe_payment_token" varchar(255)
|
651
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927113134"]]
|
652
|
+
[1m[35m (0.8ms)[0m commit transaction
|
653
|
+
Migrating to CreateDeliveryServices (20130927130022)
|
654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
655
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0, "vat_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime)
|
656
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927130022"]]
|
657
|
+
[1m[35m (0.8ms)[0m commit transaction
|
658
|
+
Migrating to AddDeliveryServiceToOrder (20130927132143)
|
659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
660
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_service_id" integer
|
661
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_price" decimal(8,2) DEFAULT 0.0[0m
|
662
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_vat_rate" decimal(8,2) DEFAULT 0.0
|
663
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_vat_amount" decimal(8,2) DEFAULT 0.0[0m
|
664
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927132143"]]
|
665
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
666
|
+
Migrating to AddPaymentDateToOrders (20130927150025)
|
667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
668
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "paid_at" datetime[0m
|
669
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927150025"]]
|
670
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
671
|
+
Migrating to RenameStripePaymentToken (20130928111819)
|
672
|
+
[1m[35m (0.1ms)[0m begin transaction
|
673
|
+
[1m[36m (0.6ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime) [0m
|
674
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
675
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
676
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime)
|
677
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
678
|
+
[1m[35m (0.3ms)[0m DROP TABLE "ashoppe_orders"
|
679
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)[0m
|
680
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928111819"]]
|
681
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
682
|
+
Migrating to AddApporovedUsers (20130928131502)
|
683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
684
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "approved_by" integer[0m
|
685
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "shipped_by" integer
|
686
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "consignment_number" varchar(255)[0m
|
687
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928131502"]]
|
688
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
689
|
+
Migrating to AddCourierDetailsToShippingMethods (20130928134518)
|
690
|
+
[1m[35m (0.1ms)[0m begin transaction
|
691
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_delivery_services" ADD "courier" varchar(255)[0m
|
692
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "shoppe_delivery_services" ADD "tracking_url" varchar(255)
|
693
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928134518"]]
|
694
|
+
[1m[35m (0.8ms)[0m commit transaction
|
695
|
+
Migrating to AddRejectionToOrders (20130928173818)
|
696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
697
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "shoppe_orders" ADD "rejected_at" datetime
|
698
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "rejected_by" integer[0m
|
699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928173818"]]
|
700
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
701
|
+
Migrating to SortOutOrdersForGateways (20130928180041)
|
702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
703
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
704
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
705
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
706
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
707
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
708
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
709
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
710
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
711
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
712
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
713
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
714
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
715
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m
|
716
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
717
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
718
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer)
|
719
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
720
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
721
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928180041"]]
|
722
|
+
[1m[35m (0.9ms)[0m commit transaction
|
723
|
+
Migrating to AddPaymentGatewayToOrders (20130928193023)
|
724
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
725
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_gateway_module" varchar(255)
|
726
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928193023"]]
|
727
|
+
[1m[35m (0.8ms)[0m commit transaction
|
728
|
+
Migrating to UpdateDatabaseColumnsForAccepted (20130928201257)
|
729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
730
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
731
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
732
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
733
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
734
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
735
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
736
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255))
|
737
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
738
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
739
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m
|
740
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
741
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
742
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928201257"]]
|
743
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
744
|
+
Migrating to AddIpAddressToOrders (20130929151744)
|
745
|
+
[1m[35m (0.1ms)[0m begin transaction
|
746
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "ip_address" varchar(255)[0m
|
747
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130929151744"]]
|
748
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
749
|
+
Migrating to ChangeOrderItemsToBeNonPolymorphic (20130929203421)
|
750
|
+
[1m[35m (0.1ms)[0m begin transaction
|
751
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
752
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
753
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
754
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
755
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
756
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
757
|
+
[1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
758
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items"
|
759
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_order_items"[0m
|
760
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
761
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m
|
762
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items"
|
763
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130929203421"]]
|
764
|
+
[1m[35m (1.0ms)[0m commit transaction
|
765
|
+
Migrating to AddFeaturedBooleanToProducts (20130930181344)
|
766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
767
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "shoppe_products" ADD "featured" boolean DEFAULT 'f'
|
768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130930181344"]]
|
769
|
+
[1m[35m (0.9ms)[0m commit transaction
|
770
|
+
Migrating to RenameVatToTax (20131002154122)
|
771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
772
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f')
|
773
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m
|
774
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_products"
|
775
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f') [0m
|
776
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products"
|
777
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_products"[0m
|
778
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
779
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
780
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
781
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
782
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
783
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
784
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
785
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
786
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_orders"
|
787
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
788
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
789
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
790
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
791
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
792
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_order_items"
|
793
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
794
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items"
|
795
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
796
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime)
|
797
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m
|
798
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_order_items"
|
799
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m
|
800
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_order_items"
|
801
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m
|
802
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
803
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
804
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
805
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
806
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
807
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
808
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002154122"]]
|
809
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
810
|
+
Migrating to CreateDeliveryServicePrices (20131002155246)
|
811
|
+
[1m[35m (0.1ms)[0m begin transaction
|
812
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [0m
|
813
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
814
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
815
|
+
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_delivery_services"
|
816
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
817
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
818
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
819
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
820
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
821
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
822
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
823
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
824
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
825
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
826
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
827
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
828
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
829
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
830
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
831
|
+
[1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
832
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m
|
833
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services"
|
834
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
835
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services"
|
836
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m
|
837
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002155246"]]
|
838
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
839
|
+
Migrating to DefaultShouldNotBeTrueForDeliveryServices (20131002162301)
|
840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
841
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m
|
842
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_delivery_services"
|
843
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_delivery_services"[0m
|
844
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255))
|
845
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_delivery_services"[0m
|
846
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_delivery_services"
|
847
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131002162301"]]
|
848
|
+
[1m[35m (0.7ms)[0m commit transaction
|
849
|
+
Migrating to ChangeDefaultsForDeliveryValuesOnOrders (20131003163827)
|
850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
851
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
852
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
853
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
854
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
855
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
856
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
857
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
858
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
859
|
+
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders"
|
860
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
861
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
862
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
863
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255))
|
864
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m
|
865
|
+
[1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders"
|
866
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m
|
867
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders"
|
868
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m
|
869
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131003163827"]]
|
870
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
871
|
+
Migrating to AddCountryToOrders (20131004185043)
|
872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
873
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "country" varchar(255)[0m
|
874
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004185043"]]
|
875
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
876
|
+
Migrating to AddBoxFieldsToProducts (20131004193320)
|
877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
878
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_products" ADD "in_the_box" text[0m
|
879
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004193320"]]
|
880
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
881
|
+
Migrating to AddPaymentReferenceFields (20131006144849)
|
882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
883
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_reference" varchar(255)[0m
|
884
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)
|
885
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [0m
|
886
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders"
|
887
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m
|
888
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255))
|
889
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m
|
890
|
+
[1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders"
|
891
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131006144849"]]
|
892
|
+
[1m[35m (0.7ms)[0m commit transaction
|
893
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|