spree_flat_in_range 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/LICENSE +26 -0
  2. data/README.md +39 -0
  3. data/app/models/spree/calculator/flat_in_range.rb +21 -0
  4. data/config/locales/en.yml +5 -0
  5. data/lib/spree_flat_in_range.rb +21 -0
  6. data/spec/dummy/Rakefile +7 -0
  7. data/spec/dummy/app/assets/javascripts/admin/all.js +10 -0
  8. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  9. data/spec/dummy/app/assets/javascripts/store/all.js +10 -0
  10. data/spec/dummy/app/assets/stylesheets/admin/all.css +11 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  12. data/spec/dummy/app/assets/stylesheets/store/all.css +11 -0
  13. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  14. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  15. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  16. data/spec/dummy/config.ru +4 -0
  17. data/spec/dummy/config/application.rb +60 -0
  18. data/spec/dummy/config/boot.rb +6 -0
  19. data/spec/dummy/config/database.yml +18 -0
  20. data/spec/dummy/config/environment.rb +7 -0
  21. data/spec/dummy/config/environments/development.rb +30 -0
  22. data/spec/dummy/config/environments/production.rb +60 -0
  23. data/spec/dummy/config/environments/test.rb +39 -0
  24. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  25. data/spec/dummy/config/initializers/inflections.rb +10 -0
  26. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  27. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  28. data/spec/dummy/config/initializers/session_store.rb +8 -0
  29. data/spec/dummy/config/initializers/spree.rb +12 -0
  30. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  31. data/spec/dummy/config/locales/en.yml +5 -0
  32. data/spec/dummy/config/routes.rb +3 -0
  33. data/spec/dummy/config/spree.yml +2 -0
  34. data/spec/dummy/db/dummy_test +0 -0
  35. data/spec/dummy/db/migrate/20120218160357_spree_zero_nine_zero.rb +389 -0
  36. data/spec/dummy/db/migrate/20120218160358_create_indexes_for_inventory_units.rb +6 -0
  37. data/spec/dummy/db/migrate/20120218160359_add_count_on_hand_to_variants_and_products.rb +49 -0
  38. data/spec/dummy/db/migrate/20120218160360_change_taxons_to_nested_set.rb +46 -0
  39. data/spec/dummy/db/migrate/20120218160361_move_to_configurable_gateways.rb +54 -0
  40. data/spec/dummy/db/migrate/20120218160362_product_groups_and_scopes.rb +18 -0
  41. data/spec/dummy/db/migrate/20120218160363_add_open_id_authentication_tables.rb +15 -0
  42. data/spec/dummy/db/migrate/20120218160364_add_openid_field_to_users.rb +24 -0
  43. data/spec/dummy/db/migrate/20120218160365_change_preference_value_type.rb +10 -0
  44. data/spec/dummy/db/migrate/20120218160366_create_billing_integrations.rb +12 -0
  45. data/spec/dummy/db/migrate/20120218160367_charge_refactoring.rb +39 -0
  46. data/spec/dummy/db/migrate/20120218160368_add_some_indexes.rb +11 -0
  47. data/spec/dummy/db/migrate/20120218160369_checkout_state_machine.rb +5 -0
  48. data/spec/dummy/db/migrate/20120218160370_state_for_shipments.rb +5 -0
  49. data/spec/dummy/db/migrate/20120218160371_make_state_events_polymorphic.rb +12 -0
  50. data/spec/dummy/db/migrate/20120218160372_ship_address_id_for_checkouts.rb +5 -0
  51. data/spec/dummy/db/migrate/20120218160373_shipping_method_id_for_checkouts.rb +5 -0
  52. data/spec/dummy/db/migrate/20120218160374_creditcard_last_four_digits.rb +14 -0
  53. data/spec/dummy/db/migrate/20120218160375_populate_legacy_shipment_state.rb +15 -0
  54. data/spec/dummy/db/migrate/20120218160376_add_cost_price.rb +5 -0
  55. data/spec/dummy/db/migrate/20120218160377_shipment_id_for_inventory_units.rb +25 -0
  56. data/spec/dummy/db/migrate/20120218160378_cim_fields_for_creditcards.rb +6 -0
  57. data/spec/dummy/db/migrate/20120218160379_create_return_authorizations.rb +12 -0
  58. data/spec/dummy/db/migrate/20120218160380_add_return_authorization_to_inventory_units.rb +5 -0
  59. data/spec/dummy/db/migrate/20120218160381_create_trackers.rb +10 -0
  60. data/spec/dummy/db/migrate/20120218160382_creditcard_id_for_creditcard_txns.rb +5 -0
  61. data/spec/dummy/db/migrate/20120218160383_original_creditcard_txn_id_for_creditcard_txns.rb +5 -0
  62. data/spec/dummy/db/migrate/20120218160384_add_test_mode_to_billing_integration.rb +6 -0
  63. data/spec/dummy/db/migrate/20120218160385_create_products_product_groups.rb +8 -0
  64. data/spec/dummy/db/migrate/20120218160386_create_payment_methods.rb +16 -0
  65. data/spec/dummy/db/migrate/20120218160387_polymorphic_payments.rb +42 -0
  66. data/spec/dummy/db/migrate/20120218160388_change_payments_payment_method_to_belongs_to.rb +11 -0
  67. data/spec/dummy/db/migrate/20120218160389_assign_creditcard_txns_to_payment.rb +23 -0
  68. data/spec/dummy/db/migrate/20120218160390_sti_for_transactions.rb +15 -0
  69. data/spec/dummy/db/migrate/20120218160391_drop_billing_integrations.rb +16 -0
  70. data/spec/dummy/db/migrate/20120218160392_deleted_at_for_payment_methods.rb +14 -0
  71. data/spec/dummy/db/migrate/20120218160393_add_adjustments_index.rb +6 -0
  72. data/spec/dummy/db/migrate/20120218160394_fix_by_popularity.rb +9 -0
  73. data/spec/dummy/db/migrate/20120218160395_add_alt_text_to_images.rb +5 -0
  74. data/spec/dummy/db/migrate/20120218160396_fix_existing_coupon_credits.rb +13 -0
  75. data/spec/dummy/db/migrate/20120218160397_add_display_to_payment_methods.rb +5 -0
  76. data/spec/dummy/db/migrate/20120218160398_add_addresses_checkouts_indexes.rb +8 -0
  77. data/spec/dummy/db/migrate/20120218160399_add_icon_to_taxons.rb +17 -0
  78. data/spec/dummy/db/migrate/20120218160400_add_description_to_taxons.rb +11 -0
  79. data/spec/dummy/db/migrate/20120218160401_index_for_shipments_number.rb +5 -0
  80. data/spec/dummy/db/migrate/20120218160402_add_index_on_users_persistence_token.rb +5 -0
  81. data/spec/dummy/db/migrate/20120218160403_add_default_to_tax_categories.rb +5 -0
  82. data/spec/dummy/db/migrate/20120218160404_add_display_to_shipping_methods.rb +5 -0
  83. data/spec/dummy/db/migrate/20120218160405_rename_payment_method_display.rb +5 -0
  84. data/spec/dummy/db/migrate/20120218160406_rename_preferences_field.rb +5 -0
  85. data/spec/dummy/db/migrate/20120218160407_add_guest_flag.rb +5 -0
  86. data/spec/dummy/db/migrate/20120218160408_drop_order_token.rb +9 -0
  87. data/spec/dummy/db/migrate/20120218160409_payments_state_and_assigned_to_order_only.rb +14 -0
  88. data/spec/dummy/db/migrate/20120218160410_create_address_keys_for_order.rb +6 -0
  89. data/spec/dummy/db/migrate/20120218160411_payment_total_for_orders.rb +5 -0
  90. data/spec/dummy/db/migrate/20120218160412_shipping_method_id_for_orders.rb +5 -0
  91. data/spec/dummy/db/migrate/20120218160413_add_shipment_and_payment_state.rb +6 -0
  92. data/spec/dummy/db/migrate/20120218160414_refactor_adjustments.rb +29 -0
  93. data/spec/dummy/db/migrate/20120218160415_response_code_and_avs_response_for_payments.rb +6 -0
  94. data/spec/dummy/db/migrate/20120218160416_change_guest_flag_to_anonymous.rb +5 -0
  95. data/spec/dummy/db/migrate/20120218160417_email_for_orders.rb +5 -0
  96. data/spec/dummy/db/migrate/20120218160418_create_mail_methods.rb +10 -0
  97. data/spec/dummy/db/migrate/20120218160419_rename_frozen_to_locked.rb +5 -0
  98. data/spec/dummy/db/migrate/20120218160420_move_special_instructions_to_orders.rb +10 -0
  99. data/spec/dummy/db/migrate/20120218160421_create_log_entries.rb +11 -0
  100. data/spec/dummy/db/migrate/20120218160422_migrate_transactions_to_payment_state.rb +98 -0
  101. data/spec/dummy/db/migrate/20120218160423_delete_in_progress_orders.rb +19 -0
  102. data/spec/dummy/db/migrate/20120218160424_migrate_checkout_to_orders.rb +23 -0
  103. data/spec/dummy/db/migrate/20120218160425_remove_shipped_state.rb +12 -0
  104. data/spec/dummy/db/migrate/20120218160426_prevent_nil_payment_total.rb +8 -0
  105. data/spec/dummy/db/migrate/20120218160427_prevent_nil_email.rb +9 -0
  106. data/spec/dummy/db/migrate/20120218160428_generate_anonymous_users.rb +20 -0
  107. data/spec/dummy/db/migrate/20120218160429_update_order_state.rb +12 -0
  108. data/spec/dummy/db/migrate/20120218160430_cleanup_legacy_tables.rb +11 -0
  109. data/spec/dummy/db/migrate/20120218160431_remove_number_and_cvv_from_credicard.rb +11 -0
  110. data/spec/dummy/db/migrate/20120218160432_drop_anonymous_field_for_user.rb +9 -0
  111. data/spec/dummy/db/migrate/20120218160433_renamed_rma_cancelled_state.rb +9 -0
  112. data/spec/dummy/db/migrate/20120218160434_fix_problematic_index_names.rb +13 -0
  113. data/spec/dummy/db/migrate/20120218160435_add_position_to_variants.rb +5 -0
  114. data/spec/dummy/db/migrate/20120218160436_add_next_state_to_state_events.rb +5 -0
  115. data/spec/dummy/db/migrate/20120218160437_add_position_to_option_types.rb +5 -0
  116. data/spec/dummy/db/migrate/20120218160438_remove_trailing_slashes_in_taxon_permalinks.rb +19 -0
  117. data/spec/dummy/db/migrate/20120218160439_create_activators.rb +14 -0
  118. data/spec/dummy/db/migrate/20120218160440_eligible_for_adjustments.rb +5 -0
  119. data/spec/dummy/db/migrate/20120218160441_namespace_top_level_models.rb +52 -0
  120. data/spec/dummy/db/migrate/20120218160442_migrate_namespaced_polymorphic_models.rb +52 -0
  121. data/spec/dummy/db/migrate/20120218160443_make_adjustments_polymorphic.rb +9 -0
  122. data/spec/dummy/db/migrate/20120218160444_add_company_to_addresses.rb +5 -0
  123. data/spec/dummy/db/migrate/20120218160445_add_inc_tax_to_tax_rates.rb +5 -0
  124. data/spec/dummy/db/migrate/20120218160446_rename_inc_price_attribute.rb +5 -0
  125. data/spec/dummy/db/migrate/20120218160447_add_default_tax_zone.rb +5 -0
  126. data/spec/dummy/db/migrate/20120218160448_associate_shipping_methods_and_shipping_categories.rb +7 -0
  127. data/spec/dummy/db/migrate/20120218160449_add_match_rules_to_shipping_methods.rb +7 -0
  128. data/spec/dummy/db/migrate/20120218160450_new_preferences.rb +48 -0
  129. data/spec/dummy/db/migrate/20120218160451_add_deleted_at_to_tax_category.rb +5 -0
  130. data/spec/dummy/db/schema.rb +553 -0
  131. data/spec/dummy/db/seeds.rb +11 -0
  132. data/spec/dummy/log/test.log +1136 -0
  133. data/spec/dummy/public/404.html +26 -0
  134. data/spec/dummy/public/422.html +26 -0
  135. data/spec/dummy/public/500.html +26 -0
  136. data/spec/dummy/public/favicon.ico +0 -0
  137. data/spec/dummy/script/rails +6 -0
  138. data/spec/dummy/spec/dummy/script/rails +6 -0
  139. data/spec/flat_in_range_spec.rb +56 -0
  140. data/spec/spec_helper.rb +32 -0
  141. metadata +428 -0
