shoppe 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/Rakefile +21 -1
- data/app/assets/javascripts/shoppe/application.coffee +5 -0
- data/app/assets/stylesheets/shoppe/application.scss +16 -3
- data/app/assets/stylesheets/shoppe/elements.scss +8 -0
- data/app/assets/stylesheets/shoppe/printable.scss +67 -0
- data/app/controllers/shoppe/application_controller.rb +1 -10
- data/app/controllers/shoppe/orders_controller.rb +4 -0
- data/app/controllers/shoppe/sessions_controller.rb +1 -0
- data/app/controllers/shoppe/settings_controller.rb +12 -0
- data/app/controllers/shoppe/users_controller.rb +2 -2
- data/app/controllers/shoppe/variants_controller.rb +1 -1
- data/app/helpers/shoppe/application_helper.rb +63 -8
- data/app/mailers/shoppe/order_mailer.rb +5 -7
- data/app/mailers/shoppe/user_mailer.rb +2 -2
- data/app/models/shoppe/country.rb +17 -1
- data/app/models/shoppe/delivery_service.rb +15 -0
- data/app/models/shoppe/delivery_service_price.rb +17 -0
- data/app/models/shoppe/order.rb +82 -9
- data/app/models/shoppe/order_item.rb +18 -0
- data/app/models/shoppe/product.rb +26 -1
- data/app/models/shoppe/product/product_attributes.rb +1 -1
- data/app/models/shoppe/product/variants.rb +3 -3
- data/app/models/shoppe/product_attribute.rb +15 -0
- data/app/models/shoppe/product_category.rb +12 -0
- data/app/models/shoppe/setting.rb +59 -0
- data/app/models/shoppe/stock_level_adjustment.rb +15 -0
- data/app/models/shoppe/tax_rate.rb +13 -1
- data/app/models/shoppe/user.rb +13 -0
- data/app/views/layouts/shoppe/application.html.haml +2 -1
- data/app/views/layouts/shoppe/printable.html.haml +11 -0
- data/app/views/shoppe/delivery_service_prices/index.html.haml +1 -1
- data/app/views/shoppe/order_mailer/accepted.text.erb +2 -2
- data/app/views/shoppe/order_mailer/received.text.erb +2 -2
- data/app/views/shoppe/order_mailer/rejected.text.erb +2 -2
- data/app/views/shoppe/order_mailer/shipped.text.erb +2 -2
- data/app/views/shoppe/orders/despatch_note.html.haml +45 -0
- data/app/views/shoppe/orders/index.html.haml +2 -2
- data/app/views/shoppe/orders/show.html.haml +21 -11
- data/app/views/shoppe/settings/edit.html.haml +19 -0
- data/app/views/shoppe/user_mailer/new_password.text.erb +1 -1
- data/app/views/shoppe/variants/form.html.haml +4 -0
- data/config/locales/en.yml +34 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20130926094549_create_shoppe_initial_schema.rb +92 -33
- data/db/seeds.rb +1 -1
- data/lib/shoppe.rb +13 -35
- data/lib/shoppe/engine.rb +6 -6
- data/lib/shoppe/settings.rb +28 -0
- data/lib/shoppe/settings_loader.rb +16 -0
- data/lib/shoppe/setup_generator.rb +0 -4
- data/lib/shoppe/version.rb +1 -1
- data/test/{dummy → app}/README.rdoc +0 -0
- data/test/{dummy → app}/Rakefile +0 -0
- data/test/{dummy → app}/app/assets/javascripts/application.js +0 -0
- data/test/{dummy → app}/app/assets/stylesheets/application.css +0 -0
- data/test/{dummy → app}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → app}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → app}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → app}/bin/bundle +0 -0
- data/test/{dummy → app}/bin/rails +0 -0
- data/test/{dummy → app}/bin/rake +0 -0
- data/test/{dummy → app}/config.ru +0 -0
- data/test/{dummy → app}/config/application.rb +0 -0
- data/test/{dummy → app}/config/boot.rb +0 -0
- data/test/app/config/database.example.yml +30 -0
- data/test/{dummy → app}/config/database.yml +9 -5
- data/test/{dummy → app}/config/environment.rb +0 -0
- data/test/{dummy → app}/config/environments/development.rb +0 -0
- data/test/{dummy → app}/config/environments/production.rb +0 -0
- data/test/{dummy → app}/config/environments/test.rb +0 -0
- data/test/{dummy → app}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → app}/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/{dummy → app}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → app}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → app}/config/initializers/secret_token.rb +0 -0
- data/test/app/config/initializers/session_store.rb +3 -0
- data/test/{dummy → app}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → app}/config/locales/en.yml +0 -0
- data/test/{dummy → app}/config/routes.rb +0 -0
- data/{config/shoppe.example.yml → test/app/config/shoppe.yml} +0 -0
- data/test/{dummy → app}/db/development.sqlite3 +0 -0
- data/test/{dummy → app}/db/migrate/20131017165217_create_nifty_attachments_table.rb +0 -0
- data/test/{dummy → app}/db/migrate/20131017165222_create_nifty_key_value_store_table.rb +0 -0
- data/test/{dummy → app}/db/schema.rb +31 -16
- data/test/{dummy → app}/db/test.sqlite3 +0 -0
- data/test/app/log/development.log +8093 -0
- data/test/{dummy → app}/log/test.log +0 -0
- data/test/{dummy → app}/public/404.html +0 -0
- data/test/{dummy → app}/public/422.html +0 -0
- data/test/{dummy → app}/public/500.html +0 -0
- data/test/{dummy → app}/public/favicon.ico +0 -0
- data/test/app/tmp/cache/assets/development/sass/7c98994848dbb534749f971b176724aa382339bb/dialog.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/application.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/dialog.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/elements.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/reset.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/sub.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/variables.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/06d540cec125e08e63a898c35e8235d6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/0a6bca3e510625f255083bd154cc470b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/0d8942b2279b6bc7c68b3db3e2e4c342 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/122a65fdcbb923c3c1cd95549ef52f43 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/140840b7aefa4bf5beda2c32e20374a6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/160ddfa6141944c4a03757fe91643137 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/1bb0d399b6b81fc3b47ff794b066873f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/1e1679158bd397a720be46fa3a5876a3 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2a75ba35f8e751887ba89a914363fefd +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2cc6ef740b5691af5ee246c0dbc68f14 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2f80004fb2e2ce07283a83ac15cf920a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/322295abdd8625fcce4da08f9565cc63 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/421b79f445cd87f3532a5c445877cbec +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4528fe4a109cad1ff031659cd9eeae17 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/45a9c7dfe9986570daa4c972277375ec +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/48b2cd7153bbc442eaa84c3e24e963e0 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4c3fef5a3e293ed6b6df3d869f54e1d1 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4c8cb5cfd87990ebddbaa5b5fd594be5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4cefa37a52d669d3ca7e6aa1e1aaf435 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ea4f5c13aaeda9a7d39684ab72fa710 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ecd1cb66cb36718daadcfba0aa42c1e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ed3cbd180c275b98627eaeea4c9c838 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/519aa2b3c3ab8fd8f065c56507111878 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/51d409a48872319ac6a731aa880e6368 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/55bae604bcb5ccf7d9e0ed0fd61953b6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5805d2c402f412642d86ec03a7ec4a3d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5cd772b44cdeae4d3b37b62193e946eb +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5f32b259cbcc52156d2fe21c185d9390 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/656ea3403f27a33b86d5bf9e8a0c0e46 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/679705affe2ad274da1ad48cb5137c21 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/69a687de4cbb95365bf8aa2037d63726 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/69d5224a79e874431294e8adf04e7d65 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6bc5a76ff13bc4daebb7e164a4b64196 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6c1a5456c2e5d87285dd1910762fe01e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6d52ff2c9298014f2d648eb9e04a61a6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7938636d16e11b754d4dd046b89863c4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7ce7981501e05438faa017eb2e197379 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7e232a7b4ac10fe1350e2b9b05ab0b02 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/81d7800826e89041f377af8570b8324f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/81f524fed55fe63e95c1aeccb5d83571 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/85984636ee801f63af86b35d7697d4c5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/88de2cf8ce5990c5fa59f7c9f4599a65 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8932a78ffe18ad2e3bb7ceb90ac4b933 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8d6fd863923e78438318b02bf83be1c4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8f43db1e57a90ffbae3be00a895d5a09 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/91e11940ab63a407af03d21720ac2951 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/938abfdc262a8ab42e768545640bfb2a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9e760b9565b110e433b7e42f827cb5f8 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9e8fbfd56e8ef705ba94bb03b5b3696e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9ebbf73fb48cdf8bc07a8bfdd6d14328 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9f240d481b0818a6da0b1a1aaaac2b54 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a2b956b30a80f996b5aeb1b2f226775c +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a5b5ed9849e8019160b73aa554132b37 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a692ba7ed6cff183bb840c2622233c87 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a951f4ceb83ae691f002b4f6183bc1ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/accc4dc17ef18d0b510917a005340da5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b2db166e9974feb35358e7fcce87cb39 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b519a4f6c5b5a0d9236bdca14e0eb00d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b5cbeb3def40b118469fff2d80c1b596 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b6f65271a0e77b349529ce9148dd2782 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b9ad7ea18b7e55c3626a15d1dae142ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bc384ea2fdcc667aa4282209caba921f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bcf06bf434bb3d3a5769036d6e24b301 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bd83357635155d3457747e92e47da0ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c39634555e4eba3595350eeea648ddf4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c3ef336ca8f7e64969d8bfdcf837ad10 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c55037904a95162828e5d0b087677878 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c733f1a2fe9d05a3a634ff64a394f64b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c83a337688a52890ba93372fea6ec932 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/ca92d0dbc43c066af9b31f2bc26d038d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/cae2fc80bfbc81ec7b6c11a72be18c98 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/cd665363677ffcef0dde972284e8d942 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/d5154a1eda9cfbfe54e091d6ead1ac5f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/daa7fa7a610bc5951cc3c4403f290eb6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/dabc0e94bc1e37007351ac756dd2dd6a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/edf3c55a27678996371bffe56298925b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/f0f04c3b2b0091fa3ca4a1edacc23a1c +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/f8610737fbfdcb85db95ae7c6a70514e +0 -0
- data/test/app/tmp/restart.txt +0 -0
- data/test/shoppe_test.rb +0 -5
- data/test/test_helper.rb +1 -1
- metadata +298 -98
- data/app/helpers/shoppe/shoppe_helper.rb +0 -30
- data/db/migrate/20131012123829_create_shoppe_product_attributes.rb +0 -11
- data/db/migrate/20131012163301_add_public_boolean_to_product_attributes.rb +0 -5
- data/db/migrate/20131013123937_add_cost_prices_to_various_objects.rb +0 -8
- data/db/migrate/20131013131658_add_stock_control_boolean_to_products.rb +0 -5
- data/db/migrate/20131017144430_create_shoppe_stock_level_adjustments.rb +0 -18
- data/db/migrate/20131017180920_create_shoppe_countries.rb +0 -16
- data/db/migrate/20131017183211_create_shoppe_tax_rates.rb +0 -26
- data/db/migrate/20131020204719_add_countries_to_tax_rates_and_delivery_prices.rb +0 -6
- data/db/migrate/20131021135208_add_notes_to_orders.rb +0 -5
- data/db/migrate/20131022090919_refactor_order_items_to_allow_any_product.rb +0 -6
- data/db/migrate/20131022092904_rename_product_title_to_name.rb +0 -5
- data/db/migrate/20131022093538_stock_level_adjustments_should_be_polymorphic.rb +0 -6
- data/db/migrate/20131022135331_add_parent_id_to_products.rb +0 -5
- data/db/migrate/20131022145653_cost_price_should_be_default_to_zero.rb +0 -9
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/shoppe.yml +0 -7
- data/test/dummy/log/development.log +0 -1162
@@ -1,30 +0,0 @@
|
|
1
|
-
module Shoppe::ShoppeHelper
|
2
|
-
|
3
|
-
def status_tag(status)
|
4
|
-
content_tag :span, status, :class => "status-tag #{status}"
|
5
|
-
end
|
6
|
-
|
7
|
-
def attachment_preview(attachment, options = {})
|
8
|
-
if attachment
|
9
|
-
String.new.tap do |s|
|
10
|
-
if attachment.image?
|
11
|
-
style = "style='background-image:url(#{attachment.path})'"
|
12
|
-
else
|
13
|
-
style = ''
|
14
|
-
end
|
15
|
-
s << "<div class='attachmentPreview #{attachment.image? ? 'image' : 'doc'}'>"
|
16
|
-
s << "<div class='imgContainer'><div class='img' #{style}></div></div>"
|
17
|
-
s << "<div class='desc'>"
|
18
|
-
s << "<span class='filename'><a href='#{attachment_path(attachment)}'>#{attachment.file_name}</a></span>"
|
19
|
-
s << "<span class='delete'>"
|
20
|
-
s << link_to("Delete this file?", attachment_path(attachment), :method => :delete, :data => {:confirm => "Are you sure you wish to remove this attachment?"})
|
21
|
-
s << "</span>"
|
22
|
-
s << "</div>"
|
23
|
-
s << "</div>"
|
24
|
-
end.html_safe
|
25
|
-
elsif !options[:hide_if_blank]
|
26
|
-
"<div class='attachmentPreview'><div class='imgContainer'><div class='img none'></div></div><div class='desc none'>No attachment</div></div>".html_safe
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
class CreateShoppeProductAttributes < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :shoppe_product_attributes do |t|
|
4
|
-
t.integer :product_id
|
5
|
-
t.string :key, :value
|
6
|
-
t.integer :position, :default => 1
|
7
|
-
t.boolean :searchable, :default => true
|
8
|
-
t.timestamps
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
class AddCostPricesToVariousObjects < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
add_column :shoppe_products, :cost_price, :decimal, :precision => 8, :scale => 2, :after => :price
|
4
|
-
add_column :shoppe_delivery_service_prices, :cost_price, :decimal, :precision => 8, :scale => 2, :after => :price
|
5
|
-
add_column :shoppe_order_items, :unit_cost_price, :decimal, :precision => 8, :scale => 2, :after => :unit_price
|
6
|
-
add_column :shoppe_orders, :delivery_cost_price, :decimal, :precision => 8, :scale => 2, :after => :delivery_price
|
7
|
-
end
|
8
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
class CreateShoppeStockLevelAdjustments < ActiveRecord::Migration
|
2
|
-
def up
|
3
|
-
create_table :shoppe_stock_level_adjustments do |t|
|
4
|
-
t.integer :product_id
|
5
|
-
t.string :description
|
6
|
-
t.integer :adjustment, :default => 0
|
7
|
-
t.string :parent_type
|
8
|
-
t.integer :parent_id
|
9
|
-
t.timestamps
|
10
|
-
end
|
11
|
-
remove_column :shoppe_products, :stock
|
12
|
-
end
|
13
|
-
|
14
|
-
def down
|
15
|
-
drop_table :shoppe_stock_level_adjustments
|
16
|
-
add_column :shoppe_products, :stock, :integer, :default => 0, :before => :weight
|
17
|
-
end
|
18
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
class CreateShoppeCountries < ActiveRecord::Migration
|
2
|
-
def up
|
3
|
-
create_table :shoppe_countries do |t|
|
4
|
-
t.string :name, :code2, :code3, :continent, :tld, :currency
|
5
|
-
t.boolean :eu_member, :default => false
|
6
|
-
end
|
7
|
-
add_column :shoppe_orders, :country_id, :integer, :after => :postcode
|
8
|
-
remove_column :shoppe_orders, :country
|
9
|
-
end
|
10
|
-
|
11
|
-
def down
|
12
|
-
add_column :shoppe_orders, :country, :string, :after => :ip_address
|
13
|
-
remove_column :shoppe_orders, :country_id
|
14
|
-
drop_table :shoppe_countries
|
15
|
-
end
|
16
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
class CreateShoppeTaxRates < ActiveRecord::Migration
|
2
|
-
def up
|
3
|
-
create_table :shoppe_tax_rates do |t|
|
4
|
-
t.string :name
|
5
|
-
t.decimal :rate, :precision => 8, :scale => 2
|
6
|
-
t.timestamps
|
7
|
-
end
|
8
|
-
|
9
|
-
add_column :shoppe_products, :tax_rate_id, :integer, :after => :tax_rate
|
10
|
-
remove_column :shoppe_products, :tax_rate
|
11
|
-
|
12
|
-
add_column :shoppe_delivery_service_prices, :tax_rate_id, :integer, :after => :tax_rate
|
13
|
-
remove_column :shoppe_delivery_service_prices, :tax_rate
|
14
|
-
|
15
|
-
end
|
16
|
-
|
17
|
-
def down
|
18
|
-
add_column :shoppe_delivery_service_prices, :tax_rate, :decimal, :precision => 8, :scale => 2, :after => :price
|
19
|
-
remove_column :shoppe_delivery_service_prices, :tax_rate_id
|
20
|
-
|
21
|
-
add_column :shoppe_products, :tax_rate, :decimal, :precision => 8, :scale => 2, :after => :price
|
22
|
-
remove_column :shoppe_products, :tax_rate_id
|
23
|
-
|
24
|
-
drop_table :shoppe_tax_rates
|
25
|
-
end
|
26
|
-
end
|
@@ -1,1162 +0,0 @@
|
|
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
|
894
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
895
|
-
Migrating to CreateShoppeProductAttributes (20131012123829)
|
896
|
-
[1m[35m (0.1ms)[0m begin transaction
|
897
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_product_attributes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "key" varchar(255), "value" varchar(255), "position" integer DEFAULT 1, "searchable" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) [0m
|
898
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131012123829"]]
|
899
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
900
|
-
Migrating to AddPublicBooleanToProductAttributes (20131012163301)
|
901
|
-
[1m[35m (0.1ms)[0m begin transaction
|
902
|
-
[1m[36m (0.7ms)[0m [1mALTER TABLE "shoppe_product_attributes" ADD "public" boolean DEFAULT 't'[0m
|
903
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131012163301"]]
|
904
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
905
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
906
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
907
|
-
Migrating to AddCostPricesToVariousObjects (20131013123937)
|
908
|
-
[1m[35m (0.1ms)[0m begin transaction
|
909
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_products" ADD "cost_price" decimal(8,2)[0m
|
910
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_delivery_service_prices" ADD "cost_price" decimal(8,2)
|
911
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_order_items" ADD "unit_cost_price" decimal(8,2)[0m
|
912
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_cost_price" decimal(8,2)
|
913
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131013123937"]]
|
914
|
-
[1m[35m (1.1ms)[0m commit transaction
|
915
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
916
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
917
|
-
Migrating to AddStockControlBooleanToProducts (20131013131658)
|
918
|
-
[1m[35m (0.0ms)[0m begin transaction
|
919
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_products" ADD "stock_control" boolean DEFAULT 't'[0m
|
920
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131013131658"]]
|
921
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
922
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
923
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
924
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
925
|
-
[1m[35m (0.1ms)[0m begin transaction
|
926
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "shoppe_stock_level_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "description" varchar(255), "adjustment" integer DEFAULT 0, "parent_type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
927
|
-
[1m[35mSQL (1.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131017144430"]]
|
928
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
929
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
930
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
931
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
932
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
933
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
934
|
-
[1m[35m (0.5ms)[0m DROP TABLE "shoppe_stock_level_adjustments"
|
935
|
-
[1m[36mSQL (2.0ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131017144430'[0m
|
936
|
-
[1m[35m (0.7ms)[0m commit transaction
|
937
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
938
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
939
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
940
|
-
[1m[35m (0.1ms)[0m begin transaction
|
941
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "shoppe_stock_level_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "description" varchar(255), "adjustment" integer DEFAULT 0, "parent_type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
942
|
-
[1m[35m (1.6ms)[0m rollback transaction
|
943
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
944
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
945
|
-
[1m[35m (0.1ms)[0m begin transaction
|
946
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't') [0m
|
947
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "shoppe_products"
|
948
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_products"[0m
|
949
|
-
[1m[35m (0.2ms)[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, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't')
|
950
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_products"[0m
|
951
|
-
[1m[35m (0.2ms)[0m DROP TABLE "ashoppe_products"
|
952
|
-
[1m[36mSQL (22.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131017144430"]]
|
953
|
-
[1m[35m (2.5ms)[0m commit transaction
|
954
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
955
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
956
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
957
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
958
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
959
|
-
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_stock_level_adjustments"
|
960
|
-
SQLite3::SQLException: no such table: shoppe_stock_level_adjustments: DROP TABLE "shoppe_stock_level_adjustments"
|
961
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
962
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
963
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
964
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
965
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
966
|
-
[1m[35m (0.2ms)[0m DROP TABLE "shoppe_stock_level_adjustments"
|
967
|
-
SQLite3::SQLException: no such table: shoppe_stock_level_adjustments: DROP TABLE "shoppe_stock_level_adjustments"
|
968
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
969
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
970
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
971
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
972
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
973
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "shoppe_products" ADD "stock" integer DEFAULT 0
|
974
|
-
[1m[36mSQL (1.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131017144430'[0m
|
975
|
-
[1m[35m (2.5ms)[0m commit transaction
|
976
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
977
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
978
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
979
|
-
[1m[35m (0.1ms)[0m begin transaction
|
980
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "shoppe_stock_level_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "description" varchar(255), "adjustment" integer DEFAULT 0, "parent_type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
981
|
-
[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, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't', "stock" integer DEFAULT 0)
|
982
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m
|
983
|
-
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_products"
|
984
|
-
[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, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't') [0m
|
985
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products"
|
986
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_products"[0m
|
987
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131017144430"]]
|
988
|
-
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
989
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
990
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
991
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
992
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
993
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
994
|
-
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_stock_level_adjustments"
|
995
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_products" ADD "stock" integer DEFAULT 0[0m
|
996
|
-
[1m[35mSQL (1.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131017144430'
|
997
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
998
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
999
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1000
|
-
Migrating to CreateShoppeStockLevelAdjustments (20131017144430)
|
1001
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1002
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_stock_level_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "description" varchar(255), "adjustment" integer DEFAULT 0, "parent_type" varchar(255), "parent_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
1003
|
-
[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, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't', "stock" integer DEFAULT 0)
|
1004
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m
|
1005
|
-
[1m[35m (0.3ms)[0m DROP TABLE "shoppe_products"
|
1006
|
-
[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, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text, "cost_price" decimal(8,2), "stock_control" boolean DEFAULT 't') [0m
|
1007
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products"
|
1008
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "ashoppe_products"[0m
|
1009
|
-
[1m[35mSQL (2.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131017144430"]]
|
1010
|
-
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
1011
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1012
|
-
[1m[36m (13.8ms)[0m [1mCREATE TABLE `shoppe_delivery_service_prices` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `delivery_service_id` int(11), `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, `cost_price` decimal(8,2)) ENGINE=InnoDB[0m
|
1013
|
-
[1m[35m (16.5ms)[0m CREATE TABLE `shoppe_delivery_services` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `code` varchar(255), `default` tinyint(1) DEFAULT 0, `active` tinyint(1) DEFAULT 1, `created_at` datetime, `updated_at` datetime, `courier` varchar(255), `tracking_url` varchar(255)) ENGINE=InnoDB
|
1014
|
-
[1m[36m (21.9ms)[0m [1mCREATE TABLE `shoppe_order_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `order_id` int(11), `product_id` int(11), `quantity` int(11) 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, `unit_cost_price` decimal(8,2)) ENGINE=InnoDB[0m
|
1015
|
-
[1m[35m (12.0ms)[0m CREATE TABLE `shoppe_orders` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `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` int(11), `delivery_price` decimal(8,2), `delivery_tax_rate` decimal(8,2), `delivery_tax_amount` decimal(8,2), `paid_at` datetime, `accepted_by` int(11), `shipped_by` int(11), `consignment_number` varchar(255), `rejected_at` datetime, `rejected_by` int(11), `ip_address` varchar(255), `country` varchar(255), `payment_reference` varchar(255), `payment_method` varchar(255), `delivery_cost_price` decimal(8,2)) ENGINE=InnoDB
|
1016
|
-
[1m[36m (10.7ms)[0m [1mCREATE TABLE `shoppe_product_attributes` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11), `key` varchar(255), `value` varchar(255), `position` int(11) DEFAULT 1, `searchable` tinyint(1) DEFAULT 1, `created_at` datetime, `updated_at` datetime, `public` tinyint(1) DEFAULT 1) ENGINE=InnoDB[0m
|
1017
|
-
[1m[35m (12.4ms)[0m CREATE TABLE `shoppe_product_categories` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `permalink` varchar(255), `description` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
|
1018
|
-
[1m[36m (14.5ms)[0m [1mCREATE TABLE `shoppe_products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_category_id` int(11), `title` varchar(255), `sku` varchar(255), `permalink` varchar(255), `description` text, `short_description` text, `active` tinyint(1) DEFAULT 1, `weight` decimal(8,3) DEFAULT 0.0, `price` decimal(8,2) DEFAULT 0.0, `tax_rate` decimal(8,2) DEFAULT 0.0, `created_at` datetime, `updated_at` datetime, `featured` tinyint(1) DEFAULT 0, `in_the_box` text, `cost_price` decimal(8,2), `stock_control` tinyint(1) DEFAULT 1) ENGINE=InnoDB[0m
|
1019
|
-
[1m[35m (12.1ms)[0m CREATE TABLE `shoppe_stock_level_adjustments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11), `description` varchar(255), `adjustment` int(11) DEFAULT 0, `parent_type` varchar(255), `parent_id` int(11), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
|
1020
|
-
[1m[36m (11.5ms)[0m [1mCREATE TABLE `shoppe_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `email_address` varchar(255), `password_digest` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m
|
1021
|
-
[1m[35m (13.7ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
1022
|
-
[1m[36m (25.9ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
1023
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
1024
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131017144430')[0m
|
1025
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130926094549')
|
1026
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131012123829')[0m
|
1027
|
-
[1m[35m (0.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131012163301')
|
1028
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131013123937')[0m
|
1029
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131013131658')
|
1030
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1031
|
-
Migrating to CreateNiftyAttachmentsTable (20131017165217)
|
1032
|
-
[1m[35m (17.0ms)[0m CREATE TABLE `nifty_attachments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_id` int(11), `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) ENGINE=InnoDB
|
1033
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1034
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131017165217')
|
1035
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1036
|
-
Migrating to CreateNiftyKeyValueStoreTable (20131017165222)
|
1037
|
-
[1m[35m (10.2ms)[0m CREATE TABLE `nifty_key_value_store` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_id` int(11), `parent_type` varchar(255), `group` varchar(255), `name` varchar(255), `value` varchar(255)) ENGINE=InnoDB
|
1038
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1039
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131017165222')
|
1040
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1041
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1042
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1043
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1044
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1045
|
-
Migrating to CreateShoppeCountries (20131017180920)
|
1046
|
-
[1m[35m (18.7ms)[0m CREATE TABLE `shoppe_countries` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `code2` varchar(255), `code3` varchar(255), `continent` varchar(255), `tld` varchar(255), `currency` varchar(255), `eu_member` tinyint(1) DEFAULT 0) ENGINE=InnoDB
|
1047
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1048
|
-
[1m[35mSQL (1.7ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131017180920')
|
1049
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1050
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1051
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1052
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1053
|
-
Migrating to CreateShoppeCountries (20131017180920)
|
1054
|
-
[1m[36m (0.8ms)[0m [1mDROP TABLE `shoppe_countries`[0m
|
1055
|
-
[1m[35mSQL (1.6ms)[0m DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20131017180920'
|
1056
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1057
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1058
|
-
Migrating to CreateShoppeCountries (20131017180920)
|
1059
|
-
[1m[35m (16.5ms)[0m CREATE TABLE `shoppe_countries` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `code2` varchar(255), `code3` varchar(255), `continent` varchar(255), `tld` varchar(255), `currency` varchar(255), `eu_member` tinyint(1) DEFAULT 0) ENGINE=InnoDB
|
1060
|
-
[1m[36m (24.1ms)[0m [1mALTER TABLE `shoppe_orders` ADD `country_id` int(11) AFTER `postcode`[0m
|
1061
|
-
[1m[35m (20.5ms)[0m ALTER TABLE `shoppe_orders` DROP `country`
|
1062
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1063
|
-
[1m[35mSQL (1.9ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131017180920')
|
1064
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1065
|
-
Migrating to CreateShoppeTaxRates (20131017183211)
|
1066
|
-
[1m[35m (8.9ms)[0m CREATE TABLE `shoppe_tax_rates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `rate` decimal(8,2), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
|
1067
|
-
[1m[36m (24.2ms)[0m [1mALTER TABLE `shoppe_products` ADD `tax_rate_id` int(11) AFTER `tax_rate`[0m
|
1068
|
-
[1m[35m (17.3ms)[0m ALTER TABLE `shoppe_products` DROP `tax_rate`
|
1069
|
-
[1m[36m (14.6ms)[0m [1mALTER TABLE `shoppe_delivery_service_prices` ADD `tax_rate_id` int(11) AFTER `tax_rate`[0m
|
1070
|
-
[1m[35m (16.9ms)[0m ALTER TABLE `shoppe_delivery_service_prices` DROP `tax_rate`
|
1071
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1072
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131017183211')
|
1073
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1074
|
-
Migrating to AddCountriesToTaxRatesAndDeliveryPrices (20131020204719)
|
1075
|
-
[1m[35m (19.4ms)[0m ALTER TABLE `shoppe_delivery_service_prices` ADD `country_ids` text
|
1076
|
-
[1m[36m (19.5ms)[0m [1mALTER TABLE `shoppe_tax_rates` ADD `country_ids` text[0m
|
1077
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1078
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20131020204719')[0m
|
1079
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1080
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1081
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1082
|
-
Migrating to AddNotesToOrders (20131021135208)
|
1083
|
-
[1m[35m (25.9ms)[0m ALTER TABLE `shoppe_orders` ADD `notes` text
|
1084
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1085
|
-
[1m[35mSQL (1.7ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131021135208')
|
1086
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1087
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1088
|
-
[1m[36mActiveRecord::SchemaMigration Load (11.5ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1089
|
-
Migrating to RefactorOrderItemsToAllowAnyProduct (20131022090919)
|
1090
|
-
[1m[35m (69.6ms)[0m ALTER TABLE `shoppe_order_items` CHANGE `product_id` `ordered_item_id` int(11) DEFAULT NULL
|
1091
|
-
[1m[36m (28.9ms)[0m [1mALTER TABLE `shoppe_order_items` ADD `ordered_item_type` varchar(255)[0m
|
1092
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1093
|
-
[1m[36mSQL (6.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20131022090919')[0m
|
1094
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1095
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1096
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1097
|
-
Migrating to RenameProductTitleToName (20131022092904)
|
1098
|
-
[1m[35m (25.0ms)[0m ALTER TABLE `shoppe_products` CHANGE `title` `name` varchar(255) DEFAULT NULL
|
1099
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1100
|
-
[1m[35mSQL (1.6ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131022092904')
|
1101
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1102
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1103
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1104
|
-
Migrating to StockLevelAdjustmentsShouldBePolymorphic (20131022093538)
|
1105
|
-
[1m[35m (25.5ms)[0m ALTER TABLE `shoppe_stock_level_adjustments` CHANGE `product_id` `item_id` int(11) DEFAULT NULL
|
1106
|
-
[1m[36m (20.0ms)[0m [1mALTER TABLE `shoppe_stock_level_adjustments` ADD `item_type` varchar(255)[0m
|
1107
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1108
|
-
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20131022093538')[0m
|
1109
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1110
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1111
|
-
[1m[36m (22.1ms)[0m [1mDROP DATABASE IF EXISTS `shoppe_dummy`[0m
|
1112
|
-
[1m[35m (21.4ms)[0m DROP DATABASE IF EXISTS `shoppe_dummy_test`
|
1113
|
-
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `shoppe_dummy` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
1114
|
-
[1m[35m (0.3ms)[0m CREATE DATABASE `shoppe_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
1115
|
-
[1m[36m (21.5ms)[0m [1mCREATE TABLE `nifty_attachments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_id` int(11), `parent_type` varchar(255), `token` varchar(255), `digest` varchar(255), `role` varchar(255), `file_name` varchar(255), `file_type` varchar(255), `data` blob(16777215), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m
|
1116
|
-
[1m[35m (26.6ms)[0m CREATE TABLE `nifty_key_value_store` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `parent_id` int(11), `parent_type` varchar(255), `group` varchar(255), `name` varchar(255), `value` varchar(255)) ENGINE=InnoDB
|
1117
|
-
[1m[36m (13.8ms)[0m [1mCREATE TABLE `shoppe_countries` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `code2` varchar(255), `code3` varchar(255), `continent` varchar(255), `tld` varchar(255), `currency` varchar(255), `eu_member` tinyint(1) DEFAULT 0) ENGINE=InnoDB[0m
|
1118
|
-
[1m[35m (21.7ms)[0m CREATE TABLE `shoppe_delivery_service_prices` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `delivery_service_id` int(11), `code` varchar(255), `price` decimal(8,2), `tax_rate_id` int(11), `min_weight` decimal(8,2), `max_weight` decimal(8,2), `created_at` datetime, `updated_at` datetime, `cost_price` decimal(8,2), `country_ids` text) ENGINE=InnoDB
|
1119
|
-
[1m[36m (15.8ms)[0m [1mCREATE TABLE `shoppe_delivery_services` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `code` varchar(255), `default` tinyint(1) DEFAULT 0, `active` tinyint(1) DEFAULT 1, `created_at` datetime, `updated_at` datetime, `courier` varchar(255), `tracking_url` varchar(255)) ENGINE=InnoDB[0m
|
1120
|
-
[1m[35m (20.6ms)[0m CREATE TABLE `shoppe_order_items` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `order_id` int(11), `ordered_item_id` int(11), `quantity` int(11) 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, `unit_cost_price` decimal(8,2), `ordered_item_type` varchar(255)) ENGINE=InnoDB
|
1121
|
-
[1m[36m (14.4ms)[0m [1mCREATE TABLE `shoppe_orders` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `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), `country_id` int(11), `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` int(11), `delivery_price` decimal(8,2), `delivery_tax_rate` decimal(8,2), `delivery_tax_amount` decimal(8,2), `paid_at` datetime, `accepted_by` int(11), `shipped_by` int(11), `consignment_number` varchar(255), `rejected_at` datetime, `rejected_by` int(11), `ip_address` varchar(255), `payment_reference` varchar(255), `payment_method` varchar(255), `delivery_cost_price` decimal(8,2), `notes` text) ENGINE=InnoDB[0m
|
1122
|
-
[1m[35m (16.6ms)[0m CREATE TABLE `shoppe_product_attributes` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11), `key` varchar(255), `value` varchar(255), `position` int(11) DEFAULT 1, `searchable` tinyint(1) DEFAULT 1, `created_at` datetime, `updated_at` datetime, `public` tinyint(1) DEFAULT 1) ENGINE=InnoDB
|
1123
|
-
[1m[36m (21.3ms)[0m [1mCREATE TABLE `shoppe_product_categories` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `permalink` varchar(255), `description` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m
|
1124
|
-
[1m[35m (21.9ms)[0m CREATE TABLE `shoppe_products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_category_id` int(11), `name` varchar(255), `sku` varchar(255), `permalink` varchar(255), `description` text, `short_description` text, `active` tinyint(1) DEFAULT 1, `weight` decimal(8,3) DEFAULT 0.0, `price` decimal(8,2) DEFAULT 0.0, `tax_rate_id` int(11), `created_at` datetime, `updated_at` datetime, `featured` tinyint(1) DEFAULT 0, `in_the_box` text, `cost_price` decimal(8,2), `stock_control` tinyint(1) DEFAULT 1) ENGINE=InnoDB
|
1125
|
-
[1m[36m (12.0ms)[0m [1mCREATE TABLE `shoppe_stock_level_adjustments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `item_id` int(11), `description` varchar(255), `adjustment` int(11) DEFAULT 0, `parent_type` varchar(255), `parent_id` int(11), `created_at` datetime, `updated_at` datetime, `item_type` varchar(255)) ENGINE=InnoDB[0m
|
1126
|
-
[1m[35m (15.0ms)[0m CREATE TABLE `shoppe_tax_rates` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `rate` decimal(8,2), `created_at` datetime, `updated_at` datetime, `country_ids` text) ENGINE=InnoDB
|
1127
|
-
[1m[36m (16.5ms)[0m [1mCREATE TABLE `shoppe_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `email_address` varchar(255), `password_digest` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB[0m
|
1128
|
-
[1m[35m (12.5ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
1129
|
-
[1m[36m (14.1ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`) [0m
|
1130
|
-
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
1131
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131022093538')[0m
|
1132
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131017165217')
|
1133
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131017165222')[0m
|
1134
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130926094549')
|
1135
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131012123829')[0m
|
1136
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131012163301')
|
1137
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131013123937')[0m
|
1138
|
-
[1m[35m (0.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131013131658')
|
1139
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131017144430')[0m
|
1140
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131017180920')
|
1141
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131017183211')[0m
|
1142
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131020204719')
|
1143
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131021135208')[0m
|
1144
|
-
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20131022090919')
|
1145
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20131022092904')[0m
|
1146
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1147
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1148
|
-
Migrating to AddParentIdToProducts (20131022135331)
|
1149
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1150
|
-
Migrating to AddParentIdToProducts (20131022135331)
|
1151
|
-
[1m[35m (11.9ms)[0m ALTER TABLE `shoppe_products` ADD `parent_id` int(11) AFTER `id`
|
1152
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1153
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131022135331')
|
1154
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1155
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
1156
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
1157
|
-
Migrating to CostPriceShouldBeDefaultToZero (20131022145653)
|
1158
|
-
[1m[35m (24.2ms)[0m ALTER TABLE `shoppe_products` CHANGE `cost_price` `cost_price` decimal(8,2) DEFAULT 0.0
|
1159
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1160
|
-
[1m[35mSQL (1.6ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20131022145653')
|
1161
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1162
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|