@@ -0,0 +1,11 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Mayor.create(:name => 'Emanuel', :city => cities.first)
8
+
9
+
10
+ Spree::Core::Engine.load_seed if defined?(Spree::Core)
11
+ Spree::Auth::Engine.load_seed if defined?(Spree::Auth)
@@ -0,0 +1,1136 @@
1
+  (0.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
2
+ SQLite3::SQLException: no such table: spree_preferences: select owner_id, owner_type, name, value from spree_preferences where `key` is null
3
+  (0.1ms) select sqlite_version(*)
4
+  (6.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
+  (0.1ms) PRAGMA index_list("schema_migrations")
6
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
8
+ Migrating to SpreeZeroNineZero (20120218160357)
9
+  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar(255), "lastname" varchar(255), "address1" varchar(255), "address2" varchar(255), "city" varchar(255), "zipcode" varchar(255), "phone" varchar(255), "state_name" varchar(255), "alternative_phone" varchar(255), "state_id" integer, "country_id" integer, "created_at" datetime, "updated_at" datetime) 
10
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime)
11
+  (0.1ms) CREATE TABLE "assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "viewable_id" integer, "attachment_width" integer, "attachment_height" integer, "attachment_size" integer, "position" integer, "viewable_type" varchar(50), "attachment_content_type" varchar(255), "attachment_file_name" varchar(255), "type" varchar(75), "attachment_updated_at" datetime) 
12
+  (0.2ms) CREATE TABLE "calculators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "calculable_id" integer NOT NULL, "calculable_type" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
13
+  (0.1ms) CREATE TABLE "checkouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "completed_at" datetime, "created_at" datetime, "updated_at" datetime) 
14
+  (0.1ms) CREATE TABLE "configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "type" varchar(50), "created_at" datetime, "updated_at" datetime)
15
+  (0.0ms) PRAGMA index_list("configurations")
16
+  (0.2ms) CREATE INDEX "index_configurations_on_name_and_type" ON "configurations" ("name", "type")
17
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso_name" varchar(255), "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "numcode" integer) 
18
+  (0.1ms) CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(255), "description" varchar(255), "usage_limit" integer, "combine" boolean, "expires_at" datetime, "starts_at" datetime, "created_at" datetime, "updated_at" datetime)
19
+  (0.1ms) CREATE TABLE "creditcard_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creditcard_payment_id" integer, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime, "updated_at" datetime) 
20
+  (0.2ms) CREATE TABLE "creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "display_number" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime, "updated_at" datetime)
21
+  (0.1ms) CREATE TABLE "gateway_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gateway_id" integer, "created_at" datetime, "updated_at" datetime) 
22
+  (0.1ms) CREATE TABLE "gateway_option_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gateway_configuration_id" integer, "gateway_option_id" integer, "value" text, "created_at" datetime, "updated_at" datetime)
23
+  (0.1ms) CREATE TABLE "gateway_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "textarea" boolean DEFAULT 'f', "gateway_id" integer, "created_at" datetime, "updated_at" datetime) 
24
+  (0.1ms) CREATE TABLE "gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "clazz" varchar(255), "name" varchar(255), "description" text, "active" boolean, "created_at" datetime, "updated_at" datetime)
25
+  (0.1ms) CREATE TABLE "inventory_units" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "lock_version" integer DEFAULT 0, "state" varchar(255), "variant_id" integer, "order_id" integer, "created_at" datetime, "updated_at" datetime) 
26
+  (0.1ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "variant_id" integer, "quantity" integer NOT NULL, "price" decimal(8,2) NOT NULL, "created_at" datetime, "updated_at" datetime)
27
+  (0.0ms) PRAGMA index_list("line_items")
28
+  (0.1ms) CREATE INDEX "index_line_items_on_order_id" ON "line_items" ("order_id")
29
+  (0.0ms) PRAGMA index_list("line_items")
30
+  (0.0ms) PRAGMA index_info('index_line_items_on_order_id')
31
+  (0.1ms) CREATE INDEX "index_line_items_on_variant_id" ON "line_items" ("variant_id")
32
+  (0.2ms) CREATE TABLE "option_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "presentation" varchar(100), "created_at" datetime, "updated_at" datetime)
33
+  (0.1ms) CREATE TABLE "option_types_prototypes" ("prototype_id" integer, "option_type_id" integer) 
34
+  (0.1ms) CREATE TABLE "option_values" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "name" varchar(255), "presentation" varchar(255), "option_type_id" integer, "created_at" datetime, "updated_at" datetime)
35
+  (0.1ms) CREATE TABLE "option_values_variants" ("variant_id" integer, "option_value_id" integer) 
36
+  (0.0ms) PRAGMA index_list("option_values_variants")
37
+  (0.1ms) CREATE INDEX "index_option_values_variants_on_variant_id" ON "option_values_variants" ("variant_id")
38
+  (0.2ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(15), "item_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "total" decimal(8,2) DEFAULT 0.0 NOT NULL, "state" varchar(255), "token" varchar(255), "adjustment_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "credit_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime, "updated_at" datetime)
39
+  (0.0ms) PRAGMA index_list("orders")
40
+  (0.1ms) CREATE INDEX "index_orders_on_number" ON "orders" ("number")
41
+  (0.1ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "order_id" integer, "creditcard_id" integer, "created_at" datetime, "updated_at" datetime) 
42
+  (0.1ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
43
+  (0.0ms) PRAGMA index_list("preferences")
44
+  (0.2ms) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "group_id", "group_type")
45
+  (0.1ms) CREATE TABLE "product_option_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "product_id" integer, "option_type_id" integer, "created_at" datetime, "updated_at" datetime) 
46
+  (0.1ms) CREATE TABLE "product_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(255), "product_id" integer, "property_id" integer, "created_at" datetime, "updated_at" datetime)
47
+  (0.2ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT '' NOT NULL, "description" text, "available_on" datetime, "deleted_at" datetime, "permalink" varchar(255), "meta_description" varchar(255), "meta_keywords" varchar(255), "tax_category_id" integer, "shipping_category_id" integer, "created_at" datetime, "updated_at" datetime) 
48
+  (0.0ms) PRAGMA index_list("products")
49
+  (0.1ms) CREATE INDEX "index_products_on_available_on" ON "products" ("available_on")
50
+  (0.0ms) PRAGMA index_list("products")
51
+  (0.0ms) PRAGMA index_info('index_products_on_available_on')
52
+  (0.1ms) CREATE INDEX "index_products_on_deleted_at" ON "products" ("deleted_at")
53
+  (0.0ms) PRAGMA index_list("products")
54
+  (0.0ms) PRAGMA index_info('index_products_on_deleted_at')
55
+  (0.0ms) PRAGMA index_info('index_products_on_available_on')
56
+  (0.1ms) CREATE INDEX "index_products_on_name" ON "products" ("name")
57
+  (0.0ms) PRAGMA index_list("products")
58
+  (0.0ms) PRAGMA index_info('index_products_on_name')
59
+  (0.0ms) PRAGMA index_info('index_products_on_deleted_at')
60
+  (0.0ms) PRAGMA index_info('index_products_on_available_on')
61
+  (0.1ms) CREATE INDEX "index_products_on_permalink" ON "products" ("permalink")
62
+  (0.1ms) CREATE TABLE "products_taxons" ("product_id" integer, "taxon_id" integer)
63
+  (0.0ms) PRAGMA index_list("products_taxons")
64
+  (0.1ms) CREATE INDEX "index_products_taxons_on_product_id" ON "products_taxons" ("product_id")
65
+  (0.0ms) PRAGMA index_list("products_taxons")
66
+  (0.0ms) PRAGMA index_info('index_products_taxons_on_product_id')
67
+  (0.1ms) CREATE INDEX "index_products_taxons_on_taxon_id" ON "products_taxons" ("taxon_id")
68
+  (0.1ms) CREATE TABLE "properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "presentation" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
69
+  (0.1ms) CREATE TABLE "properties_prototypes" ("prototype_id" integer, "property_id" integer) 
70
+  (0.1ms) CREATE TABLE "prototypes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
71
+  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
72
+  (0.1ms) CREATE TABLE "roles_users" ("role_id" integer, "user_id" integer)
73
+  (0.0ms) PRAGMA index_list("roles_users")
74
+  (0.1ms) CREATE INDEX "index_roles_users_on_role_id" ON "roles_users" ("role_id")
75
+  (0.0ms) PRAGMA index_list("roles_users")
76
+  (0.0ms) PRAGMA index_info('index_roles_users_on_role_id')
77
+  (0.1ms) CREATE INDEX "index_roles_users_on_user_id" ON "roles_users" ("user_id")
78
+  (0.1ms) CREATE TABLE "shipments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tracking" varchar(255), "number" varchar(255), "cost" decimal(8,2), "shipped_at" datetime, "order_id" integer, "shipping_method_id" integer, "address_id" integer, "created_at" datetime, "updated_at" datetime)
79
+  (0.2ms) CREATE TABLE "shipping_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
80
+  (0.1ms) CREATE TABLE "shipping_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "zone_id" integer, "created_at" datetime, "updated_at" datetime)
81
+  (0.1ms) CREATE TABLE "state_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "previous_state" varchar(255), "order_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
82
+  (0.1ms) CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "abbr" varchar(255), "country_id" integer)
83
+  (0.2ms) CREATE TABLE "tax_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime) 
84
+  (0.1ms) CREATE TABLE "tax_rates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(8,4), "zone_id" integer, "tax_category_id" integer, "created_at" datetime, "updated_at" datetime)
85
+  (0.1ms) CREATE TABLE "taxonomies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) 
86
+  (0.1ms) CREATE TABLE "taxons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "position" integer DEFAULT 0, "name" varchar(255) NOT NULL, "permalink" varchar(255), "taxonomy_id" integer, "created_at" datetime, "updated_at" datetime)
87
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime) 
88
+  (0.2ms) CREATE TABLE "variants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar(255) DEFAULT '' NOT NULL, "price" decimal(8,2) NOT NULL, "weight" decimal(8,2), "height" decimal(8,2), "width" decimal(8,2), "depth" decimal(8,2), "deleted_at" datetime, "is_master" boolean DEFAULT 'f', "product_id" integer)
89
+  (0.0ms) PRAGMA index_list("variants")
90
+  (0.1ms) CREATE INDEX "index_variants_on_product_id" ON "variants" ("product_id")
91
+  (0.2ms) CREATE TABLE "zone_members" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "zoneable_id" integer, "zoneable_type" varchar(255), "zone_id" integer, "created_at" datetime, "updated_at" datetime) 
92
+  (0.1ms) CREATE TABLE "zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)
93
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160357')
94
+ Migrating to CreateIndexesForInventoryUnits (20120218160358)
95
+  (0.1ms) PRAGMA index_list("inventory_units")
96
+  (0.7ms) CREATE INDEX "index_inventory_units_on_variant_id" ON "inventory_units" ("variant_id")
97
+  (0.1ms) PRAGMA index_list("inventory_units")
98
+  (0.1ms) PRAGMA index_info('index_inventory_units_on_variant_id')
99
+  (0.3ms) CREATE INDEX "index_inventory_units_on_order_id" ON "inventory_units" ("order_id")
100
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160358')
101
+ Migrating to AddCountOnHandToVariantsAndProducts (20120218160359)
102
+  (0.3ms) ALTER TABLE "variants" ADD "count_on_hand" integer DEFAULT 0 NOT NULL
103
+  (0.2ms) ALTER TABLE "products" ADD "count_on_hand" integer DEFAULT 0 NOT NULL
104
+ Spree::Variant Load (0.1ms) SELECT "variants".* FROM "variants"
105
+ Spree::Product Load (0.1ms) SELECT "products".* FROM "products" 
106
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160359')
107
+ Migrating to ChangeTaxonsToNestedSet (20120218160360)
108
+  (0.4ms) ALTER TABLE "taxons" ADD "lft" integer
109
+  (0.2ms) ALTER TABLE "taxons" ADD "rgt" integer
110
+ Spree::Taxon Load (0.1ms) SELECT "taxons".* FROM "taxons" WHERE "taxons"."parent_id" IS NULL ORDER BY position ASC
111
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160360')
112
+ Migrating to MoveToConfigurableGateways (20120218160361)
113
+  (0.3ms) DROP TABLE "gateways"
114
+  (0.2ms) DROP TABLE "gateway_options"
115
+  (0.1ms) DROP TABLE "gateway_option_values"
116
+  (0.1ms) DROP TABLE "gateway_configurations"
117
+  (0.2ms) CREATE TABLE "gateways" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "server" varchar(255) DEFAULT 'test', "test_mode" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) 
118
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160361')
119
+ Migrating to ProductGroupsAndScopes (20120218160362)
120
+  (0.3ms) CREATE TABLE "product_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "order" varchar(255)) 
121
+  (0.1ms) CREATE TABLE "product_scopes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "arguments" text, "product_group_id" integer)
122
+  (0.0ms) PRAGMA index_list("product_groups")
123
+  (0.1ms) CREATE INDEX "index_product_groups_on_name" ON "product_groups" ("name")
124
+  (0.0ms) PRAGMA index_list("product_groups")
125
+  (0.0ms) PRAGMA index_info('index_product_groups_on_name')
126
+  (0.1ms) CREATE INDEX "index_product_groups_on_permalink" ON "product_groups" ("permalink")
127
+  (0.0ms) PRAGMA index_list("product_scopes")
128
+  (0.1ms) CREATE INDEX "index_product_scopes_on_name" ON "product_scopes" ("name")
129
+  (0.0ms) PRAGMA index_list("product_scopes")
130
+  (0.0ms) PRAGMA index_info('index_product_scopes_on_name')
131
+  (0.1ms) CREATE INDEX "index_product_scopes_on_product_group_id" ON "product_scopes" ("product_group_id")
132
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160362')
133
+ Migrating to AddOpenIdAuthenticationTables (20120218160363)
134
+  (0.6ms) CREATE TABLE "open_id_authentication_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "issued" integer, "lifetime" integer, "handle" varchar(255), "assoc_type" varchar(255), "server_url" blob, "secret" blob)
135
+  (0.3ms) CREATE TABLE "open_id_authentication_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "timestamp" integer NOT NULL, "server_url" varchar(255), "salt" varchar(255) NOT NULL) 
136
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160363')
137
+ Migrating to AddOpenidFieldToUsers (20120218160364)
138
+  (0.8ms) ALTER TABLE "users" ADD "openid_identifier" varchar(255)
139
+  (0.1ms) PRAGMA index_list("users")
140
+  (0.3ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
141
+  (0.7ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255))
142
+  (0.1ms) PRAGMA index_list("users")
143
+  (0.1ms) PRAGMA index_info('index_users_on_openid_identifier')
144
+  (0.1ms) PRAGMA index_list("altered_users")
145
+  (0.3ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")
146
+  (0.3ms) SELECT * FROM "users"
147
+  (0.5ms) DROP TABLE "users"
148
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255)) 
149
+  (0.0ms) PRAGMA index_list("altered_users")
150
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_openid_identifier')
151
+  (0.0ms) PRAGMA index_list("users")
152
+  (0.1ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
153
+  (0.1ms) SELECT * FROM "altered_users"
154
+  (0.2ms) DROP TABLE "altered_users"
155
+  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255))
156
+  (0.0ms) PRAGMA index_list("users")
157
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
158
+  (0.0ms) PRAGMA index_list("altered_users")
159
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")
160
+  (0.1ms) SELECT * FROM "users"
161
+  (0.1ms) DROP TABLE "users"
162
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255)) 
163
+  (0.0ms) PRAGMA index_list("altered_users")
164
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_openid_identifier')
165
+  (0.0ms) PRAGMA index_list("users")
166
+  (0.1ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
167
+  (0.1ms) SELECT * FROM "altered_users"
168
+  (0.1ms) DROP TABLE "altered_users"
169
+  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255))
170
+  (0.0ms) PRAGMA index_list("users")
171
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
172
+  (0.0ms) PRAGMA index_list("altered_users")
173
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")
174
+  (0.1ms) SELECT * FROM "users"
175
+  (0.2ms) DROP TABLE "users"
176
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255)) 
177
+  (0.0ms) PRAGMA index_list("altered_users")
178
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_openid_identifier')
179
+  (0.0ms) PRAGMA index_list("users")
180
+  (0.1ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
181
+  (0.1ms) SELECT * FROM "altered_users"
182
+  (0.1ms) DROP TABLE "altered_users"
183
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160364')
184
+ Migrating to ChangePreferenceValueType (20120218160365)
185
+  (0.1ms) PRAGMA index_list("preferences")
186
+  (0.1ms) PRAGMA index_info('index_preferences_on_owner_and_attribute_and_preference')
187
+  (0.5ms) DROP INDEX "index_preferences_on_owner_and_attribute_and_preference"
188
+  (0.4ms) CREATE TEMPORARY TABLE "altered_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" varchar(255), "created_at" datetime, "updated_at" datetime)
189
+  (0.1ms) PRAGMA index_list("preferences")
190
+  (0.2ms) SELECT * FROM "preferences"
191
+  (0.4ms) DROP TABLE "preferences"
192
+  (0.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime)
193
+  (0.1ms) PRAGMA index_list("altered_preferences")
194
+  (0.2ms) SELECT * FROM "altered_preferences"
195
+  (0.2ms) DROP TABLE "altered_preferences"
196
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160365')
197
+ Migrating to CreateBillingIntegrations (20120218160366)
198
+  (0.6ms) CREATE TABLE "billing_integrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime, "updated_at" datetime) 
199
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160366')
200
+ Migrating to ChargeRefactoring (20120218160367)
201
+  (0.6ms) ALTER TABLE "orders" ADD "completed_at" datetime
202
+ Order Load (0.1ms) SELECT "orders".* FROM "orders"
203
+  (0.2ms) CREATE TEMPORARY TABLE "altered_checkouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "completed_at" datetime, "created_at" datetime, "updated_at" datetime) 
204
+  (0.0ms) PRAGMA index_list("checkouts")
205
+  (0.1ms) SELECT * FROM "checkouts"
206
+  (0.2ms) DROP TABLE "checkouts"
207
+  (0.2ms) CREATE TABLE "checkouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime) 
208
+  (0.0ms) PRAGMA index_list("altered_checkouts")
209
+  (0.1ms) SELECT * FROM "altered_checkouts"
210
+  (0.1ms) DROP TABLE "altered_checkouts"
211
+  (0.2ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "adjustment_source_id" integer, "amount" decimal DEFAULT 0.0 NOT NULL, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime) 
212
+  (0.0ms) PRAGMA index_list("adjustments")
213
+  (0.1ms) SELECT * FROM "adjustments"
214
+  (0.2ms) DROP TABLE "adjustments"
215
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "adjustment_source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime) 
216
+  (0.0ms) PRAGMA index_list("altered_adjustments")
217
+  (0.1ms) SELECT * FROM "altered_adjustments"
218
+  (0.1ms) DROP TABLE "altered_adjustments"
219
+ SQL (0.0ms) UPDATE "adjustments" SET "type" = 'secondary_type'
220
+ SQL (0.0ms) UPDATE "adjustments" SET "type" = 'CouponCredit' WHERE "adjustments"."type" = 'Credit'
221
+  (0.2ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "adjustment_source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime) 
222
+  (0.0ms) PRAGMA index_list("adjustments")
223
+  (0.1ms) SELECT * FROM "adjustments"
224
+  (0.2ms) DROP TABLE "adjustments"
225
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "adjustment_source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime) 
226
+  (0.0ms) PRAGMA index_list("altered_adjustments")
227
+  (0.1ms) SELECT * FROM "altered_adjustments"
228
+  (0.1ms) DROP TABLE "altered_adjustments"
229
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160367')
230
+ Migrating to AddSomeIndexes (20120218160368)
231
+  (0.1ms) PRAGMA index_list("taxons")
232
+  (0.6ms) CREATE INDEX "index_taxons_on_permalink" ON "taxons" ("permalink")
233
+  (0.1ms) PRAGMA index_list("taxons")
234
+  (0.1ms) PRAGMA index_info('index_taxons_on_permalink')
235
+  (0.1ms) CREATE INDEX "index_taxons_on_parent_id" ON "taxons" ("parent_id")
236
+  (0.0ms) PRAGMA index_list("taxons")
237
+  (0.0ms) PRAGMA index_info('index_taxons_on_parent_id')
238
+  (0.0ms) PRAGMA index_info('index_taxons_on_permalink')
239
+  (0.1ms) CREATE INDEX "index_taxons_on_taxonomy_id" ON "taxons" ("taxonomy_id")
240
+  (0.0ms) PRAGMA index_list("assets")
241
+  (0.2ms) CREATE INDEX "index_assets_on_viewable_id" ON "assets" ("viewable_id")
242
+  (0.0ms) PRAGMA index_list("assets")
243
+  (0.0ms) PRAGMA index_info('index_assets_on_viewable_id')
244
+  (0.1ms) CREATE INDEX "index_assets_on_viewable_type_and_type" ON "assets" ("viewable_type", "type")
245
+  (0.0ms) PRAGMA index_list("product_properties")
246
+  (0.1ms) CREATE INDEX "index_product_properties_on_product_id" ON "product_properties" ("product_id")
247
+  (0.0ms) PRAGMA index_list("option_values_variants")
248
+  (0.0ms) PRAGMA index_info('index_option_values_variants_on_variant_id')
249
+  (0.1ms) CREATE INDEX "index_option_values_variants_on_variant_id_and_option_value_id" ON "option_values_variants" ("variant_id", "option_value_id")
250
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160368')
251
+ Migrating to CheckoutStateMachine (20120218160369)
252
+  (0.7ms) ALTER TABLE "checkouts" ADD "state" varchar(255)
253
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160369')
254
+ Migrating to StateForShipments (20120218160370)
255
+  (0.5ms) ALTER TABLE "shipments" ADD "state" varchar(255)
256
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160370')
257
+ Migrating to MakeStateEventsPolymorphic (20120218160371)
258
+  (0.3ms) CREATE TEMPORARY TABLE "altered_state_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "previous_state" varchar(255), "stateful_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
259
+  (0.0ms) PRAGMA index_list("state_events")
260
+  (0.2ms) SELECT * FROM "state_events"
261
+  (0.4ms) DROP TABLE "state_events"
262
+  (0.3ms) CREATE TABLE "state_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "previous_state" varchar(255), "stateful_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)
263
+  (0.0ms) PRAGMA index_list("altered_state_events")
264
+  (0.1ms) SELECT * FROM "altered_state_events"
265
+  (0.2ms) DROP TABLE "altered_state_events"
266
+  (0.3ms) ALTER TABLE "state_events" ADD "stateful_type" varchar(255)
267
+  (0.1ms) UPDATE state_events SET stateful_type = 'Order'
268
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160371')
269
+ Migrating to ShipAddressIdForCheckouts (20120218160372)
270
+  (0.6ms) ALTER TABLE "checkouts" ADD "ship_address_id" integer
271
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160372')
272
+ Migrating to ShippingMethodIdForCheckouts (20120218160373)
273
+  (0.7ms) ALTER TABLE "checkouts" ADD "shipping_method_id" integer
274
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160373')
275
+ Migrating to CreditcardLastFourDigits (20120218160374)
276
+  (0.4ms) CREATE TEMPORARY TABLE "altered_creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime, "updated_at" datetime) 
277
+  (0.1ms) PRAGMA index_list("creditcards")
278
+  (0.3ms) SELECT * FROM "creditcards"
279
+  (0.4ms) DROP TABLE "creditcards"
280
+  (0.4ms) CREATE TABLE "creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime, "updated_at" datetime) 
281
+  (0.0ms) PRAGMA index_list("altered_creditcards")
282
+  (0.2ms) SELECT * FROM "altered_creditcards"
283
+  (0.2ms) DROP TABLE "altered_creditcards"
284
+  (0.2ms) SELECT * FROM creditcards
285
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160374')
286
+ Migrating to PopulateLegacyShipmentState (20120218160375)
287
+  (0.2ms) SELECT * FROM shipments
288
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160375')
289
+ Migrating to AddCostPrice (20120218160376)
290
+  (0.6ms) ALTER TABLE "variants" ADD "cost_price" decimal(8,2) DEFAULT NULL
291
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160376')
292
+ Migrating to ShipmentIdForInventoryUnits (20120218160377)
293
+  (0.6ms) ALTER TABLE "inventory_units" ADD "shipment_id" integer
294
+  (0.1ms) PRAGMA index_list("inventory_units")
295
+  (0.1ms) PRAGMA index_info('index_inventory_units_on_order_id')
296
+  (0.1ms) PRAGMA index_info('index_inventory_units_on_variant_id')
297
+  (0.3ms) CREATE INDEX "index_inventory_units_on_shipment_id" ON "inventory_units" ("shipment_id")
298
+ Spree::Shipment Load (0.1ms) SELECT "shipments".* FROM "shipments"
299
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160377')
300
+ Migrating to CimFieldsForCreditcards (20120218160378)
301
+  (0.4ms) ALTER TABLE "creditcards" ADD "gateway_customer_profile_id" varchar(255)
302
+  (0.2ms) ALTER TABLE "creditcards" ADD "gateway_payment_profile_id" varchar(255)
303
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160378')
304
+ Migrating to CreateReturnAuthorizations (20120218160379)
305
+  (0.3ms) CREATE TABLE "return_authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255), "state" varchar(255), "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "reason" text, "created_at" datetime, "updated_at" datetime) 
306
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160379')
307
+ Migrating to AddReturnAuthorizationToInventoryUnits (20120218160380)
308
+  (0.8ms) ALTER TABLE "inventory_units" ADD "return_authorization_id" integer
309
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160380')
310
+ Migrating to CreateTrackers (20120218160381)
311
+  (0.3ms) CREATE TABLE "trackers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "environment" varchar(255), "analytics_id" varchar(255), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) 
312
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160381')
313
+ Migrating to CreditcardIdForCreditcardTxns (20120218160382)
314
+  (0.4ms) ALTER TABLE "creditcard_txns" ADD "creditcard_id" integer
315
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160382')
316
+ Migrating to OriginalCreditcardTxnIdForCreditcardTxns (20120218160383)
317
+  (0.6ms) ALTER TABLE "creditcard_txns" ADD "original_creditcard_txn_id" integer
318
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160383')
319
+ Migrating to AddTestModeToBillingIntegration (20120218160384)
320
+  (0.6ms) ALTER TABLE "billing_integrations" ADD "test_mode" boolean DEFAULT 't'
321
+  (0.4ms) ALTER TABLE "billing_integrations" ADD "server" varchar(255) DEFAULT 'test'
322
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160384')
323
+ Migrating to CreateProductsProductGroups (20120218160385)
324
+  (0.5ms) CREATE TABLE "product_groups_products" ("product_id" integer, "product_group_id" integer)
325
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160385')
326
+ Migrating to CreatePaymentMethods (20120218160386)
327
+  (0.6ms) CREATE TABLE "payment_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime, "updated_at" datetime)
328
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160386')
329
+ Migrating to PolymorphicPayments (20120218160387)
330
+  (0.4ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "type" varchar(255), "order_id" integer, "creditcard_id" integer, "created_at" datetime, "updated_at" datetime)
331
+  (0.1ms) PRAGMA index_list("payments")
332
+  (0.2ms) SELECT * FROM "payments"
333
+  (0.5ms) DROP TABLE "payments"
334
+  (0.4ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "creditcard_id" integer, "created_at" datetime, "updated_at" datetime)
335
+  (0.1ms) PRAGMA index_list("altered_payments")
336
+  (0.1ms) SELECT * FROM "altered_payments"
337
+  (0.2ms) DROP TABLE "altered_payments"
338
+  (0.1ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "creditcard_id" integer, "created_at" datetime, "updated_at" datetime)
339
+  (0.0ms) PRAGMA index_list("payments")
340
+  (0.1ms) SELECT * FROM "payments"
341
+  (0.2ms) DROP TABLE "payments"
342
+  (0.1ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime, "updated_at" datetime)
343
+  (0.0ms) PRAGMA index_list("altered_payments")
344
+  (0.1ms) SELECT * FROM "altered_payments"
345
+  (0.1ms) DROP TABLE "altered_payments"
346
+  (0.1ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime, "updated_at" datetime)
347
+  (0.0ms) PRAGMA index_list("payments")
348
+  (0.1ms) SELECT * FROM "payments"
349
+  (0.1ms) DROP TABLE "payments"
350
+  (0.1ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime, "updated_at" datetime)
351
+  (0.0ms) PRAGMA index_list("altered_payments")
352
+  (0.1ms) SELECT * FROM "altered_payments"
353
+  (0.1ms) DROP TABLE "altered_payments"
354
+  (0.2ms) ALTER TABLE "payments" ADD "payable_type" varchar(255)
355
+  (0.2ms) ALTER TABLE "payments" ADD "payment_method" varchar(255)
356
+  (0.2ms) ALTER TABLE "payments" ADD "source_id" integer
357
+  (0.2ms) ALTER TABLE "payments" ADD "source_type" varchar(255)
358
+  (0.0ms) UPDATE payments SET payable_type = 'Order'
359
+ Spree::Creditcard Load (0.1ms) SELECT "creditcards".* FROM "creditcards" 
360
+  (0.2ms) CREATE TEMPORARY TABLE "altered_creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
361
+  (0.0ms) PRAGMA index_list("creditcards")
362
+  (0.1ms) SELECT * FROM "creditcards"
363
+  (0.2ms) DROP TABLE "creditcards"
364
+  (0.2ms) CREATE TABLE "creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
365
+  (0.1ms) PRAGMA index_list("altered_creditcards")
366
+  (0.1ms) SELECT * FROM "altered_creditcards"
367
+  (0.1ms) DROP TABLE "altered_creditcards"
368
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160387')
369
+ Migrating to ChangePaymentsPaymentMethodToBelongsTo (20120218160388)
370
+  (0.4ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime, "updated_at" datetime, "payable_type" varchar(255), "payment_method" varchar(255), "source_id" integer, "source_type" varchar(255)) 
371
+  (0.1ms) PRAGMA index_list("payments")
372
+  (0.3ms) SELECT * FROM "payments"
373
+  (0.5ms) DROP TABLE "payments"
374
+  (0.4ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime, "updated_at" datetime, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255)) 
375
+  (0.1ms) PRAGMA index_list("altered_payments")
376
+  (0.2ms) SELECT * FROM "altered_payments"
377
+  (0.2ms) DROP TABLE "altered_payments"
378
+  (0.5ms) ALTER TABLE "payments" ADD "payment_method_id" integer
379
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160388')
380
+ Migrating to AssignCreditcardTxnsToPayment (20120218160389)
381
+  (0.7ms) ALTER TABLE "creditcard_txns" ADD "payment_id" integer
382
+  (0.2ms) SELECT * FROM creditcard_txns
383
+  (0.4ms) CREATE TEMPORARY TABLE "altered_creditcard_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creditcard_payment_id" integer, "txn_type" integer, "amount" decimal DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime, "updated_at" datetime, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer) 
384
+  (0.1ms) PRAGMA index_list("creditcard_txns")
385
+  (0.2ms) SELECT * FROM "creditcard_txns"
386
+  (0.4ms) DROP TABLE "creditcard_txns"
387
+  (0.2ms) CREATE TABLE "creditcard_txns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "txn_type" integer, "amount" decimal DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime, "updated_at" datetime, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer) 
388
+  (0.0ms) PRAGMA index_list("altered_creditcard_txns")
389
+  (0.1ms) SELECT * FROM "altered_creditcard_txns"
390
+  (0.1ms) DROP TABLE "altered_creditcard_txns"
391
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160389')
392
+ Migrating to StiForTransactions (20120218160390)
393
+  (0.3ms) ALTER TABLE "creditcard_txns" RENAME TO "transactions"
394
+  (0.2ms) ALTER TABLE "transactions" ADD "type" varchar(255)
395
+  (0.2ms) CREATE TEMPORARY TABLE "altered_transactions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "txn_type" integer, "amount" decimal DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime, "updated_at" datetime, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer, "type" varchar(255))
396
+  (0.0ms) PRAGMA index_list("transactions")
397
+  (0.1ms) SELECT * FROM "transactions"
398
+  (0.2ms) DROP TABLE "transactions"
399
+  (0.2ms) CREATE TABLE "transactions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "txn_type" integer, "amount" decimal DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime, "updated_at" datetime, "original_creditcard_txn_id" integer, "payment_id" integer, "type" varchar(255))
400
+  (0.0ms) PRAGMA index_list("altered_transactions")
401
+  (0.1ms) SELECT * FROM "altered_transactions"
402
+  (0.1ms) DROP TABLE "altered_transactions"
403
+  (0.0ms) UPDATE transactions SET type = 'CreditcardTxn'
404
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160390')
405
+ Migrating to DropBillingIntegrations (20120218160391)
406
+  (0.3ms) DROP TABLE "billing_integrations"
407
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160391')
408
+ Migrating to DeletedAtForPaymentMethods (20120218160392)
409
+  (0.3ms) ALTER TABLE "payment_methods" ADD "deleted_at" datetime DEFAULT NULL
410
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160392')
411
+ Migrating to AddAdjustmentsIndex (20120218160393)
412
+  (0.0ms) PRAGMA index_list("adjustments")
413
+  (0.3ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
414
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160393')
415
+ Migrating to FixByPopularity (20120218160394)
416
+  (0.1ms) UPDATE product_scopes SET name='descend_by_popularity' WHERE name='by_popularity'
417
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160394')
418
+ Migrating to AddAltTextToImages (20120218160395)
419
+  (0.4ms) ALTER TABLE "assets" ADD "alt" text
420
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160395')
421
+ Migrating to FixExistingCouponCredits (20120218160396)
422
+  (0.1ms) UPDATE adjustments SET type='PromotionCredit' WHERE type='CouponCredit'
423
+  (0.1ms) UPDATE adjustments SET adjustment_source_type='Promotion' WHERE adjustment_source_type='Coupon'
424
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160396')
425
+ Migrating to AddDisplayToPaymentMethods (20120218160397)
426
+  (0.5ms) ALTER TABLE "payment_methods" ADD "display" varchar(255) DEFAULT NULL
427
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160397')
428
+ Migrating to AddAddressesCheckoutsIndexes (20120218160398)
429
+  (0.0ms) PRAGMA index_list("addresses")
430
+  (0.4ms) CREATE INDEX "index_addresses_on_firstname" ON "addresses" ("firstname")
431
+  (0.1ms) PRAGMA index_list("addresses")
432
+  (0.1ms) PRAGMA index_info('index_addresses_on_firstname')
433
+  (0.2ms) CREATE INDEX "index_addresses_on_lastname" ON "addresses" ("lastname")
434
+  (0.0ms) PRAGMA index_list("checkouts")
435
+  (0.2ms) CREATE INDEX "index_checkouts_on_order_id" ON "checkouts" ("order_id")
436
+  (0.1ms) PRAGMA index_list("checkouts")
437
+  (0.1ms) PRAGMA index_info('index_checkouts_on_order_id')
438
+  (0.3ms) CREATE INDEX "index_checkouts_on_bill_address_id" ON "checkouts" ("bill_address_id")
439
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160398')
440
+ Migrating to AddIconToTaxons (20120218160399)
441
+  (0.8ms) ALTER TABLE "taxons" ADD "icon_file_name" varchar(255)
442
+  (0.5ms) ALTER TABLE "taxons" ADD "icon_content_type" varchar(255)
443
+  (0.6ms) ALTER TABLE "taxons" ADD "icon_file_size" integer
444
+  (0.5ms) ALTER TABLE "taxons" ADD "icon_updated_at" datetime
445
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160399')
446
+ Migrating to AddDescriptionToTaxons (20120218160400)
447
+  (0.8ms) ALTER TABLE "taxons" ADD "description" text
448
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160400')
449
+ Migrating to IndexForShipmentsNumber (20120218160401)
450
+  (0.1ms) PRAGMA index_list("shipments")
451
+  (0.6ms) CREATE INDEX "index_shipments_on_number" ON "shipments" ("number")
452
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160401')
453
+ Migrating to AddIndexOnUsersPersistenceToken (20120218160402)
454
+  (0.1ms) PRAGMA index_list("users")
455
+  (0.1ms) PRAGMA index_info('index_users_on_openid_identifier')
456
+  (0.6ms) CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")
457
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160402')
458
+ Migrating to AddDefaultToTaxCategories (20120218160403)
459
+  (0.7ms) ALTER TABLE "tax_categories" ADD "is_default" boolean DEFAULT 'f'
460
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160403')
461
+ Migrating to AddDisplayToShippingMethods (20120218160404)
462
+  (0.7ms) ALTER TABLE "shipping_methods" ADD "display_on" varchar(255) DEFAULT NULL
463
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160404')
464
+ Migrating to RenamePaymentMethodDisplay (20120218160405)
465
+  (0.5ms) CREATE TEMPORARY TABLE "altered_payment_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime, "updated_at" datetime, "deleted_at" datetime, "display_on" varchar(255)) 
466
+  (0.1ms) PRAGMA index_list("payment_methods")
467
+  (0.3ms) SELECT * FROM "payment_methods"
468
+  (0.5ms) DROP TABLE "payment_methods"
469
+  (0.4ms) CREATE TABLE "payment_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime, "updated_at" datetime, "deleted_at" datetime, "display_on" varchar(255)) 
470
+  (0.1ms) PRAGMA index_list("altered_payment_methods")
471
+  (0.2ms) SELECT * FROM "altered_payment_methods"
472
+  (0.2ms) DROP TABLE "altered_payment_methods"
473
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160405')
474
+ Migrating to RenamePreferencesField (20120218160406)
475
+  (0.4ms) CREATE TEMPORARY TABLE "altered_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime)
476
+  (0.1ms) PRAGMA index_list("preferences")
477
+  (0.3ms) SELECT * FROM "preferences"
478
+  (0.5ms) DROP TABLE "preferences"
479
+  (0.2ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime)
480
+  (0.0ms) PRAGMA index_list("altered_preferences")
481
+  (0.1ms) SELECT * FROM "altered_preferences"
482
+  (0.1ms) DROP TABLE "altered_preferences"
483
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160406')
484
+ Migrating to AddGuestFlag (20120218160407)
485
+  (0.5ms) ALTER TABLE "users" ADD "guest" boolean
486
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160407')
487
+ Migrating to DropOrderToken (20120218160408)
488
+  (0.4ms) CREATE TEMPORARY TABLE "altered_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(15), "item_total" decimal DEFAULT 0.0 NOT NULL, "total" decimal DEFAULT 0.0 NOT NULL, "state" varchar(255), "token" varchar(255), "adjustment_total" decimal DEFAULT 0.0 NOT NULL, "credit_total" decimal DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime, "updated_at" datetime, "completed_at" datetime) 
489
+  (0.1ms) PRAGMA index_list("orders")
490
+  (0.1ms) PRAGMA index_info('index_orders_on_number')
491
+  (0.1ms) PRAGMA index_list("altered_orders")
492
+  (0.3ms) CREATE INDEX "temp_index_altered_orders_on_number" ON "altered_orders" ("number")
493
+  (0.3ms) SELECT * FROM "orders"
494
+  (0.6ms) DROP TABLE "orders"
495
+  (0.2ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(15), "item_total" decimal DEFAULT 0.0 NOT NULL, "total" decimal DEFAULT 0.0 NOT NULL, "state" varchar(255), "adjustment_total" decimal DEFAULT 0.0 NOT NULL, "credit_total" decimal DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime, "updated_at" datetime, "completed_at" datetime)
496
+  (0.0ms) PRAGMA index_list("altered_orders")
497
+  (0.0ms) PRAGMA index_info('temp_index_altered_orders_on_number')
498
+  (0.0ms) PRAGMA index_list("orders")
499
+  (0.1ms) CREATE INDEX "index_orders_on_number" ON "orders" ("number")
500
+  (0.1ms) SELECT * FROM "altered_orders"
501
+  (0.1ms) DROP TABLE "altered_orders"
502
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160408')
503
+ Migrating to PaymentsStateAndAssignedToOrderOnly (20120218160409)
504
+  (0.4ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime, "updated_at" datetime, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)
505
+  (0.1ms) PRAGMA index_list("payments")
506
+  (0.1ms) SELECT * FROM "payments"
507
+  (0.3ms) DROP TABLE "payments"
508
+  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime, "updated_at" datetime, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)
509
+  (0.0ms) PRAGMA index_list("altered_payments")
510
+  (0.1ms) SELECT * FROM "altered_payments"
511
+  (0.1ms) DROP TABLE "altered_payments"
512
+  (0.1ms) CREATE TEMPORARY TABLE "altered_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime, "updated_at" datetime, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)
513
+  (0.0ms) PRAGMA index_list("payments")
514
+  (0.1ms) SELECT * FROM "payments"
515
+  (0.2ms) DROP TABLE "payments"
516
+  (0.2ms) CREATE TABLE "payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime, "updated_at" datetime, "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)
517
+  (0.0ms) PRAGMA index_list("altered_payments")
518
+  (0.1ms) SELECT * FROM "altered_payments"
519
+  (0.1ms) DROP TABLE "altered_payments"
520
+  (0.2ms) ALTER TABLE "payments" ADD "state" varchar(255)
521
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160409')
522
+ Migrating to CreateAddressKeysForOrder (20120218160410)
523
+  (0.4ms) ALTER TABLE "orders" ADD "bill_address_id" integer
524
+  (0.2ms) ALTER TABLE "orders" ADD "ship_address_id" integer
525
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160410')
526
+ Migrating to PaymentTotalForOrders (20120218160411)
527
+  (0.3ms) ALTER TABLE "orders" ADD "payment_total" decimal(8,2) DEFAULT 0.0
528
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160411')
529
+ Migrating to ShippingMethodIdForOrders (20120218160412)
530
+  (0.3ms) ALTER TABLE "orders" ADD "shipping_method_id" integer
531
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160412')
532
+ Migrating to AddShipmentAndPaymentState (20120218160413)
533
+  (0.5ms) ALTER TABLE "orders" ADD "shipment_state" varchar(255)
534
+  (0.3ms) ALTER TABLE "orders" ADD "payment_state" varchar(255)
535
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160413')
536
+ Migrating to RefactorAdjustments (20120218160414)
537
+  (0.4ms) ALTER TABLE "adjustments" ADD "mandatory" boolean
538
+  (0.3ms) ALTER TABLE "adjustments" ADD "frozen" boolean
539
+  (0.2ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean)
540
+  (0.0ms) PRAGMA index_list("adjustments")
541
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
542
+  (0.0ms) PRAGMA index_list("altered_adjustments")
543
+  (0.2ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
544
+  (0.1ms) SELECT * FROM "adjustments"
545
+  (0.3ms) DROP TABLE "adjustments"
546
+  (0.3ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean) 
547
+  (0.0ms) PRAGMA index_list("altered_adjustments")
548
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
549
+  (0.0ms) PRAGMA index_list("adjustments")
550
+  (0.2ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
551
+  (0.1ms) SELECT * FROM "altered_adjustments"
552
+  (0.2ms) DROP TABLE "altered_adjustments"
553
+  (0.2ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean)
554
+  (0.0ms) PRAGMA index_list("adjustments")
555
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
556
+  (0.0ms) PRAGMA index_list("altered_adjustments")
557
+  (0.2ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
558
+  (0.1ms) SELECT * FROM "adjustments"
559
+  (0.2ms) DROP TABLE "adjustments"
560
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean) 
561
+  (0.0ms) PRAGMA index_list("altered_adjustments")
562
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
563
+  (0.0ms) PRAGMA index_list("adjustments")
564
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
565
+  (0.1ms) SELECT * FROM "altered_adjustments"
566
+  (0.1ms) DROP TABLE "altered_adjustments"
567
+  (0.2ms) ALTER TABLE "adjustments" ADD "originator_id" integer
568
+  (0.2ms) ALTER TABLE "adjustments" ADD "originator_type" varchar(255)
569
+  (0.1ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))
570
+  (0.0ms) PRAGMA index_list("adjustments")
571
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
572
+  (0.0ms) PRAGMA index_list("altered_adjustments")
573
+  (0.1ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
574
+  (0.1ms) SELECT * FROM "adjustments"
575
+  (0.1ms) DROP TABLE "adjustments"
576
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255)) 
577
+  (0.0ms) PRAGMA index_list("altered_adjustments")
578
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
579
+  (0.0ms) PRAGMA index_list("adjustments")
580
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
581
+  (0.1ms) SELECT * FROM "altered_adjustments"
582
+  (0.1ms) DROP TABLE "altered_adjustments"
583
+  (0.1ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))
584
+  (0.0ms) PRAGMA index_list("adjustments")
585
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
586
+  (0.0ms) PRAGMA index_list("altered_adjustments")
587
+  (0.1ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
588
+  (0.1ms) SELECT * FROM "adjustments"
589
+  (0.2ms) DROP TABLE "adjustments"
590
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255)) 
591
+  (0.0ms) PRAGMA index_list("altered_adjustments")
592
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
593
+  (0.0ms) PRAGMA index_list("adjustments")
594
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
595
+  (0.1ms) SELECT * FROM "altered_adjustments"
596
+  (0.1ms) DROP TABLE "altered_adjustments"
597
+  (0.1ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))
598
+  (0.0ms) PRAGMA index_list("adjustments")
599
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
600
+  (0.0ms) PRAGMA index_list("altered_adjustments")
601
+  (0.1ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
602
+  (0.1ms) SELECT * FROM "adjustments"
603
+  (0.1ms) DROP TABLE "adjustments"
604
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255)) 
605
+  (0.0ms) PRAGMA index_list("altered_adjustments")
606
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
607
+  (0.0ms) PRAGMA index_list("adjustments")
608
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
609
+  (0.1ms) SELECT * FROM "altered_adjustments"
610
+  (0.1ms) DROP TABLE "altered_adjustments"
611
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160414')
612
+ Migrating to ResponseCodeAndAvsResponseForPayments (20120218160415)
613
+  (0.3ms) ALTER TABLE "payments" ADD "response_code" varchar(255)
614
+  (0.2ms) ALTER TABLE "payments" ADD "avs_response" varchar(255)
615
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160415')
616
+ Migrating to ChangeGuestFlagToAnonymous (20120218160416)
617
+  (0.3ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255), "anonymous" boolean)
618
+  (0.0ms) PRAGMA index_list("users")
619
+  (0.0ms) PRAGMA index_info('index_users_on_persistence_token')
620
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
621
+  (0.0ms) PRAGMA index_list("altered_users")
622
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_persistence_token" ON "altered_users" ("persistence_token")
623
+  (0.0ms) PRAGMA index_list("altered_users")
624
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_persistence_token')
625
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")
626
+  (0.2ms) SELECT * FROM "users"
627
+  (0.4ms) DROP TABLE "users"
628
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255), "anonymous" boolean) 
629
+  (0.0ms) PRAGMA index_list("altered_users")
630
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_openid_identifier')
631
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_persistence_token')
632
+  (0.0ms) PRAGMA index_list("users")
633
+  (0.1ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
634
+  (0.0ms) PRAGMA index_list("users")
635
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
636
+  (0.1ms) CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")
637
+  (0.1ms) SELECT * FROM "altered_users"
638
+  (0.1ms) DROP TABLE "altered_users"
639
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160416')
640
+ Migrating to EmailForOrders (20120218160417)
641
+  (0.4ms) ALTER TABLE "orders" ADD "email" varchar(255)
642
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160417')
643
+ Migrating to CreateMailMethods (20120218160418)
644
+  (0.3ms) CREATE TABLE "mail_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "environment" varchar(255), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) 
645
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160418')
646
+ Migrating to RenameFrozenToLocked (20120218160419)
647
+  (0.2ms) CREATE TEMPORARY TABLE "altered_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255)) 
648
+  (0.0ms) PRAGMA index_list("adjustments")
649
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
650
+  (0.0ms) PRAGMA index_list("altered_adjustments")
651
+  (0.1ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")
652
+  (0.1ms) SELECT * FROM "adjustments"
653
+  (0.3ms) DROP TABLE "adjustments"
654
+  (0.2ms) CREATE TABLE "adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255))
655
+  (0.0ms) PRAGMA index_list("altered_adjustments")
656
+  (0.0ms) PRAGMA index_info('temp_index_altered_adjustments_on_order_id')
657
+  (0.0ms) PRAGMA index_list("adjustments")
658
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")
659
+  (0.1ms) SELECT * FROM "altered_adjustments"
660
+  (0.1ms) DROP TABLE "altered_adjustments"
661
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160419')
662
+ Migrating to MoveSpecialInstructionsToOrders (20120218160420)
663
+  (0.4ms) ALTER TABLE "orders" ADD "special_instructions" text
664
+  (0.1ms) UPDATE orders SET special_instructions = (SELECT special_instructions FROM checkouts WHERE order_id = orders.id)
665
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160420')
666
+ Migrating to CreateLogEntries (20120218160421)
667
+  (0.3ms) CREATE TABLE "log_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "source_type" varchar(255), "details" text, "created_at" datetime, "updated_at" datetime) 
668
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160421')
669
+ Migrating to MigrateTransactionsToPaymentState (20120218160422)
670
+ Transaction Load (0.3ms) SELECT * FROM transactions GROUP BY payment_id HAVING COUNT(payment_id) = 1 AND txn_type = 1
671
+ Transaction Load (0.1ms) SELECT * FROM transactions WHERE txn_type = 4
672
+ Transaction Load (0.1ms) SELECT * FROM transactions WHERE txn_type = 2
673
+ Transaction Load (0.1ms) SELECT * FROM transactions WHERE txn_type = 3
674
+ Transaction Load (0.1ms) SELECT * FROM transactions WHERE txn_type = 5
675
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160422')
676
+ Migrating to DeleteInProgressOrders (20120218160423)
677
+  (0.2ms) DELETE FROM orders WHERE orders.state = 'in_progress'
678
+  (0.1ms) DELETE FROM adjustments WHERE order_id NOT IN (SELECT id FROM orders)
679
+  (0.1ms) DELETE FROM checkouts WHERE order_id NOT IN (SELECT id FROM orders)
680
+  (0.1ms) DELETE FROM shipments WHERE order_id NOT IN (SELECT id FROM orders)
681
+  (0.1ms) DELETE FROM payments WHERE order_id NOT IN (SELECT id FROM orders)
682
+  (0.1ms) DELETE FROM line_items WHERE order_id NOT IN (SELECT id FROM orders)
683
+  (0.1ms) DELETE FROM inventory_units WHERE order_id NOT IN (SELECT id FROM orders)
684
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160423')
685
+ Migrating to MigrateCheckoutToOrders (20120218160424)
686
+  (0.3ms) SELECT * FROM orders
687
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160424')
688
+ Migrating to RemoveShippedState (20120218160425)
689
+  (0.2ms) UPDATE orders SET state = 'complete' WHERE state = 'shipped'
690
+  (0.1ms) SELECT shipments.id FROM shipments WHERE order_id IN (SELECT orders.id FROM orders WHERE orders.state = 'shipped')
691
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160425')
692
+ Migrating to PreventNilPaymentTotal (20120218160426)
693
+  (0.2ms) UPDATE orders SET payment_total = 0.0 WHERE payment_total IS NULL
694
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160426')
695
+ Migrating to PreventNilEmail (20120218160427)
696
+  (0.2ms) UPDATE orders SET email = 'guest@example.com' WHERE email IS NULL
697
+  (0.1ms) UPDATE orders SET email = 'guest@example.com' WHERE email = ''
698
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160427')
699
+ Migrating to GenerateAnonymousUsers (20120218160428)
700
+ Spree::Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."user_id" IS NULL
701
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160428')
702
+ Migrating to UpdateOrderState (20120218160429)
703
+ Spree::Order Load (0.2ms) SELECT "orders".* FROM "orders" 
704
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160429')
705
+ Migrating to CleanupLegacyTables (20120218160430)
706
+  (0.3ms) DROP TABLE "checkouts"
707
+  (0.2ms) DROP TABLE "transactions"
708
+  (0.2ms) DROP TABLE "open_id_authentication_associations"
709
+  (0.1ms) DROP TABLE "open_id_authentication_nonces"
710
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160430')
711
+ Migrating to RemoveNumberAndCvvFromCredicard (20120218160431)
712
+  (0.2ms) CREATE TEMPORARY TABLE "altered_creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
713
+  (0.0ms) PRAGMA index_list("creditcards")
714
+  (0.2ms) SELECT * FROM "creditcards"
715
+  (0.2ms) DROP TABLE "creditcards"
716
+  (0.2ms) CREATE TABLE "creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
717
+  (0.0ms) PRAGMA index_list("altered_creditcards")
718
+  (0.1ms) SELECT * FROM "altered_creditcards"
719
+  (0.1ms) DROP TABLE "altered_creditcards"
720
+  (0.2ms) CREATE TEMPORARY TABLE "altered_creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
721
+  (0.0ms) PRAGMA index_list("creditcards")
722
+  (0.1ms) SELECT * FROM "creditcards"
723
+  (0.2ms) DROP TABLE "creditcards"
724
+  (0.2ms) CREATE TABLE "creditcards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))
725
+  (0.0ms) PRAGMA index_list("altered_creditcards")
726
+  (0.1ms) SELECT * FROM "altered_creditcards"
727
+  (0.1ms) DROP TABLE "altered_creditcards"
728
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160431')
729
+ Migrating to DropAnonymousFieldForUser (20120218160432)
730
+  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255), "anonymous" boolean) 
731
+  (0.0ms) PRAGMA index_list("users")
732
+  (0.0ms) PRAGMA index_info('index_users_on_persistence_token')
733
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
734
+  (0.0ms) PRAGMA index_list("altered_users")
735
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_persistence_token" ON "altered_users" ("persistence_token")
736
+  (0.0ms) PRAGMA index_list("altered_users")
737
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_persistence_token')
738
+  (0.1ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")
739
+  (0.2ms) SELECT * FROM "users"
740
+  (0.3ms) DROP TABLE "users"
741
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime, "updated_at" datetime, "openid_identifier" varchar(255))
742
+  (0.0ms) PRAGMA index_list("altered_users")
743
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_openid_identifier')
744
+  (0.0ms) PRAGMA index_info('temp_index_altered_users_on_persistence_token')
745
+  (0.0ms) PRAGMA index_list("users")
746
+  (0.1ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")
747
+  (0.0ms) PRAGMA index_list("users")
748
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
749
+  (0.2ms) CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")
750
+  (0.3ms) SELECT * FROM "altered_users"
751
+  (0.2ms) DROP TABLE "altered_users"
752
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160432')
753
+ Migrating to RenamedRmaCancelledState (20120218160433)
754
+  (0.1ms) UPDATE return_authorizations SET state = 'canceled' WHERE state = 'cancelled'
755
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160433')
756
+ Migrating to FixProblematicIndexNames (20120218160434)
757
+  (0.0ms) PRAGMA index_list("preferences")
758
+  (0.0ms) PRAGMA index_list("preferences")
759
+  (0.3ms) CREATE UNIQUE INDEX "ix_prefs_on_owner_attr_pref" ON "preferences" ("owner_id", "owner_type", "name", "group_id", "group_type")
760
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160434')
761
+ Migrating to AddPositionToVariants (20120218160435)
762
+  (0.4ms) ALTER TABLE "variants" ADD "position" integer
763
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160435')
764
+ Migrating to AddNextStateToStateEvents (20120218160436)
765
+  (0.3ms) ALTER TABLE "state_events" ADD "next_state" varchar(255)
766
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160436')
767
+ Migrating to AddPositionToOptionTypes (20120218160437)
768
+  (0.4ms) ALTER TABLE "option_types" ADD "position" integer DEFAULT 0 NOT NULL
769
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160437')
770
+ Migrating to RemoveTrailingSlashesInTaxonPermalinks (20120218160438)
771
+  (0.2ms) SELECT * FROM taxons
772
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160438')
773
+ Migrating to CreateActivators (20120218160439)
774
+  (0.3ms) CREATE TABLE "activators" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "expires_at" datetime, "created_at" datetime, "updated_at" datetime, "starts_at" datetime, "name" varchar(255), "event_name" varchar(255), "type" varchar(255))
775
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160439')
776
+ Migrating to EligibleForAdjustments (20120218160440)
777
+  (0.5ms) ALTER TABLE "adjustments" ADD "eligible" boolean DEFAULT 't'
778
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160440')
779
+ Migrating to NamespaceTopLevelModels (20120218160441)
780
+  (0.5ms) ALTER TABLE "activators" RENAME TO "spree_activators"
781
+  (0.4ms) ALTER TABLE "addresses" RENAME TO "spree_addresses"
782
+  (0.4ms) ALTER TABLE "adjustments" RENAME TO "spree_adjustments"
783
+  (0.3ms) ALTER TABLE "configurations" RENAME TO "spree_configurations"
784
+  (0.4ms) ALTER TABLE "assets" RENAME TO "spree_assets"
785
+  (0.3ms) ALTER TABLE "calculators" RENAME TO "spree_calculators"
786
+  (0.3ms) ALTER TABLE "countries" RENAME TO "spree_countries"
787
+  (0.4ms) ALTER TABLE "creditcards" RENAME TO "spree_creditcards"
788
+  (0.4ms) ALTER TABLE "gateways" RENAME TO "spree_gateways"
789
+  (0.4ms) ALTER TABLE "inventory_units" RENAME TO "spree_inventory_units"
790
+  (0.4ms) ALTER TABLE "line_items" RENAME TO "spree_line_items"
791
+  (0.3ms) ALTER TABLE "log_entries" RENAME TO "spree_log_entries"
792
+  (0.4ms) ALTER TABLE "mail_methods" RENAME TO "spree_mail_methods"
793
+  (0.3ms) ALTER TABLE "option_types" RENAME TO "spree_option_types"
794
+  (0.3ms) ALTER TABLE "option_values" RENAME TO "spree_option_values"
795
+  (0.3ms) ALTER TABLE "option_types_prototypes" RENAME TO "spree_option_types_prototypes"
796
+  (0.4ms) ALTER TABLE "option_values_variants" RENAME TO "spree_option_values_variants"
797
+  (0.4ms) ALTER TABLE "orders" RENAME TO "spree_orders"
798
+  (0.3ms) ALTER TABLE "payments" RENAME TO "spree_payments"
799
+  (0.4ms) ALTER TABLE "payment_methods" RENAME TO "spree_payment_methods"
800
+  (0.4ms) ALTER TABLE "preferences" RENAME TO "spree_preferences"
801
+  (0.5ms) ALTER TABLE "products" RENAME TO "spree_products"
802
+  (0.4ms) ALTER TABLE "product_groups" RENAME TO "spree_product_groups"
803
+  (0.3ms) ALTER TABLE "product_groups_products" RENAME TO "spree_product_groups_products"
804
+  (0.3ms) ALTER TABLE "product_option_types" RENAME TO "spree_product_option_types"
805
+  (0.3ms) ALTER TABLE "product_properties" RENAME TO "spree_product_properties"
806
+  (0.2ms) ALTER TABLE "product_scopes" RENAME TO "spree_product_scopes"
807
+  (0.2ms) ALTER TABLE "products_taxons" RENAME TO "spree_products_taxons"
808
+  (0.2ms) ALTER TABLE "properties" RENAME TO "spree_properties"
809
+  (0.2ms) ALTER TABLE "prototypes" RENAME TO "spree_prototypes"
810
+  (0.2ms) ALTER TABLE "properties_prototypes" RENAME TO "spree_properties_prototypes"
811
+  (0.2ms) ALTER TABLE "return_authorizations" RENAME TO "spree_return_authorizations"
812
+  (0.2ms) ALTER TABLE "roles" RENAME TO "spree_roles"
813
+  (0.2ms) ALTER TABLE "roles_users" RENAME TO "spree_roles_users"
814
+  (0.2ms) ALTER TABLE "shipments" RENAME TO "spree_shipments"
815
+  (0.2ms) ALTER TABLE "shipping_categories" RENAME TO "spree_shipping_categories"
816
+  (0.2ms) ALTER TABLE "shipping_methods" RENAME TO "spree_shipping_methods"
817
+  (0.2ms) ALTER TABLE "states" RENAME TO "spree_states"
818
+  (0.2ms) ALTER TABLE "state_events" RENAME TO "spree_state_events"
819
+  (0.2ms) ALTER TABLE "tax_categories" RENAME TO "spree_tax_categories"
820
+  (0.2ms) ALTER TABLE "tax_rates" RENAME TO "spree_tax_rates"
821
+  (0.3ms) ALTER TABLE "taxons" RENAME TO "spree_taxons"
822
+  (0.2ms) ALTER TABLE "taxonomies" RENAME TO "spree_taxonomies"
823
+  (0.2ms) ALTER TABLE "trackers" RENAME TO "spree_trackers"
824
+  (0.3ms) ALTER TABLE "users" RENAME TO "spree_users"
825
+  (0.2ms) ALTER TABLE "variants" RENAME TO "spree_variants"
826
+  (0.2ms) ALTER TABLE "zones" RENAME TO "spree_zones"
827
+  (0.2ms) ALTER TABLE "zone_members" RENAME TO "spree_zone_members"
828
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160441')
829
+ Migrating to MigrateNamespacedPolymorphicModels (20120218160442)
830
+  (0.1ms) UPDATE spree_payments SET source_type = ('Spree::' || source_type) where source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL
831
+  (0.1ms) UPDATE spree_adjustments SET source_type = ('Spree::' || source_type) where source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL
832
+  (0.1ms) UPDATE spree_log_entries SET source_type = ('Spree::' || source_type) where source_type NOT LIKE 'Spree::%' AND source_type IS NOT NULL
833
+  (0.1ms) UPDATE spree_adjustments SET originator_type = ('Spree::' || originator_type) where originator_type NOT LIKE 'Spree::%' AND originator_type IS NOT NULL
834
+  (0.1ms) UPDATE spree_calculators SET calculable_type = ('Spree::' || calculable_type) where calculable_type NOT LIKE 'Spree::%' AND calculable_type IS NOT NULL
835
+  (0.1ms) UPDATE spree_preferences SET owner_type = ('Spree::' || owner_type) where owner_type NOT LIKE 'Spree::%' AND owner_type IS NOT NULL
836
+  (0.1ms) UPDATE spree_state_events SET stateful_type = ('Spree::' || stateful_type) where stateful_type NOT LIKE 'Spree::%' AND stateful_type IS NOT NULL
837
+  (0.1ms) UPDATE spree_activators SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
838
+  (0.1ms) UPDATE spree_assets SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
839
+  (0.1ms) UPDATE spree_calculators SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
840
+  (0.1ms) UPDATE spree_configurations SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
841
+  (0.1ms) UPDATE spree_gateways SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
842
+  (0.1ms) UPDATE spree_payment_methods SET type = ('Spree::' || type) where type NOT LIKE 'Spree::%' AND type IS NOT NULL
843
+  (0.1ms) UPDATE spree_assets SET viewable_type = ('Spree::' || viewable_type) where viewable_type NOT LIKE 'Spree::%' AND viewable_type IS NOT NULL
844
+  (0.1ms) UPDATE spree_zone_members SET zoneable_type = ('Spree::' || zoneable_type) where zoneable_type NOT LIKE 'Spree::%' AND zoneable_type IS NOT NULL
845
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160442')
846
+ Migrating to MakeAdjustmentsPolymorphic (20120218160443)
847
+  (0.4ms) ALTER TABLE "spree_adjustments" ADD "adjustable_type" varchar(255)
848
+  (0.2ms) CREATE TEMPORARY TABLE "altered_spree_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "adjustable_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255), "eligible" boolean DEFAULT 't', "adjustable_type" varchar(255))
849
+  (0.0ms) PRAGMA index_list("spree_adjustments")
850
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
851
+  (0.0ms) PRAGMA index_list("altered_spree_adjustments")
852
+  (0.1ms) CREATE INDEX "temp_index_adjustments_on_order_id" ON "altered_spree_adjustments" ("adjustable_id")
853
+  (0.1ms) SELECT * FROM "spree_adjustments"
854
+  (0.2ms) DROP TABLE "spree_adjustments"
855
+  (0.2ms) CREATE TABLE "spree_adjustments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "source_id" integer, "amount" decimal, "label" varchar(255), "source_type" varchar(255), "adjustable_id" integer, "created_at" datetime, "updated_at" datetime, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255), "eligible" boolean DEFAULT 't', "adjustable_type" varchar(255)) 
856
+  (0.0ms) PRAGMA index_list("altered_spree_adjustments")
857
+  (0.0ms) PRAGMA index_info('temp_index_adjustments_on_order_id')
858
+  (0.0ms) PRAGMA index_list("spree_adjustments")
859
+  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "spree_adjustments" ("adjustable_id")
860
+  (0.1ms) SELECT * FROM "altered_spree_adjustments"
861
+  (0.1ms) DROP TABLE "altered_spree_adjustments"
862
+  (0.0ms) UPDATE spree_adjustments SET adjustable_type = 'Spree::Order'
863
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160443')
864
+ Migrating to AddCompanyToAddresses (20120218160444)
865
+  (0.4ms) ALTER TABLE "spree_addresses" ADD "company" varchar(255)
866
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160444')
867
+ Migrating to AddIncTaxToTaxRates (20120218160445)
868
+  (0.3ms) ALTER TABLE "spree_tax_rates" ADD "inc_tax" boolean DEFAULT 'f'
869
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160445')
870
+ Migrating to RenameIncPriceAttribute (20120218160446)
871
+  (0.2ms) CREATE TEMPORARY TABLE "altered_spree_tax_rates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "zone_id" integer, "tax_category_id" integer, "created_at" datetime, "updated_at" datetime, "included_in_price" boolean DEFAULT 'f')
872
+  (0.0ms) PRAGMA index_list("spree_tax_rates")
873
+  (0.1ms) SELECT * FROM "spree_tax_rates"
874
+  (0.2ms) DROP TABLE "spree_tax_rates"
875
+  (0.2ms) CREATE TABLE "spree_tax_rates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal, "zone_id" integer, "tax_category_id" integer, "created_at" datetime, "updated_at" datetime, "included_in_price" boolean DEFAULT 'f')
876
+  (0.0ms) PRAGMA index_list("altered_spree_tax_rates")
877
+  (0.1ms) SELECT * FROM "altered_spree_tax_rates"
878
+  (0.1ms) DROP TABLE "altered_spree_tax_rates"
879
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160446')
880
+ Migrating to AddDefaultTaxZone (20120218160447)
881
+  (0.4ms) ALTER TABLE "spree_zones" ADD "default_tax" boolean DEFAULT 'f'
882
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160447')
883
+ Migrating to AssociateShippingMethodsAndShippingCategories (20120218160448)
884
+  (0.4ms) ALTER TABLE "spree_shipping_methods" ADD "shipping_category_id" integer
885
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160448')
886
+ Migrating to AddMatchRulesToShippingMethods (20120218160449)
887
+  (0.4ms) ALTER TABLE "spree_shipping_methods" ADD "match_none" boolean
888
+  (0.3ms) ALTER TABLE "spree_shipping_methods" ADD "match_all" boolean
889
+  (0.2ms) ALTER TABLE "spree_shipping_methods" ADD "match_one" boolean
890
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160449')
891
+ Migrating to NewPreferences (20120218160450)
892
+  (0.5ms) ALTER TABLE "spree_preferences" ADD "key" varchar(255)
893
+  (0.3ms) ALTER TABLE "spree_preferences" ADD "value_type" varchar(255)
894
+  (0.1ms) PRAGMA index_list("spree_preferences")
895
+  (0.1ms) PRAGMA index_info('ix_prefs_on_owner_attr_pref')
896
+  (0.3ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
897
+  (0.1ms) PRAGMA index_list("spree_preferences")
898
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
899
+  (0.1ms) PRAGMA index_info('ix_prefs_on_owner_attr_pref')
900
+  (0.2ms) DROP INDEX "ix_prefs_on_owner_attr_pref"
901
+  (0.2ms) CREATE TEMPORARY TABLE "altered_spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255))
902
+  (0.0ms) PRAGMA index_list("spree_preferences")
903
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
904
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
905
+  (0.2ms) CREATE UNIQUE INDEX "temp_index_altered_spree_preferences_on_key" ON "altered_spree_preferences" ("key")
906
+  (0.1ms) SELECT * FROM "spree_preferences"
907
+  (0.3ms) DROP TABLE "spree_preferences"
908
+  (0.2ms) CREATE TABLE "spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255)) 
909
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
910
+  (0.0ms) PRAGMA index_info('temp_index_altered_spree_preferences_on_key')
911
+  (0.0ms) PRAGMA index_list("spree_preferences")
912
+  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
913
+  (0.1ms) SELECT * FROM "altered_spree_preferences"
914
+  (0.1ms) DROP TABLE "altered_spree_preferences"
915
+  (0.1ms) CREATE TEMPORARY TABLE "altered_spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255))
916
+  (0.0ms) PRAGMA index_list("spree_preferences")
917
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
918
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
919
+  (0.1ms) CREATE UNIQUE INDEX "temp_index_altered_spree_preferences_on_key" ON "altered_spree_preferences" ("key")
920
+  (0.1ms) SELECT * FROM "spree_preferences"
921
+  (0.1ms) DROP TABLE "spree_preferences"
922
+  (0.2ms) CREATE TABLE "spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255)) 
923
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
924
+  (0.0ms) PRAGMA index_info('temp_index_altered_spree_preferences_on_key')
925
+  (0.0ms) PRAGMA index_list("spree_preferences")
926
+  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
927
+  (0.1ms) SELECT * FROM "altered_spree_preferences"
928
+  (0.1ms) DROP TABLE "altered_spree_preferences"
929
+  (0.1ms) CREATE TEMPORARY TABLE "altered_spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255))
930
+  (0.0ms) PRAGMA index_list("spree_preferences")
931
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
932
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
933
+  (0.1ms) CREATE UNIQUE INDEX "temp_index_altered_spree_preferences_on_key" ON "altered_spree_preferences" ("key")
934
+  (0.1ms) SELECT * FROM "spree_preferences"
935
+  (0.1ms) DROP TABLE "spree_preferences"
936
+  (0.2ms) CREATE TABLE "spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50), "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255)) 
937
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
938
+  (0.0ms) PRAGMA index_info('temp_index_altered_spree_preferences_on_key')
939
+  (0.0ms) PRAGMA index_list("spree_preferences")
940
+  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
941
+  (0.1ms) SELECT * FROM "altered_spree_preferences"
942
+  (0.1ms) DROP TABLE "altered_spree_preferences"
943
+  (0.1ms) CREATE TEMPORARY TABLE "altered_spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50), "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255))
944
+  (0.0ms) PRAGMA index_list("spree_preferences")
945
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
946
+  (0.1ms) PRAGMA index_list("altered_spree_preferences")
947
+  (0.1ms) CREATE UNIQUE INDEX "temp_index_altered_spree_preferences_on_key" ON "altered_spree_preferences" ("key")
948
+  (0.1ms) SELECT * FROM "spree_preferences"
949
+  (0.1ms) DROP TABLE "spree_preferences"
950
+  (0.2ms) CREATE TABLE "spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50), "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255)) 
951
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
952
+  (0.0ms) PRAGMA index_info('temp_index_altered_spree_preferences_on_key')
953
+  (0.0ms) PRAGMA index_list("spree_preferences")
954
+  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
955
+  (0.1ms) SELECT * FROM "altered_spree_preferences"
956
+  (0.1ms) DROP TABLE "altered_spree_preferences"
957
+  (0.1ms) CREATE TEMPORARY TABLE "altered_spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50), "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255))
958
+  (0.0ms) PRAGMA index_list("spree_preferences")
959
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
960
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
961
+  (0.1ms) CREATE UNIQUE INDEX "temp_index_altered_spree_preferences_on_key" ON "altered_spree_preferences" ("key")
962
+  (0.1ms) SELECT * FROM "spree_preferences"
963
+  (0.1ms) DROP TABLE "spree_preferences"
964
+  (0.2ms) CREATE TABLE "spree_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "owner_id" integer(30), "owner_type" varchar(50), "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime, "updated_at" datetime, "key" varchar(255), "value_type" varchar(255)) 
965
+  (0.0ms) PRAGMA index_list("altered_spree_preferences")
966
+  (0.0ms) PRAGMA index_info('temp_index_altered_spree_preferences_on_key')
967
+  (0.0ms) PRAGMA index_list("spree_preferences")
968
+  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
969
+  (0.1ms) SELECT * FROM "altered_spree_preferences"
970
+  (0.1ms) DROP TABLE "altered_spree_preferences"
971
+  (0.0ms) select id, type from spree_configurations
972
+  (0.1ms) select id, owner_id, name from spree_preferences where owner_type = 'Spree::Configuration'
973
+ Spree::Preference Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."owner_type" = 'Spree::Calculator'
974
+ Spree::OldPrefs Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" IS NULL
975
+ SQL (0.0ms) UPDATE "spree_preferences" SET "value_type" = 'string' WHERE "spree_preferences"."value_type" IS NULL
976
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160450')
977
+ Migrating to AddDeletedAtToTaxCategory (20120218160451)
978
+  (0.3ms) ALTER TABLE "spree_tax_categories" ADD "deleted_at" datetime
979
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120218160451')
980
+  (0.1ms) select sqlite_version(*)
981
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
982
+  (0.0ms) PRAGMA index_list("coupons")
983
+  (0.0ms) PRAGMA index_list("spree_activators")
984
+  (0.0ms) PRAGMA index_list("spree_addresses")
985
+  (0.0ms) PRAGMA index_info('index_addresses_on_lastname')
986
+  (0.0ms) PRAGMA index_info('index_addresses_on_firstname')
987
+  (0.0ms) PRAGMA index_list("spree_adjustments")
988
+  (0.0ms) PRAGMA index_info('index_adjustments_on_order_id')
989
+  (0.0ms) PRAGMA index_list("spree_assets")
990
+  (0.0ms) PRAGMA index_info('index_assets_on_viewable_type_and_type')
991
+  (0.0ms) PRAGMA index_info('index_assets_on_viewable_id')
992
+  (0.0ms) PRAGMA index_list("spree_calculators")
993
+  (0.0ms) PRAGMA index_list("spree_configurations")
994
+  (0.0ms) PRAGMA index_info('index_configurations_on_name_and_type')
995
+  (0.0ms) PRAGMA index_list("spree_countries")
996
+  (0.0ms) PRAGMA index_list("spree_creditcards")
997
+  (0.0ms) PRAGMA index_list("spree_gateways")
998
+  (83.2ms) PRAGMA index_list("spree_inventory_units")
999
+  (0.1ms) PRAGMA index_info('index_inventory_units_on_shipment_id')
1000
+  (0.0ms) PRAGMA index_info('index_inventory_units_on_order_id')
1001
+  (0.0ms) PRAGMA index_info('index_inventory_units_on_variant_id')
1002
+  (0.0ms) PRAGMA index_list("spree_line_items")
1003
+  (0.0ms) PRAGMA index_info('index_line_items_on_variant_id')
1004
+  (0.0ms) PRAGMA index_info('index_line_items_on_order_id')
1005
+  (0.0ms) PRAGMA index_list("spree_log_entries")
1006
+  (0.0ms) PRAGMA index_list("spree_mail_methods")
1007
+  (0.0ms) PRAGMA index_list("spree_option_types")
1008
+  (0.0ms) PRAGMA index_list("spree_option_types_prototypes")
1009
+  (0.0ms) PRAGMA index_list("spree_option_values")
1010
+  (0.0ms) PRAGMA index_list("spree_option_values_variants")
1011
+  (0.0ms) PRAGMA index_info('index_option_values_variants_on_variant_id_and_option_value_id')
1012
+  (0.0ms) PRAGMA index_info('index_option_values_variants_on_variant_id')
1013
+  (0.0ms) PRAGMA index_list("spree_orders")
1014
+  (0.0ms) PRAGMA index_info('index_orders_on_number')
1015
+  (0.0ms) PRAGMA index_list("spree_payment_methods")
1016
+  (0.0ms) PRAGMA index_list("spree_payments")
1017
+  (0.0ms) PRAGMA index_list("spree_preferences")
1018
+  (0.0ms) PRAGMA index_info('index_spree_preferences_on_key')
1019
+  (0.0ms) PRAGMA index_list("spree_product_groups")
1020
+  (0.0ms) PRAGMA index_info('index_product_groups_on_permalink')
1021
+  (0.0ms) PRAGMA index_info('index_product_groups_on_name')
1022
+  (0.0ms) PRAGMA index_list("spree_product_groups_products")
1023
+  (0.0ms) PRAGMA index_list("spree_product_option_types")
1024
+  (0.0ms) PRAGMA index_list("spree_product_properties")
1025
+  (0.0ms) PRAGMA index_info('index_product_properties_on_product_id')
1026
+  (0.0ms) PRAGMA index_list("spree_product_scopes")
1027
+  (0.0ms) PRAGMA index_info('index_product_scopes_on_product_group_id')
1028
+  (0.0ms) PRAGMA index_info('index_product_scopes_on_name')
1029
+  (0.0ms) PRAGMA index_list("spree_products")
1030
+  (0.0ms) PRAGMA index_info('index_products_on_permalink')
1031
+  (0.0ms) PRAGMA index_info('index_products_on_name')
1032
+  (0.0ms) PRAGMA index_info('index_products_on_deleted_at')
1033
+  (0.0ms) PRAGMA index_info('index_products_on_available_on')
1034
+  (0.0ms) PRAGMA index_list("spree_products_taxons")
1035
+  (0.0ms) PRAGMA index_info('index_products_taxons_on_taxon_id')
1036
+  (0.0ms) PRAGMA index_info('index_products_taxons_on_product_id')
1037
+  (0.0ms) PRAGMA index_list("spree_properties")
1038
+  (0.0ms) PRAGMA index_list("spree_properties_prototypes")
1039
+  (0.0ms) PRAGMA index_list("spree_prototypes")
1040
+  (0.0ms) PRAGMA index_list("spree_return_authorizations")
1041
+  (0.0ms) PRAGMA index_list("spree_roles")
1042
+  (0.0ms) PRAGMA index_list("spree_roles_users")
1043
+  (0.0ms) PRAGMA index_info('index_roles_users_on_user_id')
1044
+  (0.0ms) PRAGMA index_info('index_roles_users_on_role_id')
1045
+  (0.0ms) PRAGMA index_list("spree_shipments")
1046
+  (0.0ms) PRAGMA index_info('index_shipments_on_number')
1047
+  (0.0ms) PRAGMA index_list("spree_shipping_categories")
1048
+  (0.0ms) PRAGMA index_list("spree_shipping_methods")
1049
+  (0.0ms) PRAGMA index_list("spree_state_events")
1050
+  (0.0ms) PRAGMA index_list("spree_states")
1051
+  (0.0ms) PRAGMA index_list("spree_tax_categories")
1052
+  (0.0ms) PRAGMA index_list("spree_tax_rates")
1053
+  (0.0ms) PRAGMA index_list("spree_taxonomies")
1054
+  (0.0ms) PRAGMA index_list("spree_taxons")
1055
+  (0.0ms) PRAGMA index_info('index_taxons_on_taxonomy_id')
1056
+  (0.0ms) PRAGMA index_info('index_taxons_on_parent_id')
1057
+  (0.0ms) PRAGMA index_info('index_taxons_on_permalink')
1058
+  (0.0ms) PRAGMA index_list("spree_trackers")
1059
+  (0.0ms) PRAGMA index_list("spree_users")
1060
+  (0.0ms) PRAGMA index_info('index_users_on_persistence_token')
1061
+  (0.0ms) PRAGMA index_info('index_users_on_openid_identifier')
1062
+  (0.0ms) PRAGMA index_list("spree_variants")
1063
+  (0.0ms) PRAGMA index_info('index_variants_on_product_id')
1064
+  (0.0ms) PRAGMA index_list("spree_zone_members")
1065
+  (0.0ms) PRAGMA index_list("spree_zones")
1066
+  (1.3ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1067
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1068
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1069
+  (1.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1070
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1071
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1072
+  (1.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1073
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1074
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1075
+  (1.3ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1076
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1077
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1078
+  (1.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1079
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1080
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1081
+  (1.3ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1082
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1083
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1084
+  (1.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1085
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1086
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1087
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1088
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1089
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1090
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1091
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1092
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1093
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1094
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1095
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1096
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1097
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1098
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1099
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1100
+ Spree::MailMethod Load (0.2ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1101
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1102
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1103
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1104
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1105
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1106
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1107
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1108
+  (1.6ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1109
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1110
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1111
+  (1.7ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1112
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1113
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1114
+  (2.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1115
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1116
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1117
+  (6.0ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1118
+ Spree::MailMethod Load (0.3ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1119
+ Spree::Property Load (0.2ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1120
+  (5.6ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1121
+  (2.4ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1122
+ Spree::MailMethod Load (0.2ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1123
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1124
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1125
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1126
+ Spree::MailMethod Load (0.5ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1127
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1128
+  (2.2ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1129
+ Spree::MailMethod Load (0.5ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1130
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1131
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1132
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1133
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1
1134
+  (1.5ms) select owner_id, owner_type, name, value from spree_preferences where `key` is null
1135
+ Spree::MailMethod Load (0.1ms) SELECT "spree_mail_methods".* FROM "spree_mail_methods" WHERE "spree_mail_methods"."environment" = 'test' LIMIT 1
1136
+ Spree::Property Load (0.1ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'brand' LIMIT 1