solidus_bank_transfer 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +26 -0
  3. data/README.md +63 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/javascripts/spree/backend/solidus_bank_transfer.js +2 -0
  6. data/app/assets/javascripts/spree/frontend/solidus_bank_transfer.js +2 -0
  7. data/app/assets/stylesheets/spree/backend/solidus_bank_transfer.css +4 -0
  8. data/app/assets/stylesheets/spree/frontend/solidus_bank_transfer.css +4 -0
  9. data/app/models/spree/payment_method/bank_transfer.rb +46 -0
  10. data/app/views/spree/checkout/payment/_banktransfer.html.erb +16 -0
  11. data/app/views/spree/order_mailer/_bank_transfer_details.html.erb +23 -0
  12. data/app/views/spree/orders/_bank_transfer_details.html.erb +22 -0
  13. data/config/locales/en.yml +14 -0
  14. data/config/locales/it.yml +14 -0
  15. data/config/routes.rb +5 -0
  16. data/lib/generators/solidus_bank_transfer/install/install_generator.rb +32 -0
  17. data/lib/solidus_bank_transfer.rb +4 -0
  18. data/lib/solidus_bank_transfer/engine.rb +26 -0
  19. data/lib/solidus_bank_transfer/factories.rb +17 -0
  20. data/lib/solidus_bank_transfer/version.rb +5 -0
  21. data/spec/dummy/README.md +24 -0
  22. data/spec/dummy/Rakefile +6 -0
  23. data/spec/dummy/app/assets/config/manifest.js +3 -0
  24. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  25. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  27. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  28. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  29. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  30. data/spec/dummy/app/jobs/application_job.rb +2 -0
  31. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  32. data/spec/dummy/app/models/application_record.rb +3 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  34. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  35. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  36. data/spec/dummy/bin/bundle +3 -0
  37. data/spec/dummy/bin/rails +4 -0
  38. data/spec/dummy/bin/rake +4 -0
  39. data/spec/dummy/bin/setup +33 -0
  40. data/spec/dummy/bin/update +28 -0
  41. data/spec/dummy/config.ru +5 -0
  42. data/spec/dummy/config/application.rb +54 -0
  43. data/spec/dummy/config/boot.rb +6 -0
  44. data/spec/dummy/config/cable.yml +10 -0
  45. data/spec/dummy/config/credentials.yml.enc +1 -0
  46. data/spec/dummy/config/database.yml +21 -0
  47. data/spec/dummy/config/environment.rb +5 -0
  48. data/spec/dummy/config/environments/development.rb +61 -0
  49. data/spec/dummy/config/environments/production.rb +94 -0
  50. data/spec/dummy/config/environments/test.rb +33 -0
  51. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  52. data/spec/dummy/config/initializers/assets.rb +12 -0
  53. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  54. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  55. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  56. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  57. data/spec/dummy/config/initializers/inflections.rb +16 -0
  58. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  59. data/spec/dummy/config/initializers/spree.rb +52 -0
  60. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  61. data/spec/dummy/config/locales/en.yml +33 -0
  62. data/spec/dummy/config/master.key +1 -0
  63. data/spec/dummy/config/routes.rb +9 -0
  64. data/spec/dummy/config/storage.yml +34 -0
  65. data/spec/dummy/db/migrate/20190822070920_create_active_storage_tables.active_storage.rb +27 -0
  66. data/spec/dummy/db/migrate/20190822070921_solidus_one_four.spree.rb +1103 -0
  67. data/spec/dummy/db/migrate/20190822070922_create_spree_wallet_payment_sources.spree.rb +28 -0
  68. data/spec/dummy/db/migrate/20190822070923_migrate_credit_cards_to_wallet_payment_sources.spree.rb +30 -0
  69. data/spec/dummy/db/migrate/20190822070924_remove_is_default_from_prices.spree.rb +8 -0
  70. data/spec/dummy/db/migrate/20190822070925_remove_currency_from_line_items.spree.rb +8 -0
  71. data/spec/dummy/db/migrate/20190822070926_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb +31 -0
  72. data/spec/dummy/db/migrate/20190822070927_create_spree_promotion_code_batch.spree.rb +39 -0
  73. data/spec/dummy/db/migrate/20190822070928_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb +23 -0
  74. data/spec/dummy/db/migrate/20190822070929_add_index_to_spree_payments_number.spree.rb +8 -0
  75. data/spec/dummy/db/migrate/20190822070930_remove_spree_store_credits_column.spree.rb +8 -0
  76. data/spec/dummy/db/migrate/20190822070931_add_lft_and_rgt_indexes_to_taxons.spree.rb +9 -0
  77. data/spec/dummy/db/migrate/20190822070932_remove_order_id_from_inventory_units.spree.rb +31 -0
  78. data/spec/dummy/db/migrate/20190822070933_transform_tax_rate_category_relation.spree.rb +51 -0
  79. data/spec/dummy/db/migrate/20190822070934_add_roles_unique_constraints.spree.rb +9 -0
  80. data/spec/dummy/db/migrate/20190822070935_add_time_range_to_tax_rate.spree.rb +9 -0
  81. data/spec/dummy/db/migrate/20190822070936_rename_bogus_gateways.spree.rb +19 -0
  82. data/spec/dummy/db/migrate/20190822070937_remove_default_tax_from_spree_zones.spree.rb +8 -0
  83. data/spec/dummy/db/migrate/20190822070938_create_promotion_rule_stores.spree.rb +13 -0
  84. data/spec/dummy/db/migrate/20190822070939_create_store_shipping_methods.spree.rb +13 -0
  85. data/spec/dummy/db/migrate/20190822070940_add_available_locales_to_stores.spree.rb +10 -0
  86. data/spec/dummy/db/migrate/20190822070941_add_amount_remaining_to_store_credit_events.spree.rb +62 -0
  87. data/spec/dummy/db/migrate/20190822070942_add_join_characters_to_promotion_code_batch.spree.rb +12 -0
  88. data/spec/dummy/db/migrate/20190822070943_create_spree_store_credit_reasons_table.spree.rb +56 -0
  89. data/spec/dummy/db/migrate/20190822070944_remove_code_from_spree_promotions.spree.rb +43 -0
  90. data/spec/dummy/db/migrate/20190822070945_drop_spree_store_credit_update_reasons.spree.rb +20 -0
  91. data/spec/dummy/db/migrate/20190822070946_add_api_key_to_spree_users.spree_api.rb +10 -0
  92. data/spec/dummy/db/migrate/20190822070947_resize_api_key_field.spree_api.rb +10 -0
  93. data/spec/dummy/db/migrate/20190822070948_rename_api_key_to_spree_api_key.spree_api.rb +10 -0
  94. data/spec/dummy/db/migrate/20190822070949_add_index_to_user_spree_api_key.spree_api.rb +10 -0
  95. data/spec/dummy/db/migrate/20190822070950_create_users.solidus_auth.rb +30 -0
  96. data/spec/dummy/db/migrate/20190822070951_rename_columns_for_devise.solidus_auth.rb +38 -0
  97. data/spec/dummy/db/migrate/20190822070952_convert_user_remember_field.solidus_auth.rb +12 -0
  98. data/spec/dummy/db/migrate/20190822070953_add_reset_password_sent_at_to_spree_users.solidus_auth.rb +9 -0
  99. data/spec/dummy/db/migrate/20190822070954_make_users_email_index_unique.solidus_auth.rb +10 -0
  100. data/spec/dummy/db/migrate/20190822070955_add_deleted_at_to_users.solidus_auth.rb +7 -0
  101. data/spec/dummy/db/migrate/20190822070956_add_confirmable_to_users.solidus_auth.rb +8 -0
  102. data/spec/dummy/db/schema.rb +1194 -0
  103. data/spec/dummy/db/seeds.rb +10 -0
  104. data/spec/dummy/log/test.log +1058 -0
  105. data/spec/dummy/public/404.html +67 -0
  106. data/spec/dummy/public/422.html +67 -0
  107. data/spec/dummy/public/500.html +66 -0
  108. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  109. data/spec/dummy/public/apple-touch-icon.png +0 -0
  110. data/spec/dummy/public/favicon.ico +0 -0
  111. data/spec/dummy/tmp/development_secret.txt +1 -0
  112. data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +11 -0
  113. data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +11 -0
  114. data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +10 -0
  115. data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +10 -0
  116. data/spec/models/spree/payment_method/bank_transfer_spec.rb +146 -0
  117. data/spec/spec_helper.rb +89 -0
  118. metadata +429 -0
@@ -0,0 +1,10 @@
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 rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
8
+
9
+ Spree::Core::Engine.load_seed if defined?(Spree::Core)
10
+ Spree::Auth::Engine.load_seed if defined?(Spree::Auth)
@@ -0,0 +1,1058 @@
1
+  (1.8ms) CREATE DATABASE "solidus_bank_transfer_solidus_test" ENCODING = 'utf8'
2
+ ActiveRecord::InternalMetadata Load (47.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
3
+  (0.1ms) BEGIN
4
+  (0.1ms) COMMIT
5
+  (45.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
7
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
8
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
9
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
10
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
11
+  (276.8ms) DROP DATABASE IF EXISTS "solidus_bank_transfer_solidus_test"
12
+  (651.2ms) CREATE DATABASE "solidus_bank_transfer_solidus_test" ENCODING = 'utf8'
13
+  (9.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
14
+  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
+  (1.0ms) SELECT pg_try_advisory_lock(7932130290496454280)
16
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
17
+ Migrating to CreateActiveStorageTables (20190822070920)
18
+  (0.1ms) BEGIN
19
+  (33.0ms) CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)
20
+  (1.1ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
21
+  (5.5ms) CREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
22
+ FOREIGN KEY ("blob_id")
23
+ REFERENCES "active_storage_blobs" ("id")
24
+ )
25
+  (1.0ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
26
+  (1.2ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
27
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070920"]]
28
+  (0.6ms) COMMIT
29
+ Migrating to SolidusOneFour (20190822070921)
30
+  (0.4ms) BEGIN
31
+  (0.2ms) DROP TABLE IF EXISTS "spree_users"
32
+  (4.0ms) CREATE TABLE "spree_users" ("id" serial NOT NULL PRIMARY KEY, "crypted_password" character varying(128), "salt" character varying(128), "email" character varying, "remember_token" character varying, "remember_token_expires_at" character varying, "persistence_token" character varying, "single_access_token" character varying, "perishable_token" character varying, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" timestamp, "current_login_at" timestamp, "last_login_at" timestamp, "current_login_ip" character varying, "last_login_ip" character varying, "login" character varying, "ship_address_id" integer, "bill_address_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "openid_identifier" character varying)
33
+  (0.1ms) DROP TABLE IF EXISTS "friendly_id_slugs" CASCADE
34
+  (2.3ms) CREATE TABLE "friendly_id_slugs" ("id" serial NOT NULL PRIMARY KEY, "slug" character varying NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" character varying(50), "scope" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
35
+  (0.9ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")
36
+  (0.6ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")
37
+  (0.6ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")
38
+  (0.6ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")
39
+  (0.1ms) DROP TABLE IF EXISTS "spree_addresses" CASCADE
40
+  (2.1ms) CREATE TABLE "spree_addresses" ("id" serial NOT NULL PRIMARY KEY, "firstname" character varying, "lastname" character varying, "address1" character varying, "address2" character varying, "city" character varying, "zipcode" character varying, "phone" character varying, "state_name" character varying, "alternative_phone" character varying, "company" character varying, "state_id" integer, "country_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
41
+  (0.9ms) CREATE INDEX "index_spree_addresses_on_country_id" ON "spree_addresses" ("country_id")
42
+  (0.8ms) CREATE INDEX "index_addresses_on_firstname" ON "spree_addresses" ("firstname")
43
+  (0.7ms) CREATE INDEX "index_addresses_on_lastname" ON "spree_addresses" ("lastname")
44
+  (0.7ms) CREATE INDEX "index_spree_addresses_on_state_id" ON "spree_addresses" ("state_id")
45
+  (0.1ms) DROP TABLE IF EXISTS "spree_adjustment_reasons" CASCADE
46
+  (2.6ms) CREATE TABLE "spree_adjustment_reasons" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "code" character varying, "active" boolean DEFAULT TRUE, "created_at" timestamp(6), "updated_at" timestamp(6))
47
+  (0.8ms) CREATE INDEX "index_spree_adjustment_reasons_on_active" ON "spree_adjustment_reasons" ("active")
48
+  (1.1ms) CREATE INDEX "index_spree_adjustment_reasons_on_code" ON "spree_adjustment_reasons" ("code")
49
+  (0.1ms) DROP TABLE IF EXISTS "spree_adjustments" CASCADE
50
+  (83.9ms) CREATE TABLE "spree_adjustments" ("id" serial NOT NULL PRIMARY KEY, "source_type" character varying, "source_id" integer, "adjustable_type" character varying, "adjustable_id" integer NOT NULL, "amount" decimal(10,2), "label" character varying, "eligible" boolean DEFAULT TRUE, "created_at" timestamp(6), "updated_at" timestamp(6), "order_id" integer NOT NULL, "included" boolean DEFAULT FALSE, "promotion_code_id" integer, "adjustment_reason_id" integer, "finalized" boolean DEFAULT FALSE NOT NULL)
51
+  (1.2ms) CREATE INDEX "index_spree_adjustments_on_adjustable_id_and_adjustable_type" ON "spree_adjustments" ("adjustable_id", "adjustable_type")
52
+  (1.2ms) CREATE INDEX "index_adjustments_on_order_id" ON "spree_adjustments" ("adjustable_id")
53
+  (0.7ms) CREATE INDEX "index_spree_adjustments_on_eligible" ON "spree_adjustments" ("eligible")
54
+  (0.7ms) CREATE INDEX "index_spree_adjustments_on_order_id" ON "spree_adjustments" ("order_id")
55
+  (0.6ms) CREATE INDEX "index_spree_adjustments_on_promotion_code_id" ON "spree_adjustments" ("promotion_code_id")
56
+  (0.9ms) CREATE INDEX "index_spree_adjustments_on_source_id_and_source_type" ON "spree_adjustments" ("source_id", "source_type")
57
+  (0.1ms) DROP TABLE IF EXISTS "spree_assets" CASCADE
58
+  (2.4ms) CREATE TABLE "spree_assets" ("id" serial NOT NULL PRIMARY KEY, "viewable_type" character varying, "viewable_id" integer, "attachment_width" integer, "attachment_height" integer, "attachment_file_size" integer, "position" integer, "attachment_content_type" character varying, "attachment_file_name" character varying, "type" character varying(75), "attachment_updated_at" timestamp, "alt" text, "created_at" timestamp(6), "updated_at" timestamp(6))
59
+  (0.7ms) CREATE INDEX "index_assets_on_viewable_id" ON "spree_assets" ("viewable_id")
60
+  (0.7ms) CREATE INDEX "index_assets_on_viewable_type_and_type" ON "spree_assets" ("viewable_type", "type")
61
+  (0.1ms) DROP TABLE IF EXISTS "spree_calculators" CASCADE
62
+  (2.5ms) CREATE TABLE "spree_calculators" ("id" serial NOT NULL PRIMARY KEY, "type" character varying, "calculable_type" character varying, "calculable_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "preferences" text)
63
+  (0.8ms) CREATE INDEX "index_spree_calculators_on_calculable_id_and_calculable_type" ON "spree_calculators" ("calculable_id", "calculable_type")
64
+  (0.8ms) CREATE INDEX "index_spree_calculators_on_id_and_type" ON "spree_calculators" ("id", "type")
65
+  (0.1ms) DROP TABLE IF EXISTS "spree_cartons" CASCADE
66
+  (2.4ms) CREATE TABLE "spree_cartons" ("id" serial NOT NULL PRIMARY KEY, "number" character varying, "external_number" character varying, "stock_location_id" integer, "address_id" integer, "shipping_method_id" integer, "tracking" character varying, "shipped_at" timestamp, "created_at" timestamp(6), "updated_at" timestamp(6), "imported_from_shipment_id" integer)
67
+  (0.7ms) CREATE INDEX "index_spree_cartons_on_external_number" ON "spree_cartons" ("external_number")
68
+  (0.8ms) CREATE UNIQUE INDEX "index_spree_cartons_on_imported_from_shipment_id" ON "spree_cartons" ("imported_from_shipment_id")
69
+  (0.7ms) CREATE UNIQUE INDEX "index_spree_cartons_on_number" ON "spree_cartons" ("number")
70
+  (0.6ms) CREATE INDEX "index_spree_cartons_on_stock_location_id" ON "spree_cartons" ("stock_location_id")
71
+  (0.1ms) DROP TABLE IF EXISTS "spree_countries" CASCADE
72
+  (2.3ms) CREATE TABLE "spree_countries" ("id" serial NOT NULL PRIMARY KEY, "iso_name" character varying, "iso" character varying, "iso3" character varying, "name" character varying, "numcode" integer, "states_required" boolean DEFAULT FALSE, "updated_at" timestamp(6), "created_at" timestamp(6))
73
+  (0.8ms) CREATE INDEX "index_spree_countries_on_iso" ON "spree_countries" ("iso")
74
+  (0.1ms) DROP TABLE IF EXISTS "spree_credit_cards" CASCADE
75
+  (3.1ms) CREATE TABLE "spree_credit_cards" ("id" serial NOT NULL PRIMARY KEY, "month" character varying, "year" character varying, "cc_type" character varying, "last_digits" character varying, "gateway_customer_profile_id" character varying, "gateway_payment_profile_id" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "name" character varying, "user_id" integer, "payment_method_id" integer, "default" boolean DEFAULT FALSE NOT NULL, "address_id" integer)
76
+  (0.8ms) CREATE INDEX "index_spree_credit_cards_on_payment_method_id" ON "spree_credit_cards" ("payment_method_id")
77
+  (0.8ms) CREATE INDEX "index_spree_credit_cards_on_user_id" ON "spree_credit_cards" ("user_id")
78
+  (0.2ms) DROP TABLE IF EXISTS "spree_customer_returns" CASCADE
79
+  (3.8ms) CREATE TABLE "spree_customer_returns" ("id" serial NOT NULL PRIMARY KEY, "number" character varying, "stock_location_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
80
+  (0.1ms) DROP TABLE IF EXISTS "spree_inventory_units" CASCADE
81
+  (2.5ms) CREATE TABLE "spree_inventory_units" ("id" serial NOT NULL PRIMARY KEY, "state" character varying, "variant_id" integer, "order_id" integer, "shipment_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "pending" boolean DEFAULT TRUE, "line_item_id" integer, "carton_id" integer)
82
+  (39.4ms) CREATE INDEX "index_spree_inventory_units_on_carton_id" ON "spree_inventory_units" ("carton_id")
83
+  (1.0ms) CREATE INDEX "index_spree_inventory_units_on_line_item_id" ON "spree_inventory_units" ("line_item_id")
84
+  (0.9ms) CREATE INDEX "index_inventory_units_on_order_id" ON "spree_inventory_units" ("order_id")
85
+  (0.7ms) CREATE INDEX "index_inventory_units_on_shipment_id" ON "spree_inventory_units" ("shipment_id")
86
+  (0.8ms) CREATE INDEX "index_inventory_units_on_variant_id" ON "spree_inventory_units" ("variant_id")
87
+  (0.1ms) DROP TABLE IF EXISTS "spree_line_item_actions" CASCADE
88
+  (1.8ms) CREATE TABLE "spree_line_item_actions" ("id" serial NOT NULL PRIMARY KEY, "line_item_id" integer NOT NULL, "action_id" integer NOT NULL, "quantity" integer DEFAULT 0, "created_at" timestamp(6), "updated_at" timestamp(6))
89
+  (41.3ms) CREATE INDEX "index_spree_line_item_actions_on_action_id" ON "spree_line_item_actions" ("action_id")
90
+  (1.2ms) CREATE INDEX "index_spree_line_item_actions_on_line_item_id" ON "spree_line_item_actions" ("line_item_id")
91
+  (0.2ms) DROP TABLE IF EXISTS "spree_line_items" CASCADE
92
+  (3.0ms) CREATE TABLE "spree_line_items" ("id" serial NOT NULL PRIMARY KEY, "variant_id" integer, "order_id" integer, "quantity" integer NOT NULL, "price" decimal(10,2) NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6), "currency" character varying, "cost_price" decimal(10,2), "tax_category_id" integer, "adjustment_total" decimal(10,2) DEFAULT '0.0', "additional_tax_total" decimal(10,2) DEFAULT '0.0', "promo_total" decimal(10,2) DEFAULT '0.0', "included_tax_total" decimal(10,2) DEFAULT '0.0' NOT NULL)
93
+  (0.7ms) CREATE INDEX "index_spree_line_items_on_order_id" ON "spree_line_items" ("order_id")
94
+  (0.8ms) CREATE INDEX "index_spree_line_items_on_variant_id" ON "spree_line_items" ("variant_id")
95
+  (0.1ms) DROP TABLE IF EXISTS "spree_log_entries" CASCADE
96
+  (2.5ms) CREATE TABLE "spree_log_entries" ("id" serial NOT NULL PRIMARY KEY, "source_type" character varying, "source_id" integer, "details" text, "created_at" timestamp(6), "updated_at" timestamp(6))
97
+  (1.0ms) CREATE INDEX "index_spree_log_entries_on_source_id_and_source_type" ON "spree_log_entries" ("source_id", "source_type")
98
+  (0.1ms) DROP TABLE IF EXISTS "spree_option_type_prototypes" CASCADE
99
+  (1.7ms) CREATE TABLE "spree_option_type_prototypes" ("id" serial NOT NULL PRIMARY KEY, "prototype_id" integer, "option_type_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
100
+  (0.1ms) DROP TABLE IF EXISTS "spree_option_types" CASCADE
101
+  (1.8ms) CREATE TABLE "spree_option_types" ("id" serial NOT NULL PRIMARY KEY, "name" character varying(100), "presentation" character varying(100), "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6))
102
+  (0.8ms) CREATE INDEX "index_spree_option_types_on_position" ON "spree_option_types" ("position")
103
+  (0.1ms) DROP TABLE IF EXISTS "spree_option_values" CASCADE
104
+  (2.4ms) CREATE TABLE "spree_option_values" ("id" serial NOT NULL PRIMARY KEY, "position" integer, "name" character varying, "presentation" character varying, "option_type_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
105
+  (0.9ms) CREATE INDEX "index_spree_option_values_on_option_type_id" ON "spree_option_values" ("option_type_id")
106
+  (1.6ms) CREATE INDEX "index_spree_option_values_on_position" ON "spree_option_values" ("position")
107
+  (0.2ms) DROP TABLE IF EXISTS "spree_option_values_variants" CASCADE
108
+  (2.1ms) CREATE TABLE "spree_option_values_variants" ("id" serial NOT NULL PRIMARY KEY, "variant_id" integer, "option_value_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
109
+  (0.8ms) CREATE INDEX "index_option_values_variants_on_variant_id_and_option_value_id" ON "spree_option_values_variants" ("variant_id", "option_value_id")
110
+  (0.7ms) CREATE INDEX "index_spree_option_values_variants_on_variant_id" ON "spree_option_values_variants" ("variant_id")
111
+  (0.1ms) DROP TABLE IF EXISTS "spree_order_mutexes" CASCADE
112
+  (1.4ms) CREATE TABLE "spree_order_mutexes" ("id" serial NOT NULL PRIMARY KEY, "order_id" integer NOT NULL, "created_at" timestamp(6))
113
+  (0.9ms) CREATE UNIQUE INDEX "index_spree_order_mutexes_on_order_id" ON "spree_order_mutexes" ("order_id")
114
+  (0.2ms) DROP TABLE IF EXISTS "spree_orders" CASCADE
115
+  (3.5ms) CREATE TABLE "spree_orders" ("id" serial NOT NULL PRIMARY KEY, "number" character varying(32), "item_total" decimal(10,2) DEFAULT '0.0' NOT NULL, "total" decimal(10,2) DEFAULT '0.0' NOT NULL, "state" character varying, "adjustment_total" decimal(10,2) DEFAULT '0.0' NOT NULL, "user_id" integer, "completed_at" timestamp, "bill_address_id" integer, "ship_address_id" integer, "payment_total" decimal(10,2) DEFAULT '0.0', "shipment_state" character varying, "payment_state" character varying, "email" character varying, "special_instructions" text, "created_at" timestamp(6), "updated_at" timestamp(6), "currency" character varying, "last_ip_address" character varying, "created_by_id" integer, "shipment_total" decimal(10,2) DEFAULT '0.0' NOT NULL, "additional_tax_total" decimal(10,2) DEFAULT '0.0', "promo_total" decimal(10,2) DEFAULT '0.0', "channel" character varying DEFAULT 'spree', "included_tax_total" decimal(10,2) DEFAULT '0.0' NOT NULL, "item_count" integer DEFAULT 0, "approver_id" integer, "approved_at" timestamp, "confirmation_delivered" boolean DEFAULT FALSE, "guest_token" character varying, "canceled_at" timestamp, "canceler_id" integer, "store_id" integer, "approver_name" character varying, "frontend_viewable" boolean DEFAULT TRUE NOT NULL)
116
+  (1.0ms) CREATE INDEX "index_spree_orders_on_approver_id" ON "spree_orders" ("approver_id")
117
+  (0.9ms) CREATE INDEX "index_spree_orders_on_bill_address_id" ON "spree_orders" ("bill_address_id")
118
+  (0.9ms) CREATE INDEX "index_spree_orders_on_completed_at" ON "spree_orders" ("completed_at")
119
+  (0.7ms) CREATE INDEX "index_spree_orders_on_created_by_id" ON "spree_orders" ("created_by_id")
120
+  (0.8ms) CREATE INDEX "index_spree_orders_on_guest_token" ON "spree_orders" ("guest_token")
121
+  (0.8ms) CREATE INDEX "index_spree_orders_on_number" ON "spree_orders" ("number")
122
+  (0.8ms) CREATE INDEX "index_spree_orders_on_ship_address_id" ON "spree_orders" ("ship_address_id")
123
+  (0.7ms) CREATE INDEX "index_spree_orders_on_user_id_and_created_by_id" ON "spree_orders" ("user_id", "created_by_id")
124
+  (0.7ms) CREATE INDEX "index_spree_orders_on_user_id" ON "spree_orders" ("user_id")
125
+  (0.1ms) DROP TABLE IF EXISTS "spree_orders_promotions" CASCADE
126
+  (1.8ms) CREATE TABLE "spree_orders_promotions" ("id" serial NOT NULL PRIMARY KEY, "order_id" integer, "promotion_id" integer, "promotion_code_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
127
+  (0.8ms) CREATE INDEX "index_spree_orders_promotions_on_order_id_and_promotion_id" ON "spree_orders_promotions" ("order_id", "promotion_id")
128
+  (0.6ms) CREATE INDEX "index_spree_orders_promotions_on_promotion_code_id" ON "spree_orders_promotions" ("promotion_code_id")
129
+  (0.1ms) DROP TABLE IF EXISTS "spree_payment_capture_events" CASCADE
130
+  (1.5ms) CREATE TABLE "spree_payment_capture_events" ("id" serial NOT NULL PRIMARY KEY, "amount" decimal(10,2) DEFAULT '0.0', "payment_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
131
+  (0.7ms) CREATE INDEX "index_spree_payment_capture_events_on_payment_id" ON "spree_payment_capture_events" ("payment_id")
132
+  (0.1ms) DROP TABLE IF EXISTS "spree_payment_methods" CASCADE
133
+  (2.5ms) CREATE TABLE "spree_payment_methods" ("id" serial NOT NULL PRIMARY KEY, "type" character varying, "name" character varying, "description" text, "active" boolean DEFAULT TRUE, "deleted_at" timestamp, "created_at" timestamp(6), "updated_at" timestamp(6), "display_on" character varying, "auto_capture" boolean, "preferences" text, "preference_source" character varying, "position" integer DEFAULT 0)
134
+  (0.7ms) CREATE INDEX "index_spree_payment_methods_on_id_and_type" ON "spree_payment_methods" ("id", "type")
135
+  (0.1ms) DROP TABLE IF EXISTS "spree_payments" CASCADE
136
+  (2.4ms) CREATE TABLE "spree_payments" ("id" serial NOT NULL PRIMARY KEY, "amount" decimal(10,2) DEFAULT '0.0' NOT NULL, "order_id" integer, "source_type" character varying, "source_id" integer, "payment_method_id" integer, "state" character varying, "response_code" character varying, "avs_response" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "number" character varying, "cvv_response_code" character varying, "cvv_response_message" character varying)
137
+  (0.7ms) CREATE INDEX "index_spree_payments_on_order_id" ON "spree_payments" ("order_id")
138
+  (0.8ms) CREATE INDEX "index_spree_payments_on_payment_method_id" ON "spree_payments" ("payment_method_id")
139
+  (1.1ms) CREATE INDEX "index_spree_payments_on_source_id_and_source_type" ON "spree_payments" ("source_id", "source_type")
140
+  (0.2ms) DROP TABLE IF EXISTS "spree_preferences" CASCADE
141
+  (83.2ms) CREATE TABLE "spree_preferences" ("id" serial NOT NULL PRIMARY KEY, "value" text, "key" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
142
+  (1.0ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
143
+  (0.1ms) DROP TABLE IF EXISTS "spree_prices" CASCADE
144
+  (3.9ms) CREATE TABLE "spree_prices" ("id" serial NOT NULL PRIMARY KEY, "variant_id" integer NOT NULL, "amount" decimal(10,2), "currency" character varying, "deleted_at" timestamp, "is_default" boolean DEFAULT TRUE NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6), "country_iso" character varying(2))
145
+  (1.2ms) CREATE INDEX "index_spree_prices_on_country_iso" ON "spree_prices" ("country_iso")
146
+  (1.2ms) CREATE INDEX "index_spree_prices_on_variant_id_and_currency" ON "spree_prices" ("variant_id", "currency")
147
+  (0.2ms) DROP TABLE IF EXISTS "spree_product_option_types" CASCADE
148
+  (2.2ms) CREATE TABLE "spree_product_option_types" ("id" serial NOT NULL PRIMARY KEY, "position" integer, "product_id" integer, "option_type_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
149
+  (0.9ms) CREATE INDEX "index_spree_product_option_types_on_option_type_id" ON "spree_product_option_types" ("option_type_id")
150
+  (0.8ms) CREATE INDEX "index_spree_product_option_types_on_position" ON "spree_product_option_types" ("position")
151
+  (0.9ms) CREATE INDEX "index_spree_product_option_types_on_product_id" ON "spree_product_option_types" ("product_id")
152
+  (0.1ms) DROP TABLE IF EXISTS "spree_product_promotion_rules" CASCADE
153
+  (2.0ms) CREATE TABLE "spree_product_promotion_rules" ("id" serial NOT NULL PRIMARY KEY, "product_id" integer, "promotion_rule_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
154
+  (0.9ms) CREATE INDEX "index_products_promotion_rules_on_product_id" ON "spree_product_promotion_rules" ("product_id")
155
+  (1.0ms) CREATE INDEX "index_products_promotion_rules_on_promotion_rule_id" ON "spree_product_promotion_rules" ("promotion_rule_id")
156
+  (0.2ms) DROP TABLE IF EXISTS "spree_product_properties" CASCADE
157
+  (3.4ms) CREATE TABLE "spree_product_properties" ("id" serial NOT NULL PRIMARY KEY, "value" character varying, "product_id" integer, "property_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "position" integer DEFAULT 0)
158
+  (0.9ms) CREATE INDEX "index_spree_product_properties_on_position" ON "spree_product_properties" ("position")
159
+  (0.9ms) CREATE INDEX "index_product_properties_on_product_id" ON "spree_product_properties" ("product_id")
160
+  (0.9ms) CREATE INDEX "index_spree_product_properties_on_property_id" ON "spree_product_properties" ("property_id")
161
+  (0.2ms) DROP TABLE IF EXISTS "spree_products" CASCADE
162
+  (3.2ms) CREATE TABLE "spree_products" ("id" serial NOT NULL PRIMARY KEY, "name" character varying DEFAULT '' NOT NULL, "description" text, "available_on" timestamp, "deleted_at" timestamp, "slug" character varying, "meta_description" text, "meta_keywords" character varying, "tax_category_id" integer, "shipping_category_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "promotionable" boolean DEFAULT TRUE, "meta_title" character varying)
163
+  (1.1ms) CREATE INDEX "index_spree_products_on_available_on" ON "spree_products" ("available_on")
164
+  (1.0ms) CREATE INDEX "index_spree_products_on_deleted_at" ON "spree_products" ("deleted_at")
165
+  (1.3ms) CREATE INDEX "index_spree_products_on_name" ON "spree_products" ("name")
166
+  (1.0ms) CREATE UNIQUE INDEX "index_spree_products_on_slug" ON "spree_products" ("slug")
167
+  (0.2ms) DROP TABLE IF EXISTS "spree_products_taxons" CASCADE
168
+  (2.1ms) CREATE TABLE "spree_products_taxons" ("id" serial NOT NULL PRIMARY KEY, "product_id" integer, "taxon_id" integer, "position" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
169
+  (41.1ms) CREATE INDEX "index_spree_products_taxons_on_position" ON "spree_products_taxons" ("position")
170
+  (40.3ms) CREATE INDEX "index_spree_products_taxons_on_product_id" ON "spree_products_taxons" ("product_id")
171
+  (2.9ms) CREATE INDEX "index_spree_products_taxons_on_taxon_id" ON "spree_products_taxons" ("taxon_id")
172
+  (0.2ms) DROP TABLE IF EXISTS "spree_promotion_action_line_items" CASCADE
173
+  (2.6ms) CREATE TABLE "spree_promotion_action_line_items" ("id" serial NOT NULL PRIMARY KEY, "promotion_action_id" integer, "variant_id" integer, "quantity" integer DEFAULT 1, "created_at" timestamp(6), "updated_at" timestamp(6))
174
+  (1.1ms) CREATE INDEX "index_spree_promotion_action_line_items_on_promotion_action_id" ON "spree_promotion_action_line_items" ("promotion_action_id")
175
+  (0.9ms) CREATE INDEX "index_spree_promotion_action_line_items_on_variant_id" ON "spree_promotion_action_line_items" ("variant_id")
176
+  (0.2ms) DROP TABLE IF EXISTS "spree_promotion_actions" CASCADE
177
+  (3.4ms) CREATE TABLE "spree_promotion_actions" ("id" serial NOT NULL PRIMARY KEY, "promotion_id" integer, "position" integer, "type" character varying, "deleted_at" timestamp, "preferences" text, "created_at" timestamp(6), "updated_at" timestamp(6))
178
+  (0.9ms) CREATE INDEX "index_spree_promotion_actions_on_deleted_at" ON "spree_promotion_actions" ("deleted_at")
179
+  (1.1ms) CREATE INDEX "index_spree_promotion_actions_on_id_and_type" ON "spree_promotion_actions" ("id", "type")
180
+  (0.9ms) CREATE INDEX "index_spree_promotion_actions_on_promotion_id" ON "spree_promotion_actions" ("promotion_id")
181
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotion_categories" CASCADE
182
+  (2.7ms) CREATE TABLE "spree_promotion_categories" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "code" character varying)
183
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotion_codes" CASCADE
184
+  (3.0ms) CREATE TABLE "spree_promotion_codes" ("id" serial NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "value" character varying NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6))
185
+  (0.9ms) CREATE INDEX "index_spree_promotion_codes_on_promotion_id" ON "spree_promotion_codes" ("promotion_id")
186
+  (0.9ms) CREATE UNIQUE INDEX "index_spree_promotion_codes_on_value" ON "spree_promotion_codes" ("value")
187
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotion_rule_taxons" CASCADE
188
+  (1.9ms) CREATE TABLE "spree_promotion_rule_taxons" ("id" serial NOT NULL PRIMARY KEY, "taxon_id" integer, "promotion_rule_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
189
+  (1.0ms) CREATE INDEX "index_spree_promotion_rule_taxons_on_promotion_rule_id" ON "spree_promotion_rule_taxons" ("promotion_rule_id")
190
+  (1.0ms) CREATE INDEX "index_spree_promotion_rule_taxons_on_taxon_id" ON "spree_promotion_rule_taxons" ("taxon_id")
191
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotion_rules" CASCADE
192
+  (3.0ms) CREATE TABLE "spree_promotion_rules" ("id" serial NOT NULL PRIMARY KEY, "promotion_id" integer, "product_group_id" integer, "type" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "code" character varying, "preferences" text)
193
+  (1.0ms) CREATE INDEX "index_promotion_rules_on_product_group_id" ON "spree_promotion_rules" ("product_group_id")
194
+  (0.9ms) CREATE INDEX "index_spree_promotion_rules_on_promotion_id" ON "spree_promotion_rules" ("promotion_id")
195
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotion_rules_users" CASCADE
196
+  (1.9ms) CREATE TABLE "spree_promotion_rules_users" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer, "promotion_rule_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
197
+  (0.9ms) CREATE INDEX "index_promotion_rules_users_on_promotion_rule_id" ON "spree_promotion_rules_users" ("promotion_rule_id")
198
+  (0.9ms) CREATE INDEX "index_promotion_rules_users_on_user_id" ON "spree_promotion_rules_users" ("user_id")
199
+  (0.1ms) DROP TABLE IF EXISTS "spree_promotions" CASCADE
200
+  (2.6ms) CREATE TABLE "spree_promotions" ("id" serial NOT NULL PRIMARY KEY, "description" character varying, "expires_at" timestamp, "starts_at" timestamp, "name" character varying, "type" character varying, "usage_limit" integer, "match_policy" character varying DEFAULT 'all', "code" character varying, "advertise" boolean DEFAULT FALSE, "path" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "promotion_category_id" integer, "per_code_usage_limit" integer, "apply_automatically" boolean DEFAULT FALSE)
201
+  (0.7ms) CREATE INDEX "index_spree_promotions_on_advertise" ON "spree_promotions" ("advertise")
202
+  (0.7ms) CREATE INDEX "index_spree_promotions_on_apply_automatically" ON "spree_promotions" ("apply_automatically")
203
+  (0.9ms) CREATE INDEX "index_spree_promotions_on_code" ON "spree_promotions" ("code")
204
+  (0.9ms) CREATE INDEX "index_spree_promotions_on_expires_at" ON "spree_promotions" ("expires_at")
205
+  (1.0ms) CREATE INDEX "index_spree_promotions_on_id_and_type" ON "spree_promotions" ("id", "type")
206
+  (1.1ms) CREATE INDEX "index_spree_promotions_on_promotion_category_id" ON "spree_promotions" ("promotion_category_id")
207
+  (0.9ms) CREATE INDEX "index_spree_promotions_on_starts_at" ON "spree_promotions" ("starts_at")
208
+  (0.1ms) DROP TABLE IF EXISTS "spree_properties" CASCADE
209
+  (2.7ms) CREATE TABLE "spree_properties" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "presentation" character varying NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6))
210
+  (0.2ms) DROP TABLE IF EXISTS "spree_property_prototypes" CASCADE
211
+  (1.9ms) CREATE TABLE "spree_property_prototypes" ("id" serial NOT NULL PRIMARY KEY, "prototype_id" integer, "property_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
212
+  (0.1ms) DROP TABLE IF EXISTS "spree_prototype_taxons" CASCADE
213
+  (1.8ms) CREATE TABLE "spree_prototype_taxons" ("id" serial NOT NULL PRIMARY KEY, "taxon_id" integer, "prototype_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
214
+  (1.0ms) CREATE INDEX "index_spree_prototype_taxons_on_prototype_id" ON "spree_prototype_taxons" ("prototype_id")
215
+  (1.1ms) CREATE INDEX "index_spree_prototype_taxons_on_taxon_id" ON "spree_prototype_taxons" ("taxon_id")
216
+  (0.2ms) DROP TABLE IF EXISTS "spree_prototypes" CASCADE
217
+  (3.5ms) CREATE TABLE "spree_prototypes" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
218
+  (0.2ms) DROP TABLE IF EXISTS "spree_refund_reasons" CASCADE
219
+  (43.7ms) CREATE TABLE "spree_refund_reasons" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "active" boolean DEFAULT TRUE, "mutable" boolean DEFAULT TRUE, "created_at" timestamp(6), "updated_at" timestamp(6), "code" character varying)
220
+  (0.2ms) DROP TABLE IF EXISTS "spree_refunds" CASCADE
221
+  (44.4ms) CREATE TABLE "spree_refunds" ("id" serial NOT NULL PRIMARY KEY, "payment_id" integer, "amount" decimal(10,2) DEFAULT '0.0' NOT NULL, "transaction_id" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "refund_reason_id" integer, "reimbursement_id" integer)
222
+  (0.8ms) CREATE INDEX "index_spree_refunds_on_payment_id" ON "spree_refunds" ("payment_id")
223
+  (1.0ms) CREATE INDEX "index_refunds_on_refund_reason_id" ON "spree_refunds" ("refund_reason_id")
224
+  (1.1ms) CREATE INDEX "index_spree_refunds_on_reimbursement_id" ON "spree_refunds" ("reimbursement_id")
225
+  (0.2ms) DROP TABLE IF EXISTS "spree_reimbursement_credits" CASCADE
226
+  (3.8ms) CREATE TABLE "spree_reimbursement_credits" ("id" serial NOT NULL PRIMARY KEY, "amount" decimal(10,2) DEFAULT '0.0' NOT NULL, "reimbursement_id" integer, "creditable_id" integer, "creditable_type" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
227
+  (0.2ms) DROP TABLE IF EXISTS "spree_reimbursement_types" CASCADE
228
+  (3.6ms) CREATE TABLE "spree_reimbursement_types" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "active" boolean DEFAULT TRUE, "mutable" boolean DEFAULT TRUE, "created_at" timestamp(6), "updated_at" timestamp(6), "type" character varying)
229
+  (1.1ms) CREATE INDEX "index_spree_reimbursement_types_on_type" ON "spree_reimbursement_types" ("type")
230
+  (0.2ms) DROP TABLE IF EXISTS "spree_reimbursements" CASCADE
231
+  (3.2ms) CREATE TABLE "spree_reimbursements" ("id" serial NOT NULL PRIMARY KEY, "number" character varying, "reimbursement_status" character varying, "customer_return_id" integer, "order_id" integer, "total" decimal(10,2), "created_at" timestamp(6), "updated_at" timestamp(6))
232
+  (1.0ms) CREATE INDEX "index_spree_reimbursements_on_customer_return_id" ON "spree_reimbursements" ("customer_return_id")
233
+  (0.9ms) CREATE INDEX "index_spree_reimbursements_on_order_id" ON "spree_reimbursements" ("order_id")
234
+  (0.1ms) DROP TABLE IF EXISTS "spree_return_authorizations" CASCADE
235
+  (2.5ms) CREATE TABLE "spree_return_authorizations" ("id" serial NOT NULL PRIMARY KEY, "number" character varying, "state" character varying, "order_id" integer, "memo" text, "created_at" timestamp(6), "updated_at" timestamp(6), "stock_location_id" integer, "return_reason_id" integer)
236
+  (1.2ms) CREATE INDEX "index_return_authorizations_on_return_authorization_reason_id" ON "spree_return_authorizations" ("return_reason_id")
237
+  (0.3ms) DROP TABLE IF EXISTS "spree_return_items" CASCADE
238
+  (3.0ms) CREATE TABLE "spree_return_items" ("id" serial NOT NULL PRIMARY KEY, "return_authorization_id" integer, "inventory_unit_id" integer, "exchange_variant_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "amount" decimal(12,4) DEFAULT '0.0' NOT NULL, "included_tax_total" decimal(12,4) DEFAULT '0.0' NOT NULL, "additional_tax_total" decimal(12,4) DEFAULT '0.0' NOT NULL, "reception_status" character varying, "acceptance_status" character varying, "customer_return_id" integer, "reimbursement_id" integer, "exchange_inventory_unit_id" integer, "acceptance_status_errors" text, "preferred_reimbursement_type_id" integer, "override_reimbursement_type_id" integer, "resellable" boolean DEFAULT TRUE NOT NULL, "return_reason_id" integer)
239
+  (0.8ms) CREATE INDEX "index_return_items_on_customer_return_id" ON "spree_return_items" ("customer_return_id")
240
+  (0.7ms) CREATE INDEX "index_spree_return_items_on_exchange_inventory_unit_id" ON "spree_return_items" ("exchange_inventory_unit_id")
241
+  (0.1ms) DROP TABLE IF EXISTS "spree_return_reasons" CASCADE
242
+  (2.8ms) CREATE TABLE "spree_return_reasons" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "active" boolean DEFAULT TRUE, "mutable" boolean DEFAULT TRUE, "created_at" timestamp(6), "updated_at" timestamp(6))
243
+  (0.1ms) DROP TABLE IF EXISTS "spree_roles" CASCADE
244
+  (2.3ms) CREATE TABLE "spree_roles" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
245
+  (0.1ms) DROP TABLE IF EXISTS "spree_roles_users" CASCADE
246
+  (1.5ms) CREATE TABLE "spree_roles_users" ("id" serial NOT NULL PRIMARY KEY, "role_id" integer, "user_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
247
+  (0.6ms) CREATE INDEX "index_spree_roles_users_on_role_id" ON "spree_roles_users" ("role_id")
248
+  (0.9ms) CREATE INDEX "index_spree_roles_users_on_user_id" ON "spree_roles_users" ("user_id")
249
+  (0.1ms) DROP TABLE IF EXISTS "spree_shipments" CASCADE
250
+  (2.8ms) CREATE TABLE "spree_shipments" ("id" serial NOT NULL PRIMARY KEY, "tracking" character varying, "number" character varying, "cost" decimal(10,2) DEFAULT '0.0', "shipped_at" timestamp, "order_id" integer, "deprecated_address_id" integer, "state" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "stock_location_id" integer, "adjustment_total" decimal(10,2) DEFAULT '0.0', "additional_tax_total" decimal(10,2) DEFAULT '0.0', "promo_total" decimal(10,2) DEFAULT '0.0', "included_tax_total" decimal(10,2) DEFAULT '0.0' NOT NULL)
251
+  (0.7ms) CREATE INDEX "index_spree_shipments_on_deprecated_address_id" ON "spree_shipments" ("deprecated_address_id")
252
+  (0.8ms) CREATE INDEX "index_shipments_on_number" ON "spree_shipments" ("number")
253
+  (0.7ms) CREATE INDEX "index_spree_shipments_on_order_id" ON "spree_shipments" ("order_id")
254
+  (0.6ms) CREATE INDEX "index_spree_shipments_on_stock_location_id" ON "spree_shipments" ("stock_location_id")
255
+  (0.1ms) DROP TABLE IF EXISTS "spree_shipping_categories" CASCADE
256
+  (3.0ms) CREATE TABLE "spree_shipping_categories" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
257
+  (0.1ms) DROP TABLE IF EXISTS "spree_shipping_method_categories" CASCADE
258
+  (1.8ms) CREATE TABLE "spree_shipping_method_categories" ("id" serial NOT NULL PRIMARY KEY, "shipping_method_id" integer NOT NULL, "shipping_category_id" integer NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6))
259
+  (0.8ms) CREATE UNIQUE INDEX "unique_spree_shipping_method_categories" ON "spree_shipping_method_categories" ("shipping_category_id", "shipping_method_id")
260
+  (82.3ms) CREATE INDEX "index_spree_shipping_method_categories_on_shipping_method_id" ON "spree_shipping_method_categories" ("shipping_method_id")
261
+  (0.2ms) DROP TABLE IF EXISTS "spree_shipping_method_stock_locations" CASCADE
262
+  (4.8ms) CREATE TABLE "spree_shipping_method_stock_locations" ("id" serial NOT NULL PRIMARY KEY, "shipping_method_id" integer, "stock_location_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
263
+  (1.3ms) CREATE INDEX "shipping_method_id_spree_sm_sl" ON "spree_shipping_method_stock_locations" ("shipping_method_id")
264
+  (1.2ms) CREATE INDEX "sstock_location_id_spree_sm_sl" ON "spree_shipping_method_stock_locations" ("stock_location_id")
265
+  (0.2ms) DROP TABLE IF EXISTS "spree_shipping_method_zones" CASCADE
266
+  (1.9ms) CREATE TABLE "spree_shipping_method_zones" ("id" serial NOT NULL PRIMARY KEY, "shipping_method_id" integer, "zone_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
267
+  (0.1ms) DROP TABLE IF EXISTS "spree_shipping_methods" CASCADE
268
+  (2.9ms) CREATE TABLE "spree_shipping_methods" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "display_on" character varying, "deleted_at" timestamp, "created_at" timestamp(6), "updated_at" timestamp(6), "tracking_url" character varying, "admin_name" character varying, "tax_category_id" integer, "code" character varying, "available_to_all" boolean DEFAULT TRUE, "carrier" character varying, "service_level" character varying)
269
+  (0.9ms) CREATE INDEX "index_spree_shipping_methods_on_tax_category_id" ON "spree_shipping_methods" ("tax_category_id")
270
+  (0.2ms) DROP TABLE IF EXISTS "spree_shipping_rate_taxes" CASCADE
271
+  (2.3ms) CREATE TABLE "spree_shipping_rate_taxes" ("id" serial NOT NULL PRIMARY KEY, "amount" decimal(8,2) DEFAULT '0.0' NOT NULL, "tax_rate_id" integer, "shipping_rate_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
272
+  (0.9ms) CREATE INDEX "index_spree_shipping_rate_taxes_on_shipping_rate_id" ON "spree_shipping_rate_taxes" ("shipping_rate_id")
273
+  (0.9ms) CREATE INDEX "index_spree_shipping_rate_taxes_on_tax_rate_id" ON "spree_shipping_rate_taxes" ("tax_rate_id")
274
+  (0.1ms) DROP TABLE IF EXISTS "spree_shipping_rates" CASCADE
275
+  (1.8ms) CREATE TABLE "spree_shipping_rates" ("id" serial NOT NULL PRIMARY KEY, "shipment_id" integer, "shipping_method_id" integer, "selected" boolean DEFAULT FALSE, "cost" decimal(8,2) DEFAULT '0.0', "created_at" timestamp(6), "updated_at" timestamp(6), "tax_rate_id" integer)
276
+  (0.7ms) CREATE UNIQUE INDEX "spree_shipping_rates_join_index" ON "spree_shipping_rates" ("shipment_id", "shipping_method_id")
277
+  (0.1ms) DROP TABLE IF EXISTS "spree_state_changes" CASCADE
278
+  (3.2ms) CREATE TABLE "spree_state_changes" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "previous_state" character varying, "stateful_id" integer, "user_id" integer, "stateful_type" character varying, "next_state" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
279
+  (1.0ms) CREATE INDEX "index_spree_state_changes_on_stateful_id_and_stateful_type" ON "spree_state_changes" ("stateful_id", "stateful_type")
280
+  (1.0ms) CREATE INDEX "index_spree_state_changes_on_user_id" ON "spree_state_changes" ("user_id")
281
+  (0.2ms) DROP TABLE IF EXISTS "spree_states" CASCADE
282
+  (3.3ms) CREATE TABLE "spree_states" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "abbr" character varying, "country_id" integer, "updated_at" timestamp(6), "created_at" timestamp(6))
283
+  (0.9ms) CREATE INDEX "index_spree_states_on_country_id" ON "spree_states" ("country_id")
284
+  (0.2ms) DROP TABLE IF EXISTS "spree_stock_items" CASCADE
285
+  (1.7ms) CREATE TABLE "spree_stock_items" ("id" serial NOT NULL PRIMARY KEY, "stock_location_id" integer, "variant_id" integer, "count_on_hand" integer DEFAULT 0 NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6), "backorderable" boolean DEFAULT FALSE, "deleted_at" timestamp)
286
+  (0.8ms) CREATE INDEX "index_spree_stock_items_on_deleted_at" ON "spree_stock_items" ("deleted_at")
287
+  (0.8ms) CREATE INDEX "stock_item_by_loc_and_var_id" ON "spree_stock_items" ("stock_location_id", "variant_id")
288
+  (0.8ms) CREATE INDEX "index_spree_stock_items_on_stock_location_id" ON "spree_stock_items" ("stock_location_id")
289
+  (0.8ms) CREATE UNIQUE INDEX "index_spree_stock_items_on_variant_id_and_stock_location_id" ON "spree_stock_items" ("variant_id", "stock_location_id") WHERE deleted_at is null
290
+  (0.1ms) DROP TABLE IF EXISTS "spree_stock_locations" CASCADE
291
+  (3.1ms) CREATE TABLE "spree_stock_locations" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6), "default" boolean DEFAULT FALSE NOT NULL, "address1" character varying, "address2" character varying, "city" character varying, "state_id" integer, "state_name" character varying, "country_id" integer, "zipcode" character varying, "phone" character varying, "active" boolean DEFAULT TRUE, "backorderable_default" boolean DEFAULT FALSE, "propagate_all_variants" boolean DEFAULT TRUE, "admin_name" character varying, "position" integer DEFAULT 0, "restock_inventory" boolean DEFAULT TRUE NOT NULL, "fulfillable" boolean DEFAULT TRUE NOT NULL, "code" character varying, "check_stock_on_transfer" boolean DEFAULT TRUE)
292
+  (0.7ms) CREATE INDEX "index_spree_stock_locations_on_country_id" ON "spree_stock_locations" ("country_id")
293
+  (0.6ms) CREATE INDEX "index_spree_stock_locations_on_state_id" ON "spree_stock_locations" ("state_id")
294
+  (0.1ms) DROP TABLE IF EXISTS "spree_stock_movements" CASCADE
295
+  (3.0ms) CREATE TABLE "spree_stock_movements" ("id" serial NOT NULL PRIMARY KEY, "stock_item_id" integer, "quantity" integer DEFAULT 0, "action" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, "originator_type" character varying, "originator_id" integer)
296
+  (0.7ms) CREATE INDEX "index_spree_stock_movements_on_stock_item_id" ON "spree_stock_movements" ("stock_item_id")
297
+  (0.1ms) DROP TABLE IF EXISTS "spree_store_credit_categories" CASCADE
298
+  (2.4ms) CREATE TABLE "spree_store_credit_categories" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
299
+  (0.1ms) DROP TABLE IF EXISTS "spree_store_credit_events" CASCADE
300
+  (3.1ms) CREATE TABLE "spree_store_credit_events" ("id" serial NOT NULL PRIMARY KEY, "store_credit_id" integer NOT NULL, "action" character varying NOT NULL, "amount" decimal(8,2), "user_total_amount" decimal(8,2) DEFAULT '0.0' NOT NULL, "authorization_code" character varying NOT NULL, "deleted_at" timestamp, "originator_type" character varying, "originator_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6), "update_reason_id" integer)
301
+  (0.8ms) CREATE INDEX "index_spree_store_credit_events_on_deleted_at" ON "spree_store_credit_events" ("deleted_at")
302
+  (40.0ms) CREATE INDEX "index_spree_store_credit_events_on_store_credit_id" ON "spree_store_credit_events" ("store_credit_id")
303
+  (0.1ms) DROP TABLE IF EXISTS "spree_store_credit_types" CASCADE
304
+  (2.3ms) CREATE TABLE "spree_store_credit_types" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "priority" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
305
+  (0.6ms) CREATE INDEX "index_spree_store_credit_types_on_priority" ON "spree_store_credit_types" ("priority")
306
+  (0.1ms) DROP TABLE IF EXISTS "spree_store_credit_update_reasons" CASCADE
307
+  (2.5ms) CREATE TABLE "spree_store_credit_update_reasons" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
308
+  (0.3ms) DROP TABLE IF EXISTS "spree_store_credits" CASCADE
309
+  (2.8ms) CREATE TABLE "spree_store_credits" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer, "category_id" integer, "created_by_id" integer, "amount" decimal(8,2) DEFAULT '0.0' NOT NULL, "amount_used" decimal(8,2) DEFAULT '0.0' NOT NULL, "amount_authorized" decimal(8,2) DEFAULT '0.0' NOT NULL, "currency" character varying, "memo" text, "spree_store_credits" timestamp, "deleted_at" timestamp, "created_at" timestamp(6), "updated_at" timestamp(6), "type_id" integer, "invalidated_at" timestamp)
310
+  (0.8ms) CREATE INDEX "index_spree_store_credits_on_deleted_at" ON "spree_store_credits" ("deleted_at")
311
+  (0.8ms) CREATE INDEX "index_spree_store_credits_on_type_id" ON "spree_store_credits" ("type_id")
312
+  (0.7ms) CREATE INDEX "index_spree_store_credits_on_user_id" ON "spree_store_credits" ("user_id")
313
+  (0.1ms) DROP TABLE IF EXISTS "spree_store_payment_methods" CASCADE
314
+  (1.6ms) CREATE TABLE "spree_store_payment_methods" ("id" serial NOT NULL PRIMARY KEY, "store_id" integer NOT NULL, "payment_method_id" integer NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
315
+  (1.0ms) CREATE INDEX "index_spree_store_payment_methods_on_payment_method_id" ON "spree_store_payment_methods" ("payment_method_id")
316
+  (1.0ms) CREATE INDEX "index_spree_store_payment_methods_on_store_id" ON "spree_store_payment_methods" ("store_id")
317
+  (0.1ms) DROP TABLE IF EXISTS "spree_stores" CASCADE
318
+  (3.3ms) CREATE TABLE "spree_stores" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "url" character varying, "meta_description" text, "meta_keywords" text, "seo_title" character varying, "mail_from_address" character varying, "default_currency" character varying, "code" character varying, "default" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6), "cart_tax_country_iso" character varying)
319
+  (0.7ms) CREATE INDEX "index_spree_stores_on_code" ON "spree_stores" ("code")
320
+  (0.7ms) CREATE INDEX "index_spree_stores_on_default" ON "spree_stores" ("default")
321
+  (0.1ms) DROP TABLE IF EXISTS "spree_tax_categories" CASCADE
322
+  (2.5ms) CREATE TABLE "spree_tax_categories" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "description" character varying, "is_default" boolean DEFAULT FALSE, "deleted_at" timestamp, "created_at" timestamp(6), "updated_at" timestamp(6), "tax_code" character varying)
323
+  (0.1ms) DROP TABLE IF EXISTS "spree_tax_rates" CASCADE
324
+  (2.6ms) CREATE TABLE "spree_tax_rates" ("id" serial NOT NULL PRIMARY KEY, "amount" decimal(8,5), "zone_id" integer, "tax_category_id" integer, "included_in_price" boolean DEFAULT FALSE, "created_at" timestamp(6), "updated_at" timestamp(6), "name" character varying, "show_rate_in_label" boolean DEFAULT TRUE, "deleted_at" timestamp)
325
+  (0.7ms) CREATE INDEX "index_spree_tax_rates_on_deleted_at" ON "spree_tax_rates" ("deleted_at")
326
+  (0.9ms) CREATE INDEX "index_spree_tax_rates_on_tax_category_id" ON "spree_tax_rates" ("tax_category_id")
327
+  (0.8ms) CREATE INDEX "index_spree_tax_rates_on_zone_id" ON "spree_tax_rates" ("zone_id")
328
+  (0.1ms) DROP TABLE IF EXISTS "spree_taxonomies" CASCADE
329
+  (2.5ms) CREATE TABLE "spree_taxonomies" ("id" serial NOT NULL PRIMARY KEY, "name" character varying NOT NULL, "created_at" timestamp(6), "updated_at" timestamp(6), "position" integer DEFAULT 0)
330
+  (0.8ms) CREATE INDEX "index_spree_taxonomies_on_position" ON "spree_taxonomies" ("position")
331
+  (0.1ms) DROP TABLE IF EXISTS "spree_taxons" CASCADE
332
+  (3.0ms) CREATE TABLE "spree_taxons" ("id" serial NOT NULL PRIMARY KEY, "parent_id" integer, "position" integer DEFAULT 0, "name" character varying NOT NULL, "permalink" character varying, "taxonomy_id" integer, "lft" integer, "rgt" integer, "icon_file_name" character varying, "icon_content_type" character varying, "icon_file_size" integer, "icon_updated_at" timestamp, "description" text, "created_at" timestamp(6), "updated_at" timestamp(6), "meta_title" character varying, "meta_description" character varying, "meta_keywords" character varying, "depth" integer)
333
+  (0.7ms) CREATE INDEX "index_taxons_on_parent_id" ON "spree_taxons" ("parent_id")
334
+  (0.7ms) CREATE INDEX "index_taxons_on_permalink" ON "spree_taxons" ("permalink")
335
+  (0.9ms) CREATE INDEX "index_spree_taxons_on_position" ON "spree_taxons" ("position")
336
+  (0.9ms) CREATE INDEX "index_taxons_on_taxonomy_id" ON "spree_taxons" ("taxonomy_id")
337
+  (0.1ms) DROP TABLE IF EXISTS "spree_unit_cancels" CASCADE
338
+  (3.4ms) CREATE TABLE "spree_unit_cancels" ("id" serial NOT NULL PRIMARY KEY, "inventory_unit_id" integer NOT NULL, "reason" character varying, "created_by" character varying, "created_at" timestamp(6), "updated_at" timestamp(6))
339
+  (0.9ms) CREATE INDEX "index_spree_unit_cancels_on_inventory_unit_id" ON "spree_unit_cancels" ("inventory_unit_id")
340
+  (0.1ms) DROP TABLE IF EXISTS "spree_user_addresses" CASCADE
341
+  (1.8ms) CREATE TABLE "spree_user_addresses" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "address_id" integer NOT NULL, "default" boolean DEFAULT FALSE, "archived" boolean DEFAULT FALSE, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
342
+  (0.8ms) CREATE INDEX "index_spree_user_addresses_on_address_id" ON "spree_user_addresses" ("address_id")
343
+  (0.8ms) CREATE UNIQUE INDEX "index_spree_user_addresses_on_user_id_and_address_id" ON "spree_user_addresses" ("user_id", "address_id")
344
+  (0.8ms) CREATE INDEX "index_spree_user_addresses_on_user_id" ON "spree_user_addresses" ("user_id")
345
+  (0.1ms) DROP TABLE IF EXISTS "spree_user_stock_locations" CASCADE
346
+  (1.8ms) CREATE TABLE "spree_user_stock_locations" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer, "stock_location_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
347
+  (0.9ms) CREATE INDEX "index_spree_user_stock_locations_on_user_id" ON "spree_user_stock_locations" ("user_id")
348
+  (0.1ms) DROP TABLE IF EXISTS "spree_variant_property_rule_conditions" CASCADE
349
+  (1.7ms) CREATE TABLE "spree_variant_property_rule_conditions" ("id" serial NOT NULL PRIMARY KEY, "option_value_id" integer, "variant_property_rule_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
350
+  (0.9ms) CREATE INDEX "index_spree_variant_prop_rule_conditions_on_rule_and_optval" ON "spree_variant_property_rule_conditions" ("variant_property_rule_id", "option_value_id")
351
+  (0.1ms) DROP TABLE IF EXISTS "spree_variant_property_rule_values" CASCADE
352
+  (3.0ms) CREATE TABLE "spree_variant_property_rule_values" ("id" serial NOT NULL PRIMARY KEY, "value" text, "position" integer DEFAULT 0, "property_id" integer, "variant_property_rule_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
353
+  (0.8ms) CREATE INDEX "index_spree_variant_property_rule_values_on_property_id" ON "spree_variant_property_rule_values" ("property_id")
354
+  (0.9ms) CREATE INDEX "index_spree_variant_property_rule_values_on_rule" ON "spree_variant_property_rule_values" ("variant_property_rule_id")
355
+  (0.1ms) DROP TABLE IF EXISTS "spree_variant_property_rules" CASCADE
356
+  (1.9ms) CREATE TABLE "spree_variant_property_rules" ("id" serial NOT NULL PRIMARY KEY, "product_id" integer, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
357
+  (0.8ms) CREATE INDEX "index_spree_variant_property_rules_on_product_id" ON "spree_variant_property_rules" ("product_id")
358
+  (0.1ms) DROP TABLE IF EXISTS "spree_variants" CASCADE
359
+  (2.9ms) CREATE TABLE "spree_variants" ("id" serial NOT NULL PRIMARY KEY, "sku" character varying DEFAULT '' NOT NULL, "weight" decimal(8,2) DEFAULT '0.0', "height" decimal(8,2), "width" decimal(8,2), "depth" decimal(8,2), "deleted_at" timestamp, "is_master" boolean DEFAULT FALSE, "product_id" integer, "cost_price" decimal(10,2), "position" integer, "cost_currency" character varying, "track_inventory" boolean DEFAULT TRUE, "tax_category_id" integer, "updated_at" timestamp(6), "created_at" timestamp(6))
360
+  (0.7ms) CREATE INDEX "index_spree_variants_on_position" ON "spree_variants" ("position")
361
+  (0.8ms) CREATE INDEX "index_spree_variants_on_product_id" ON "spree_variants" ("product_id")
362
+  (0.9ms) CREATE INDEX "index_spree_variants_on_sku" ON "spree_variants" ("sku")
363
+  (1.3ms) CREATE INDEX "index_spree_variants_on_tax_category_id" ON "spree_variants" ("tax_category_id")
364
+  (0.9ms) CREATE INDEX "index_spree_variants_on_track_inventory" ON "spree_variants" ("track_inventory")
365
+  (0.1ms) DROP TABLE IF EXISTS "spree_zone_members" CASCADE
366
+  (3.0ms) CREATE TABLE "spree_zone_members" ("id" serial NOT NULL PRIMARY KEY, "zoneable_type" character varying, "zoneable_id" integer, "zone_id" integer, "created_at" timestamp(6), "updated_at" timestamp(6))
367
+  (0.9ms) CREATE INDEX "index_spree_zone_members_on_zone_id" ON "spree_zone_members" ("zone_id")
368
+  (1.0ms) CREATE INDEX "index_spree_zone_members_on_zoneable_id_and_zoneable_type" ON "spree_zone_members" ("zoneable_id", "zoneable_type")
369
+  (0.1ms) DROP TABLE IF EXISTS "spree_zones" CASCADE
370
+  (3.1ms) CREATE TABLE "spree_zones" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "description" character varying, "default_tax" boolean DEFAULT FALSE, "zone_members_count" integer DEFAULT 0, "created_at" timestamp(6), "updated_at" timestamp(6))
371
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070921"]]
372
+  (9.9ms) COMMIT
373
+ Migrating to CreateSpreeWalletPaymentSources (20190822070922)
374
+  (10.0ms) BEGIN
375
+  (3.9ms) CREATE TABLE "spree_wallet_payment_sources" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "payment_source_type" character varying NOT NULL, "payment_source_id" integer NOT NULL, "default" boolean DEFAULT FALSE NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL, CONSTRAINT "fk_rails_5dd6e027c5"
376
+ FOREIGN KEY ("user_id")
377
+ REFERENCES "spree_users" ("id")
378
+ )
379
+  (1.0ms) CREATE INDEX "index_spree_wallet_payment_sources_on_user_id" ON "spree_wallet_payment_sources" ("user_id")
380
+  (1.2ms) CREATE UNIQUE INDEX "index_spree_wallet_payment_sources_on_source_and_user" ON "spree_wallet_payment_sources" ("user_id", "payment_source_id", "payment_source_type")
381
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070922"]]
382
+  (0.6ms) COMMIT
383
+ Migrating to MigrateCreditCardsToWalletPaymentSources (20190822070923)
384
+  (0.3ms) BEGIN
385
+ MigrateCreditCardsToWalletPaymentSources::CreditCard Load (0.4ms) SELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."gateway_customer_profile_id" IS NOT NULL AND "spree_credit_cards"."user_id" IS NOT NULL ORDER BY "spree_credit_cards"."id" ASC LIMIT $1 [["LIMIT", 1000]]
386
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070923"]]
387
+  (0.5ms) COMMIT
388
+ Migrating to RemoveIsDefaultFromPrices (20190822070924)
389
+  (0.1ms) BEGIN
390
+  (0.6ms) ALTER TABLE "spree_prices" DROP COLUMN "is_default"
391
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070924"]]
392
+  (0.5ms) COMMIT
393
+ Migrating to RemoveCurrencyFromLineItems (20190822070925)
394
+  (0.1ms) BEGIN
395
+  (0.3ms) ALTER TABLE "spree_line_items" DROP COLUMN "currency"
396
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070925"]]
397
+  (0.3ms) COMMIT
398
+ Migrating to AddAvailableToColumnsAndRemoveDisplayOnFromPaymentMethods (20190822070926)
399
+  (0.1ms) BEGIN
400
+  (3.8ms) ALTER TABLE "spree_payment_methods" ADD "available_to_users" boolean DEFAULT TRUE
401
+  (3.2ms) ALTER TABLE "spree_payment_methods" ADD "available_to_admin" boolean DEFAULT TRUE
402
+  (0.5ms) UPDATE spree_payment_methods SET available_to_users=FALSE WHERE NOT (display_on='front_end' OR display_on='' OR display_on IS NULL)
403
+  (0.2ms) UPDATE spree_payment_methods SET available_to_admin=FALSE WHERE NOT (display_on='back_end' OR display_on='' OR display_on IS NULL)
404
+  (0.2ms) ALTER TABLE "spree_payment_methods" DROP COLUMN "display_on"
405
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070926"]]
406
+  (2.4ms) COMMIT
407
+ Migrating to CreateSpreePromotionCodeBatch (20190822070927)
408
+  (0.1ms) BEGIN
409
+  (2.7ms) CREATE TABLE "spree_promotion_code_batches" ("id" serial NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "base_code" character varying NOT NULL, "number_of_codes" integer NOT NULL, "email" character varying, "error" character varying, "state" character varying DEFAULT 'pending', "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
410
+  (0.9ms) CREATE INDEX "index_spree_promotion_code_batches_on_promotion_id" ON "spree_promotion_code_batches" ("promotion_id")
411
+  (3.8ms) ALTER TABLE "spree_promotion_code_batches" ADD CONSTRAINT "fk_rails_c217102f50"
412
+ FOREIGN KEY ("promotion_id")
413
+ REFERENCES "spree_promotions" ("id")
414
+ 
415
+  (0.2ms) ALTER TABLE "spree_promotion_codes" ADD "promotion_code_batch_id" integer
416
+  (0.9ms) ALTER TABLE "spree_promotion_codes" ADD CONSTRAINT "fk_rails_e306e312d9"
417
+ FOREIGN KEY ("promotion_code_batch_id")
418
+ REFERENCES "spree_promotion_code_batches" ("id")
419
+ 
420
+  (1.0ms) CREATE INDEX "index_spree_promotion_codes_on_promotion_code_batch_id" ON "spree_promotion_codes" ("promotion_code_batch_id")
421
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070927"]]
422
+  (0.6ms) COMMIT
423
+ Migrating to AddAvailableToUsersAndRemoveDisplayOnFromShippingMethods (20190822070928)
424
+  (0.3ms) BEGIN
425
+  (3.7ms) ALTER TABLE "spree_shipping_methods" ADD "available_to_users" boolean DEFAULT TRUE
426
+  (0.4ms) UPDATE spree_shipping_methods SET available_to_users=FALSE WHERE display_on='back_end'
427
+  (0.2ms) ALTER TABLE "spree_shipping_methods" DROP COLUMN "display_on"
428
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070928"]]
429
+  (1.2ms) COMMIT
430
+ Migrating to AddIndexToSpreePaymentsNumber (20190822070929)
431
+  (0.2ms) BEGIN
432
+  (1.0ms) CREATE UNIQUE INDEX "index_spree_payments_on_number" ON "spree_payments" ("number")
433
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070929"]]
434
+  (0.5ms) COMMIT
435
+ Migrating to RemoveSpreeStoreCreditsColumn (20190822070930)
436
+  (0.1ms) BEGIN
437
+  (0.3ms) ALTER TABLE "spree_store_credits" DROP COLUMN "spree_store_credits"
438
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070930"]]
439
+  (0.3ms) COMMIT
440
+ Migrating to AddLftAndRgtIndexesToTaxons (20190822070931)
441
+  (0.1ms) BEGIN
442
+  (0.9ms) CREATE INDEX "index_spree_taxons_on_lft" ON "spree_taxons" ("lft")
443
+  (0.8ms) CREATE INDEX "index_spree_taxons_on_rgt" ON "spree_taxons" ("rgt")
444
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070931"]]
445
+  (0.4ms) COMMIT
446
+ Migrating to RemoveOrderIdFromInventoryUnits (20190822070932)
447
+  (0.1ms) BEGIN
448
+ RemoveOrderIdFromInventoryUnits::InventoryUnit Exists (1.0ms) SELECT 1 AS one FROM "spree_inventory_units" INNER JOIN "spree_shipments" ON "spree_shipments"."id" = "spree_inventory_units"."shipment_id" WHERE NOT (spree_inventory_units.order_id = spree_shipments.order_id) LIMIT $1 [["LIMIT", 1]]
449
+  (0.3ms) ALTER TABLE "spree_inventory_units" DROP COLUMN "order_id"
450
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070932"]]
451
+  (17.9ms) COMMIT
452
+ Migrating to TransformTaxRateCategoryRelation (20190822070933)
453
+  (0.2ms) BEGIN
454
+  (1.8ms) CREATE TABLE "spree_tax_rate_tax_categories" ("id" serial NOT NULL PRIMARY KEY, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL)
455
+  (0.8ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_category_id" ON "spree_tax_rate_tax_categories" ("tax_category_id")
456
+  (0.9ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_rate_id" ON "spree_tax_rate_tax_categories" ("tax_rate_id")
457
+  (0.9ms) ALTER TABLE "spree_tax_rate_tax_categories" ADD CONSTRAINT "fk_rails_499313ce8e"
458
+ FOREIGN KEY ("tax_category_id")
459
+ REFERENCES "spree_tax_categories" ("id")
460
+ 
461
+  (0.9ms) ALTER TABLE "spree_tax_rate_tax_categories" ADD CONSTRAINT "fk_rails_3e6fe87e12"
462
+ FOREIGN KEY ("tax_rate_id")
463
+ REFERENCES "spree_tax_rates" ("id")
464
+ 
465
+ TransformTaxRateCategoryRelation::TaxRate Load (0.2ms) SELECT "spree_tax_rates".* FROM "spree_tax_rates" WHERE "spree_tax_rates"."tax_category_id" IS NOT NULL ORDER BY "spree_tax_rates"."id" ASC LIMIT $1 [["LIMIT", 1000]]
466
+  (0.3ms) ALTER TABLE "spree_tax_rates" DROP COLUMN "tax_category_id"
467
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070933"]]
468
+  (0.8ms) COMMIT
469
+ Migrating to AddRolesUniqueConstraints (20190822070934)
470
+  (0.3ms) BEGIN
471
+  (1.2ms) CREATE UNIQUE INDEX "index_spree_roles_on_name" ON "spree_roles" ("name")
472
+  (0.9ms) CREATE UNIQUE INDEX "index_spree_roles_users_on_user_id_and_role_id" ON "spree_roles_users" ("user_id", "role_id")
473
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070934"]]
474
+  (0.6ms) COMMIT
475
+ Migrating to AddTimeRangeToTaxRate (20190822070935)
476
+  (0.2ms) BEGIN
477
+  (0.3ms) ALTER TABLE "spree_tax_rates" ADD "starts_at" timestamp
478
+  (0.2ms) ALTER TABLE "spree_tax_rates" ADD "expires_at" timestamp
479
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070935"]]
480
+  (0.4ms) COMMIT
481
+ Migrating to RenameBogusGateways (20190822070936)
482
+  (0.1ms) BEGIN
483
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070936"]]
484
+  (0.3ms) COMMIT
485
+ Migrating to RemoveDefaultTaxFromSpreeZones (20190822070937)
486
+  (0.1ms) BEGIN
487
+  (0.3ms) ALTER TABLE "spree_zones" DROP COLUMN "default_tax"
488
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070937"]]
489
+  (0.3ms) COMMIT
490
+ Migrating to CreatePromotionRuleStores (20190822070938)
491
+  (0.1ms) BEGIN
492
+  (1.8ms) CREATE TABLE "spree_promotion_rules_stores" ("id" bigserial primary key, "store_id" bigint NOT NULL, "promotion_rule_id" bigint NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
493
+  (0.7ms) CREATE INDEX "index_spree_promotion_rules_stores_on_store_id" ON "spree_promotion_rules_stores" ("store_id")
494
+  (0.8ms) CREATE INDEX "index_spree_promotion_rules_stores_on_promotion_rule_id" ON "spree_promotion_rules_stores" ("promotion_rule_id")
495
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070938"]]
496
+  (0.5ms) COMMIT
497
+ Migrating to CreateStoreShippingMethods (20190822070939)
498
+  (0.2ms) BEGIN
499
+  (1.6ms) CREATE TABLE "spree_store_shipping_methods" ("id" bigserial primary key, "store_id" bigint NOT NULL, "shipping_method_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
500
+  (0.9ms) CREATE INDEX "index_spree_store_shipping_methods_on_store_id" ON "spree_store_shipping_methods" ("store_id")
501
+  (0.8ms) CREATE INDEX "index_spree_store_shipping_methods_on_shipping_method_id" ON "spree_store_shipping_methods" ("shipping_method_id")
502
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070939"]]
503
+  (0.4ms) COMMIT
504
+ Migrating to AddAvailableLocalesToStores (20190822070940)
505
+  (0.2ms) BEGIN
506
+  (0.2ms) ALTER TABLE "spree_stores" ADD "available_locales" character varying
507
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070940"]]
508
+  (0.4ms) COMMIT
509
+ Migrating to AddAmountRemainingToStoreCreditEvents (20190822070941)
510
+  (0.1ms) BEGIN
511
+  (4.3ms) ALTER TABLE "spree_store_credit_events" ADD "amount_remaining" decimal(8,2) DEFAULT NULL
512
+ AddAmountRemainingToStoreCreditEvents::StoreCredit Load (0.5ms) SELECT "spree_store_credits".* FROM "spree_store_credits" ORDER BY "spree_store_credits"."id" ASC LIMIT $1 [["LIMIT", 1000]]
513
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070941"]]
514
+  (41.7ms) COMMIT
515
+ Migrating to AddJoinCharactersToPromotionCodeBatch (20190822070942)
516
+  (0.1ms) BEGIN
517
+  (5.4ms) ALTER TABLE "spree_promotion_code_batches" ADD "join_characters" character varying DEFAULT '_' NOT NULL
518
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070942"]]
519
+  (1.4ms) COMMIT
520
+ Migrating to CreateSpreeStoreCreditReasonsTable (20190822070943)
521
+  (0.2ms) BEGIN
522
+  (2.7ms) CREATE TABLE "spree_store_credit_reasons" ("id" bigserial primary key, "name" character varying, "active" boolean DEFAULT TRUE, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
523
+ CreateSpreeStoreCreditReasonsTable::StoreCreditUpdateReason Load (0.3ms) SELECT "spree_store_credit_update_reasons".* FROM "spree_store_credit_update_reasons"
524
+  (0.2ms) ALTER TABLE "spree_store_credit_events" ADD "store_credit_reason_id" integer
525
+  (0.4ms) update spree_store_credit_events set store_credit_reason_id = update_reason_id
526
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070943"]]
527
+  (0.7ms) COMMIT
528
+ Migrating to RemoveCodeFromSpreePromotions (20190822070944)
529
+  (39.6ms) BEGIN
530
+ RemoveCodeFromSpreePromotions::Promotion Exists (0.4ms) SELECT 1 AS one FROM "spree_promotions" WHERE NOT (("spree_promotions"."code" = $1 OR "spree_promotions"."code" IS NULL)) LIMIT $2 [["code", ""], ["LIMIT", 1]]
531
+  (0.3ms) DROP INDEX "index_spree_promotions_on_code"
532
+  (0.2ms) ALTER TABLE "spree_promotions" DROP COLUMN "code"
533
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070944"]]
534
+  (2.3ms) COMMIT
535
+ Migrating to DropSpreeStoreCreditUpdateReasons (20190822070945)
536
+  (0.1ms) BEGIN
537
+  (0.6ms) DROP TABLE "spree_store_credit_update_reasons"
538
+  (0.2ms) ALTER TABLE "spree_store_credit_events" DROP COLUMN "update_reason_id"
539
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070945"]]
540
+  (1.0ms) COMMIT
541
+ Migrating to AddApiKeyToSpreeUsers (20190822070946)
542
+  (0.1ms) BEGIN
543
+  (0.2ms) ALTER TABLE "spree_users" ADD "api_key" character varying(40)
544
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070946"]]
545
+  (0.3ms) COMMIT
546
+ Migrating to ResizeApiKeyField (20190822070947)
547
+  (0.1ms) BEGIN
548
+  (0.8ms) ALTER TABLE "spree_users" ALTER COLUMN "api_key" TYPE character varying(48)
549
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070947"]]
550
+  (0.4ms) COMMIT
551
+ Migrating to RenameApiKeyToSpreeApiKey (20190822070948)
552
+  (0.1ms) BEGIN
553
+  (0.7ms) ALTER TABLE "spree_users" RENAME COLUMN "api_key" TO "spree_api_key"
554
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070948"]]
555
+  (0.5ms) COMMIT
556
+ Migrating to AddIndexToUserSpreeApiKey (20190822070949)
557
+  (0.1ms) BEGIN
558
+  (1.0ms) CREATE INDEX "index_spree_users_on_spree_api_key" ON "spree_users" ("spree_api_key")
559
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070949"]]
560
+  (0.4ms) COMMIT
561
+ Migrating to CreateUsers (20190822070950)
562
+  (0.1ms) BEGIN
563
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070950"]]
564
+  (0.5ms) COMMIT
565
+ Migrating to RenameColumnsForDevise (20190822070951)
566
+  (0.2ms) BEGIN
567
+  (0.2ms) ALTER TABLE "spree_users" RENAME COLUMN "crypted_password" TO "encrypted_password"
568
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "salt" TO "password_salt"
569
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "remember_token_expires_at" TO "remember_created_at"
570
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "login_count" TO "sign_in_count"
571
+  (0.2ms) ALTER TABLE "spree_users" RENAME COLUMN "failed_login_count" TO "failed_attempts"
572
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "single_access_token" TO "reset_password_token"
573
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "current_login_at" TO "current_sign_in_at"
574
+  (0.3ms) ALTER TABLE "spree_users" RENAME COLUMN "last_login_at" TO "last_sign_in_at"
575
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "current_login_ip" TO "current_sign_in_ip"
576
+  (0.1ms) ALTER TABLE "spree_users" RENAME COLUMN "last_login_ip" TO "last_sign_in_ip"
577
+  (0.2ms) ALTER TABLE "spree_users" ADD "authentication_token" character varying
578
+  (0.2ms) ALTER TABLE "spree_users" ADD "unlock_token" character varying
579
+  (0.1ms) ALTER TABLE "spree_users" ADD "locked_at" timestamp
580
+  (0.2ms) ALTER TABLE "spree_users" DROP COLUMN "openid_identifier"
581
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070951"]]
582
+  (0.4ms) COMMIT
583
+ Migrating to ConvertUserRememberField (20190822070952)
584
+  (0.1ms) BEGIN
585
+  (0.3ms) ALTER TABLE "spree_users" DROP COLUMN "remember_created_at"
586
+  (0.2ms) ALTER TABLE "spree_users" ADD "remember_created_at" timestamp
587
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070952"]]
588
+  (0.4ms) COMMIT
589
+ Migrating to AddResetPasswordSentAtToSpreeUsers (20190822070953)
590
+  (0.1ms) BEGIN
591
+  (0.2ms) ALTER TABLE "spree_users" ADD "reset_password_sent_at" timestamp
592
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070953"]]
593
+  (0.4ms) COMMIT
594
+ Migrating to MakeUsersEmailIndexUnique (20190822070954)
595
+  (0.1ms) BEGIN
596
+  (0.9ms) CREATE UNIQUE INDEX "email_idx_unique" ON "spree_users" ("email")
597
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070954"]]
598
+  (0.4ms) COMMIT
599
+ Migrating to AddDeletedAtToUsers (20190822070955)
600
+  (0.1ms) BEGIN
601
+  (0.2ms) ALTER TABLE "spree_users" ADD "deleted_at" timestamp
602
+  (0.8ms) CREATE INDEX "index_spree_users_on_deleted_at" ON "spree_users" ("deleted_at")
603
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070955"]]
604
+  (0.4ms) COMMIT
605
+ Migrating to AddConfirmableToUsers (20190822070956)
606
+  (0.1ms) BEGIN
607
+  (0.2ms) ALTER TABLE "spree_users" ADD "confirmation_token" character varying
608
+  (0.2ms) ALTER TABLE "spree_users" ADD "confirmed_at" timestamp
609
+  (0.2ms) ALTER TABLE "spree_users" ADD "confirmation_sent_at" timestamp
610
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190822070956"]]
611
+  (0.3ms) COMMIT
612
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
613
+  (0.1ms) BEGIN
614
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-08-22 07:09:32.795364"], ["updated_at", "2019-08-22 07:09:32.795364"]]
615
+  (0.3ms) COMMIT
616
+  (0.1ms) SELECT pg_advisory_unlock(7932130290496454280)
617
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
618
+  (0.2ms) SELECT pg_try_advisory_lock(7932130290496454280)
619
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
620
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
621
+  (0.1ms) BEGIN
622
+  (0.1ms) COMMIT
623
+  (0.2ms) SELECT pg_advisory_unlock(7932130290496454280)
624
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
625
+  (0.1ms) BEGIN
626
+  (4.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" DISABLE TRIGGER ALL;ALTER TABLE "friendly_id_slugs" DISABLE TRIGGER ALL;ALTER TABLE "spree_addresses" DISABLE TRIGGER ALL;ALTER TABLE "spree_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_adjustment_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_adjustments" DISABLE TRIGGER ALL;ALTER TABLE "spree_assets" DISABLE TRIGGER ALL;ALTER TABLE "spree_calculators" DISABLE TRIGGER ALL;ALTER TABLE "spree_cartons" DISABLE TRIGGER ALL;ALTER TABLE "spree_countries" DISABLE TRIGGER ALL;ALTER TABLE "spree_credit_cards" DISABLE TRIGGER ALL;ALTER TABLE "spree_customer_returns" DISABLE TRIGGER ALL;ALTER TABLE "spree_inventory_units" DISABLE TRIGGER ALL;ALTER TABLE "spree_line_item_actions" DISABLE TRIGGER ALL;ALTER TABLE "spree_line_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_log_entries" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_type_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_values" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_values_variants" DISABLE TRIGGER ALL;ALTER TABLE "spree_order_mutexes" DISABLE TRIGGER ALL;ALTER TABLE "spree_orders" DISABLE TRIGGER ALL;ALTER TABLE "spree_orders_promotions" DISABLE TRIGGER ALL;ALTER TABLE "spree_payment_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "spree_payments" DISABLE TRIGGER ALL;ALTER TABLE "spree_preferences" DISABLE TRIGGER ALL;ALTER TABLE "spree_prices" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_option_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_promotion_rules" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_properties" DISABLE TRIGGER ALL;ALTER TABLE "spree_products" DISABLE TRIGGER ALL;ALTER TABLE "spree_products_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_action_line_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_actions" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rule_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotions" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_codes" DISABLE TRIGGER ALL;ALTER TABLE "spree_properties" DISABLE TRIGGER ALL;ALTER TABLE "spree_property_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_prototype_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_refund_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_refunds" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_credits" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursements" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_authorizations" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_roles" DISABLE TRIGGER ALL;ALTER TABLE "spree_roles_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipments" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_zones" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rate_taxes" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rates" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_state_changes" DISABLE TRIGGER ALL;ALTER TABLE "spree_states" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_movements" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credits" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_payment_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_stores" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_events" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "spree_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_unit_cancels" DISABLE TRIGGER ALL;ALTER TABLE "spree_user_addresses" DISABLE TRIGGER ALL;ALTER TABLE "spree_user_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_conditions" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_rates" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_values" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rules" DISABLE TRIGGER ALL;ALTER TABLE "spree_variants" DISABLE TRIGGER ALL;ALTER TABLE "spree_zone_members" DISABLE TRIGGER ALL;ALTER TABLE "spree_zones" DISABLE TRIGGER ALL;ALTER TABLE "spree_wallet_payment_sources" DISABLE TRIGGER ALL;ALTER TABLE "spree_payment_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_stores" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_shipping_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_rate_tax_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_code_batches" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_reasons" DISABLE TRIGGER ALL
627
+  (2.4ms) COMMIT
628
+  (2.0ms)  SELECT schemaname || '.' || tablename
629
+ FROM pg_tables
630
+ WHERE
631
+ tablename !~ '_prt_' AND
632
+ tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
633
+ schemaname = ANY (current_schemas(false))
634
+ 
635
+  (1.1ms) select table_name from information_schema.views where table_schema = 'solidus_bank_transfer_solidus_test'
636
+  (306.7ms) TRUNCATE TABLE "public"."active_storage_blobs", "public"."active_storage_attachments", "public"."friendly_id_slugs", "public"."spree_addresses", "public"."spree_users", "public"."spree_adjustment_reasons", "public"."spree_adjustments", "public"."spree_assets", "public"."spree_calculators", "public"."spree_cartons", "public"."spree_countries", "public"."spree_credit_cards", "public"."spree_customer_returns", "public"."spree_inventory_units", "public"."spree_line_item_actions", "public"."spree_line_items", "public"."spree_log_entries", "public"."spree_option_type_prototypes", "public"."spree_option_types", "public"."spree_option_values", "public"."spree_option_values_variants", "public"."spree_order_mutexes", "public"."spree_orders", "public"."spree_orders_promotions", "public"."spree_payment_capture_events", "public"."spree_payments", "public"."spree_preferences", "public"."spree_prices", "public"."spree_product_option_types", "public"."spree_product_promotion_rules", "public"."spree_product_properties", "public"."spree_products", "public"."spree_products_taxons", "public"."spree_promotion_action_line_items", "public"."spree_promotion_actions", "public"."spree_promotion_categories", "public"."spree_promotion_rule_taxons", "public"."spree_promotion_rules", "public"."spree_promotion_rules_users", "public"."spree_promotions", "public"."spree_promotion_codes", "public"."spree_properties", "public"."spree_property_prototypes", "public"."spree_prototype_taxons", "public"."spree_prototypes", "public"."spree_refund_reasons", "public"."spree_refunds", "public"."spree_reimbursement_credits", "public"."spree_reimbursement_types", "public"."spree_reimbursements", "public"."spree_return_authorizations", "public"."spree_return_items", "public"."spree_return_reasons", "public"."spree_roles", "public"."spree_roles_users", "public"."spree_shipments", "public"."spree_shipping_categories", "public"."spree_shipping_method_categories", "public"."spree_shipping_method_stock_locations", "public"."spree_shipping_method_zones", "public"."spree_shipping_rate_taxes", "public"."spree_shipping_rates", "public"."spree_shipping_methods", "public"."spree_state_changes", "public"."spree_states", "public"."spree_stock_items", "public"."spree_stock_locations", "public"."spree_stock_movements", "public"."spree_store_credit_categories", "public"."spree_store_credit_types", "public"."spree_store_credits", "public"."spree_store_payment_methods", "public"."spree_stores", "public"."spree_store_credit_events", "public"."spree_tax_categories", "public"."spree_taxonomies", "public"."spree_taxons", "public"."spree_unit_cancels", "public"."spree_user_addresses", "public"."spree_user_stock_locations", "public"."spree_variant_property_rule_conditions", "public"."spree_tax_rates", "public"."spree_variant_property_rule_values", "public"."spree_variant_property_rules", "public"."spree_variants", "public"."spree_zone_members", "public"."spree_zones", "public"."spree_wallet_payment_sources", "public"."spree_payment_methods", "public"."spree_promotion_rules_stores", "public"."spree_store_shipping_methods", "public"."spree_tax_rate_tax_categories", "public"."spree_promotion_code_batches", "public"."spree_store_credit_reasons" RESTART IDENTITY CASCADE;
637
+  (6.4ms) BEGIN
638
+  (3.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" ENABLE TRIGGER ALL;ALTER TABLE "spree_adjustments" ENABLE TRIGGER ALL;ALTER TABLE "spree_cartons" ENABLE TRIGGER ALL;ALTER TABLE "spree_inventory_units" ENABLE TRIGGER ALL;ALTER TABLE "spree_line_item_actions" ENABLE TRIGGER ALL;ALTER TABLE "spree_orders" ENABLE TRIGGER ALL;ALTER TABLE "spree_prices" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_actions" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_credits" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipments" ENABLE TRIGGER ALL;ALTER TABLE "spree_state_changes" ENABLE TRIGGER ALL;ALTER TABLE "spree_states" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credits" ENABLE TRIGGER ALL;ALTER TABLE "spree_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_values" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rules" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" ENABLE TRIGGER ALL;ALTER TABLE "friendly_id_slugs" ENABLE TRIGGER ALL;ALTER TABLE "spree_addresses" ENABLE TRIGGER ALL;ALTER TABLE "spree_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_adjustment_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_assets" ENABLE TRIGGER ALL;ALTER TABLE "spree_calculators" ENABLE TRIGGER ALL;ALTER TABLE "spree_countries" ENABLE TRIGGER ALL;ALTER TABLE "spree_credit_cards" ENABLE TRIGGER ALL;ALTER TABLE "spree_customer_returns" ENABLE TRIGGER ALL;ALTER TABLE "spree_line_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_log_entries" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_type_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_values" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_values_variants" ENABLE TRIGGER ALL;ALTER TABLE "spree_order_mutexes" ENABLE TRIGGER ALL;ALTER TABLE "spree_orders_promotions" ENABLE TRIGGER ALL;ALTER TABLE "spree_payment_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "spree_payments" ENABLE TRIGGER ALL;ALTER TABLE "spree_preferences" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_option_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_promotion_rules" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_properties" ENABLE TRIGGER ALL;ALTER TABLE "spree_products" ENABLE TRIGGER ALL;ALTER TABLE "spree_products_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_action_line_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rule_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotions" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_codes" ENABLE TRIGGER ALL;ALTER TABLE "spree_properties" ENABLE TRIGGER ALL;ALTER TABLE "spree_property_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_prototype_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_refund_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_refunds" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursements" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_authorizations" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_roles" ENABLE TRIGGER ALL;ALTER TABLE "spree_roles_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_zones" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rate_taxes" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rates" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_movements" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_payment_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_stores" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_events" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_unit_cancels" ENABLE TRIGGER ALL;ALTER TABLE "spree_user_addresses" ENABLE TRIGGER ALL;ALTER TABLE "spree_user_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_conditions" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_rates" ENABLE TRIGGER ALL;ALTER TABLE "spree_variants" ENABLE TRIGGER ALL;ALTER TABLE "spree_zone_members" ENABLE TRIGGER ALL;ALTER TABLE "spree_zones" ENABLE TRIGGER ALL;ALTER TABLE "spree_wallet_payment_sources" ENABLE TRIGGER ALL;ALTER TABLE "spree_payment_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_stores" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_shipping_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_rate_tax_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_code_batches" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_reasons" ENABLE TRIGGER ALL
639
+  (0.5ms) COMMIT
640
+  (0.1ms) BEGIN
641
+  (0.1ms) COMMIT
642
+  (0.1ms) BEGIN
643
+  (0.2ms) SAVEPOINT active_record_1
644
+ Spree::PaymentMethod Load (0.5ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
645
+ Spree::PaymentMethod::BankTransfer Create (0.7ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:47.712834"], ["updated_at", "2019-08-22 07:09:47.712834"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
647
+  (0.1ms) SAVEPOINT active_record_1
648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
649
+  (0.1ms) SAVEPOINT active_record_1
650
+ Spree::PaymentMethod::BankTransfer Update (0.3ms) UPDATE "spree_payment_methods" SET "updated_at" = $1, "preferences" = $2 WHERE "spree_payment_methods"."id" = $3 [["updated_at", "2019-08-22 07:09:47.722774"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: IT00 S000 0000 0000 0000 0123 456\n:bank_name: Uncle Scrooge Bank & Partners\n:holder: Donald Duck\n"], ["id", 1]]
651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
652
+  (0.2ms) ROLLBACK
653
+  (0.1ms) BEGIN
654
+  (0.1ms) COMMIT
655
+  (0.1ms) BEGIN
656
+  (0.1ms) SAVEPOINT active_record_1
657
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
658
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:47.732837"], ["updated_at", "2019-08-22 07:09:47.732837"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
660
+  (0.1ms) SAVEPOINT active_record_1
661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
662
+  (0.2ms) ROLLBACK
663
+  (0.1ms) BEGIN
664
+  (0.1ms) COMMIT
665
+  (0.1ms) BEGIN
666
+  (0.1ms) SAVEPOINT active_record_1
667
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
668
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:47.755654"], ["updated_at", "2019-08-22 07:09:47.755654"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
670
+  (0.1ms) SAVEPOINT active_record_1
671
+  (0.2ms) RELEASE SAVEPOINT active_record_1
672
+  (0.1ms) ROLLBACK
673
+  (0.1ms) BEGIN
674
+  (0.1ms) COMMIT
675
+  (0.1ms) BEGIN
676
+  (0.1ms) SAVEPOINT active_record_1
677
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
678
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:47.763862"], ["updated_at", "2019-08-22 07:09:47.763862"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
680
+  (0.1ms) SAVEPOINT active_record_1
681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
682
+  (0.2ms) SAVEPOINT active_record_1
683
+ Spree::Store Load (0.4ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
684
+ Spree::Order Exists (0.9ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R371909261"], ["LIMIT", 1]]
685
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R371909261"], ["LIMIT", 1]]
686
+ Spree::Payment Exists (0.7ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "WEQCS9UR"], ["LIMIT", 1]]
687
+ Spree::Payment Create (0.5ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 4], ["state", "pending"], ["created_at", "2019-08-22 07:09:47.931768"], ["updated_at", "2019-08-22 07:09:47.931768"], ["number", "WEQCS9UR"]]
688
+  (0.2ms) RELEASE SAVEPOINT active_record_1
689
+  (0.5ms) ROLLBACK
690
+  (0.1ms) BEGIN
691
+  (0.1ms) COMMIT
692
+  (0.1ms) BEGIN
693
+  (0.2ms) SAVEPOINT active_record_1
694
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
695
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:47.948330"], ["updated_at", "2019-08-22 07:09:47.948330"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
697
+  (0.1ms) SAVEPOINT active_record_1
698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
699
+  (0.1ms) SAVEPOINT active_record_1
700
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
701
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R120756957"], ["LIMIT", 1]]
702
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R120756957"], ["LIMIT", 1]]
703
+ Spree::Payment Exists (0.2ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "V92YUBZT"], ["LIMIT", 1]]
704
+ Spree::Payment Create (0.2ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 5], ["state", "void"], ["created_at", "2019-08-22 07:09:47.956958"], ["updated_at", "2019-08-22 07:09:47.956958"], ["number", "V92YUBZT"]]
705
+ Spree::Order Exists (0.4ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = $1 LIMIT $2 [["guest_token", "9bMbDHGP4g0OkTHEiW8SDQ"], ["LIMIT", 1]]
706
+ Spree::Order Create (0.9ms) INSERT INTO "spree_orders" ("number", "state", "created_at", "updated_at", "currency", "guest_token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["number", "R120756957"], ["state", "cart"], ["created_at", "2019-08-22 07:09:48.020134"], ["updated_at", "2019-08-22 07:09:48.020134"], ["currency", "USD"], ["guest_token", "9bMbDHGP4g0OkTHEiW8SDQ"]]
707
+  (0.2ms) RELEASE SAVEPOINT active_record_1
708
+  (0.1ms) ROLLBACK
709
+  (0.1ms) BEGIN
710
+  (0.1ms) COMMIT
711
+  (0.1ms) BEGIN
712
+  (0.1ms) SAVEPOINT active_record_1
713
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
714
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.026177"], ["updated_at", "2019-08-22 07:09:48.026177"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
716
+  (0.1ms) SAVEPOINT active_record_1
717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
718
+  (0.1ms) ROLLBACK
719
+  (0.1ms) BEGIN
720
+  (0.1ms) COMMIT
721
+  (0.1ms) BEGIN
722
+  (0.1ms) SAVEPOINT active_record_1
723
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
724
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.033315"], ["updated_at", "2019-08-22 07:09:48.033315"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
726
+  (0.1ms) SAVEPOINT active_record_1
727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
728
+  (0.1ms) ROLLBACK
729
+  (0.1ms) BEGIN
730
+  (0.1ms) COMMIT
731
+  (0.1ms) BEGIN
732
+  (0.1ms) SAVEPOINT active_record_1
733
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
734
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.040518"], ["updated_at", "2019-08-22 07:09:48.040518"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
736
+  (0.1ms) SAVEPOINT active_record_1
737
+  (0.2ms) RELEASE SAVEPOINT active_record_1
738
+  (0.1ms) ROLLBACK
739
+  (0.1ms) BEGIN
740
+  (0.1ms) COMMIT
741
+  (0.2ms) BEGIN
742
+  (0.1ms) SAVEPOINT active_record_1
743
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
744
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.048497"], ["updated_at", "2019-08-22 07:09:48.048497"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
746
+  (0.1ms) SAVEPOINT active_record_1
747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
748
+  (0.1ms) ROLLBACK
749
+  (0.1ms) BEGIN
750
+  (0.1ms) COMMIT
751
+  (0.1ms) BEGIN
752
+  (0.1ms) SAVEPOINT active_record_1
753
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
754
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.055492"], ["updated_at", "2019-08-22 07:09:48.055492"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
756
+  (0.1ms) SAVEPOINT active_record_1
757
+  (0.1ms) RELEASE SAVEPOINT active_record_1
758
+  (0.1ms) ROLLBACK
759
+  (0.1ms) BEGIN
760
+  (0.1ms) COMMIT
761
+  (0.1ms) BEGIN
762
+  (0.1ms) SAVEPOINT active_record_1
763
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
764
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.062000"], ["updated_at", "2019-08-22 07:09:48.062000"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
765
+  (0.1ms) RELEASE SAVEPOINT active_record_1
766
+  (0.1ms) SAVEPOINT active_record_1
767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
768
+  (0.1ms) ROLLBACK
769
+  (0.1ms) BEGIN
770
+  (0.1ms) COMMIT
771
+  (0.1ms) BEGIN
772
+  (0.1ms) SAVEPOINT active_record_1
773
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
774
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.069559"], ["updated_at", "2019-08-22 07:09:48.069559"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
776
+  (0.1ms) SAVEPOINT active_record_1
777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
778
+  (0.1ms) ROLLBACK
779
+  (0.1ms) BEGIN
780
+  (0.1ms) COMMIT
781
+  (0.1ms) BEGIN
782
+  (0.1ms) SAVEPOINT active_record_1
783
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
784
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.076841"], ["updated_at", "2019-08-22 07:09:48.076841"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
785
+  (0.2ms) RELEASE SAVEPOINT active_record_1
786
+  (0.1ms) SAVEPOINT active_record_1
787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
788
+  (0.1ms) ROLLBACK
789
+  (0.1ms) BEGIN
790
+  (0.1ms) COMMIT
791
+  (0.1ms) BEGIN
792
+  (0.1ms) SAVEPOINT active_record_1
793
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
794
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.084203"], ["updated_at", "2019-08-22 07:09:48.084203"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
795
+  (0.2ms) RELEASE SAVEPOINT active_record_1
796
+  (0.1ms) SAVEPOINT active_record_1
797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
798
+  (0.1ms) SAVEPOINT active_record_1
799
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
800
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R691723956"], ["LIMIT", 1]]
801
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R691723956"], ["LIMIT", 1]]
802
+ Spree::Payment Exists (0.2ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "W9MFKDZC"], ["LIMIT", 1]]
803
+ Spree::Payment Create (0.2ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 14], ["state", "void"], ["created_at", "2019-08-22 07:09:48.092821"], ["updated_at", "2019-08-22 07:09:48.092821"], ["number", "W9MFKDZC"]]
804
+ Spree::Order Exists (0.4ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = $1 LIMIT $2 [["guest_token", "lBUL8eBA5tIw6ySKAe6ppQ"], ["LIMIT", 1]]
805
+ Spree::Order Create (0.3ms) INSERT INTO "spree_orders" ("number", "state", "created_at", "updated_at", "currency", "guest_token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["number", "R691723956"], ["state", "cart"], ["created_at", "2019-08-22 07:09:48.097591"], ["updated_at", "2019-08-22 07:09:48.097591"], ["currency", "USD"], ["guest_token", "lBUL8eBA5tIw6ySKAe6ppQ"]]
806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
807
+  (0.1ms) ROLLBACK
808
+  (0.1ms) BEGIN
809
+  (0.1ms) COMMIT
810
+  (0.1ms) BEGIN
811
+  (0.1ms) SAVEPOINT active_record_1
812
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
813
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.102554"], ["updated_at", "2019-08-22 07:09:48.102554"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
815
+  (0.1ms) SAVEPOINT active_record_1
816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
817
+  (0.1ms) SAVEPOINT active_record_1
818
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
819
+ Spree::Order Exists (0.3ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R848720736"], ["LIMIT", 1]]
820
+ Spree::Order Exists (0.4ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R848720736"], ["LIMIT", 1]]
821
+ Spree::Payment Exists (0.2ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "KNBVP5ES"], ["LIMIT", 1]]
822
+ Spree::Payment Create (0.3ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 15], ["state", "pending"], ["created_at", "2019-08-22 07:09:48.111804"], ["updated_at", "2019-08-22 07:09:48.111804"], ["number", "KNBVP5ES"]]
823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
824
+  (0.1ms) ROLLBACK
825
+  (0.1ms) BEGIN
826
+  (0.1ms) COMMIT
827
+  (0.1ms) BEGIN
828
+  (0.2ms) SAVEPOINT active_record_1
829
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
830
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:09:48.117069"], ["updated_at", "2019-08-22 07:09:48.117069"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
832
+  (0.1ms) SAVEPOINT active_record_1
833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
834
+  (0.1ms) SAVEPOINT active_record_1
835
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
836
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R313571243"], ["LIMIT", 1]]
837
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R313571243"], ["LIMIT", 1]]
838
+ Spree::Payment Exists (0.3ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "BNMNUUEL"], ["LIMIT", 1]]
839
+ Spree::Payment Create (0.2ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 16], ["state", "checkout"], ["created_at", "2019-08-22 07:09:48.125614"], ["updated_at", "2019-08-22 07:09:48.125614"], ["number", "BNMNUUEL"]]
840
+  (0.2ms) RELEASE SAVEPOINT active_record_1
841
+  (0.1ms) ROLLBACK
842
+  (0.1ms) BEGIN
843
+  (5.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" DISABLE TRIGGER ALL;ALTER TABLE "spree_adjustments" DISABLE TRIGGER ALL;ALTER TABLE "spree_cartons" DISABLE TRIGGER ALL;ALTER TABLE "spree_inventory_units" DISABLE TRIGGER ALL;ALTER TABLE "spree_line_item_actions" DISABLE TRIGGER ALL;ALTER TABLE "spree_orders" DISABLE TRIGGER ALL;ALTER TABLE "spree_prices" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_actions" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_credits" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipments" DISABLE TRIGGER ALL;ALTER TABLE "spree_state_changes" DISABLE TRIGGER ALL;ALTER TABLE "spree_states" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credits" DISABLE TRIGGER ALL;ALTER TABLE "spree_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_values" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rules" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" DISABLE TRIGGER ALL;ALTER TABLE "friendly_id_slugs" DISABLE TRIGGER ALL;ALTER TABLE "spree_addresses" DISABLE TRIGGER ALL;ALTER TABLE "spree_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_adjustment_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_assets" DISABLE TRIGGER ALL;ALTER TABLE "spree_calculators" DISABLE TRIGGER ALL;ALTER TABLE "spree_countries" DISABLE TRIGGER ALL;ALTER TABLE "spree_credit_cards" DISABLE TRIGGER ALL;ALTER TABLE "spree_customer_returns" DISABLE TRIGGER ALL;ALTER TABLE "spree_line_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_log_entries" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_type_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_values" DISABLE TRIGGER ALL;ALTER TABLE "spree_option_values_variants" DISABLE TRIGGER ALL;ALTER TABLE "spree_order_mutexes" DISABLE TRIGGER ALL;ALTER TABLE "spree_orders_promotions" DISABLE TRIGGER ALL;ALTER TABLE "spree_payment_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "spree_payments" DISABLE TRIGGER ALL;ALTER TABLE "spree_preferences" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_option_types" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_promotion_rules" DISABLE TRIGGER ALL;ALTER TABLE "spree_product_properties" DISABLE TRIGGER ALL;ALTER TABLE "spree_products" DISABLE TRIGGER ALL;ALTER TABLE "spree_products_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_action_line_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rule_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotions" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_codes" DISABLE TRIGGER ALL;ALTER TABLE "spree_properties" DISABLE TRIGGER ALL;ALTER TABLE "spree_property_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_prototype_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_prototypes" DISABLE TRIGGER ALL;ALTER TABLE "spree_refund_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_refunds" DISABLE TRIGGER ALL;ALTER TABLE "spree_reimbursements" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_authorizations" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_return_reasons" DISABLE TRIGGER ALL;ALTER TABLE "spree_roles" DISABLE TRIGGER ALL;ALTER TABLE "spree_roles_users" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_zones" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rate_taxes" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rates" DISABLE TRIGGER ALL;ALTER TABLE "spree_shipping_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_items" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_stock_movements" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_payment_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_stores" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_events" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_taxons" DISABLE TRIGGER ALL;ALTER TABLE "spree_unit_cancels" DISABLE TRIGGER ALL;ALTER TABLE "spree_user_addresses" DISABLE TRIGGER ALL;ALTER TABLE "spree_user_stock_locations" DISABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_conditions" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_rates" DISABLE TRIGGER ALL;ALTER TABLE "spree_variants" DISABLE TRIGGER ALL;ALTER TABLE "spree_zone_members" DISABLE TRIGGER ALL;ALTER TABLE "spree_zones" DISABLE TRIGGER ALL;ALTER TABLE "spree_wallet_payment_sources" DISABLE TRIGGER ALL;ALTER TABLE "spree_payment_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_stores" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_shipping_methods" DISABLE TRIGGER ALL;ALTER TABLE "spree_tax_rate_tax_categories" DISABLE TRIGGER ALL;ALTER TABLE "spree_promotion_code_batches" DISABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_reasons" DISABLE TRIGGER ALL
844
+  (31.4ms) COMMIT
845
+  (2.8ms)  SELECT schemaname || '.' || tablename
846
+ FROM pg_tables
847
+ WHERE
848
+ tablename !~ '_prt_' AND
849
+ tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
850
+ schemaname = ANY (current_schemas(false))
851
+ 
852
+  (1.2ms) select table_name from information_schema.views where table_schema = 'solidus_bank_transfer_solidus_test'
853
+  (395.0ms) TRUNCATE TABLE "public"."active_storage_blobs", "public"."spree_adjustments", "public"."spree_cartons", "public"."spree_inventory_units", "public"."spree_line_item_actions", "public"."spree_orders", "public"."spree_prices", "public"."spree_promotion_actions", "public"."spree_reimbursement_credits", "public"."spree_reimbursement_types", "public"."spree_shipments", "public"."spree_state_changes", "public"."spree_states", "public"."spree_store_credit_types", "public"."spree_store_credits", "public"."spree_taxonomies", "public"."spree_variant_property_rule_values", "public"."spree_variant_property_rules", "public"."active_storage_attachments", "public"."friendly_id_slugs", "public"."spree_addresses", "public"."spree_users", "public"."spree_adjustment_reasons", "public"."spree_assets", "public"."spree_calculators", "public"."spree_countries", "public"."spree_credit_cards", "public"."spree_customer_returns", "public"."spree_line_items", "public"."spree_log_entries", "public"."spree_option_type_prototypes", "public"."spree_option_types", "public"."spree_option_values", "public"."spree_option_values_variants", "public"."spree_order_mutexes", "public"."spree_orders_promotions", "public"."spree_payment_capture_events", "public"."spree_payments", "public"."spree_preferences", "public"."spree_product_option_types", "public"."spree_product_promotion_rules", "public"."spree_product_properties", "public"."spree_products", "public"."spree_products_taxons", "public"."spree_promotion_action_line_items", "public"."spree_promotion_categories", "public"."spree_promotion_rule_taxons", "public"."spree_promotion_rules", "public"."spree_promotion_rules_users", "public"."spree_promotions", "public"."spree_promotion_codes", "public"."spree_properties", "public"."spree_property_prototypes", "public"."spree_prototype_taxons", "public"."spree_prototypes", "public"."spree_refund_reasons", "public"."spree_refunds", "public"."spree_reimbursements", "public"."spree_return_authorizations", "public"."spree_return_items", "public"."spree_return_reasons", "public"."spree_roles", "public"."spree_roles_users", "public"."spree_shipping_categories", "public"."spree_shipping_method_categories", "public"."spree_shipping_method_stock_locations", "public"."spree_shipping_method_zones", "public"."spree_shipping_rate_taxes", "public"."spree_shipping_rates", "public"."spree_shipping_methods", "public"."spree_stock_items", "public"."spree_stock_locations", "public"."spree_stock_movements", "public"."spree_store_credit_categories", "public"."spree_store_payment_methods", "public"."spree_stores", "public"."spree_store_credit_events", "public"."spree_tax_categories", "public"."spree_taxons", "public"."spree_unit_cancels", "public"."spree_user_addresses", "public"."spree_user_stock_locations", "public"."spree_variant_property_rule_conditions", "public"."spree_tax_rates", "public"."spree_variants", "public"."spree_zone_members", "public"."spree_zones", "public"."spree_wallet_payment_sources", "public"."spree_payment_methods", "public"."spree_promotion_rules_stores", "public"."spree_store_shipping_methods", "public"."spree_tax_rate_tax_categories", "public"."spree_promotion_code_batches", "public"."spree_store_credit_reasons" RESTART IDENTITY CASCADE;
854
+  (10.0ms) BEGIN
855
+  (3.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" ENABLE TRIGGER ALL;ALTER TABLE "friendly_id_slugs" ENABLE TRIGGER ALL;ALTER TABLE "spree_adjustments" ENABLE TRIGGER ALL;ALTER TABLE "spree_addresses" ENABLE TRIGGER ALL;ALTER TABLE "spree_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_cartons" ENABLE TRIGGER ALL;ALTER TABLE "spree_adjustment_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_assets" ENABLE TRIGGER ALL;ALTER TABLE "spree_calculators" ENABLE TRIGGER ALL;ALTER TABLE "spree_countries" ENABLE TRIGGER ALL;ALTER TABLE "spree_credit_cards" ENABLE TRIGGER ALL;ALTER TABLE "spree_inventory_units" ENABLE TRIGGER ALL;ALTER TABLE "spree_line_item_actions" ENABLE TRIGGER ALL;ALTER TABLE "spree_customer_returns" ENABLE TRIGGER ALL;ALTER TABLE "spree_line_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_log_entries" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_type_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_values" ENABLE TRIGGER ALL;ALTER TABLE "spree_option_values_variants" ENABLE TRIGGER ALL;ALTER TABLE "spree_order_mutexes" ENABLE TRIGGER ALL;ALTER TABLE "spree_orders_promotions" ENABLE TRIGGER ALL;ALTER TABLE "spree_payment_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "spree_payments" ENABLE TRIGGER ALL;ALTER TABLE "spree_orders" ENABLE TRIGGER ALL;ALTER TABLE "spree_preferences" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_option_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_promotion_rules" ENABLE TRIGGER ALL;ALTER TABLE "spree_product_properties" ENABLE TRIGGER ALL;ALTER TABLE "spree_products" ENABLE TRIGGER ALL;ALTER TABLE "spree_prices" ENABLE TRIGGER ALL;ALTER TABLE "spree_products_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_action_line_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rule_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotions" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_codes" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_actions" ENABLE TRIGGER ALL;ALTER TABLE "spree_properties" ENABLE TRIGGER ALL;ALTER TABLE "spree_property_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_prototype_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_prototypes" ENABLE TRIGGER ALL;ALTER TABLE "spree_refund_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_refunds" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursements" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_authorizations" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_return_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_roles" ENABLE TRIGGER ALL;ALTER TABLE "spree_roles_users" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_method_zones" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rate_taxes" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_rates" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_credits" ENABLE TRIGGER ALL;ALTER TABLE "spree_reimbursement_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipping_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_items" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_stock_movements" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_payment_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_stores" ENABLE TRIGGER ALL;ALTER TABLE "spree_shipments" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_events" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_taxons" ENABLE TRIGGER ALL;ALTER TABLE "spree_unit_cancels" ENABLE TRIGGER ALL;ALTER TABLE "spree_user_addresses" ENABLE TRIGGER ALL;ALTER TABLE "spree_user_stock_locations" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_conditions" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_rates" ENABLE TRIGGER ALL;ALTER TABLE "spree_state_changes" ENABLE TRIGGER ALL;ALTER TABLE "spree_states" ENABLE TRIGGER ALL;ALTER TABLE "spree_variants" ENABLE TRIGGER ALL;ALTER TABLE "spree_zone_members" ENABLE TRIGGER ALL;ALTER TABLE "spree_zones" ENABLE TRIGGER ALL;ALTER TABLE "spree_wallet_payment_sources" ENABLE TRIGGER ALL;ALTER TABLE "spree_payment_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_types" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credits" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_rules_stores" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_shipping_methods" ENABLE TRIGGER ALL;ALTER TABLE "spree_tax_rate_tax_categories" ENABLE TRIGGER ALL;ALTER TABLE "spree_promotion_code_batches" ENABLE TRIGGER ALL;ALTER TABLE "spree_store_credit_reasons" ENABLE TRIGGER ALL;ALTER TABLE "spree_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rule_values" ENABLE TRIGGER ALL;ALTER TABLE "spree_variant_property_rules" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" ENABLE TRIGGER ALL
856
+  (1.0ms) COMMIT
857
+  (0.1ms) BEGIN
858
+  (0.1ms) COMMIT
859
+  (0.1ms) BEGIN
860
+  (0.2ms) SAVEPOINT active_record_1
861
+ Spree::PaymentMethod Load (0.5ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
862
+ Spree::PaymentMethod::BankTransfer Create (0.7ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.593564"], ["updated_at", "2019-08-22 07:26:46.593564"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
864
+  (0.1ms) SAVEPOINT active_record_1
865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
866
+  (0.2ms) ROLLBACK
867
+  (0.1ms) BEGIN
868
+  (0.1ms) COMMIT
869
+  (0.1ms) BEGIN
870
+  (0.1ms) SAVEPOINT active_record_1
871
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
872
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.607163"], ["updated_at", "2019-08-22 07:26:46.607163"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
874
+  (0.1ms) SAVEPOINT active_record_1
875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
876
+  (0.3ms) ROLLBACK
877
+  (0.1ms) BEGIN
878
+  (0.1ms) COMMIT
879
+  (0.1ms) BEGIN
880
+  (0.1ms) SAVEPOINT active_record_1
881
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
882
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.627543"], ["updated_at", "2019-08-22 07:26:46.627543"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
884
+  (0.1ms) SAVEPOINT active_record_1
885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
886
+  (0.1ms) SAVEPOINT active_record_1
887
+ Spree::PaymentMethod::BankTransfer Update (0.4ms) UPDATE "spree_payment_methods" SET "updated_at" = $1, "preferences" = $2 WHERE "spree_payment_methods"."id" = $3 [["updated_at", "2019-08-22 07:26:46.632958"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: IT00 S000 0000 0000 0000 0123 456\n:bank_name: Uncle Scrooge Bank & Partners\n:holder: Donald Duck\n"], ["id", 3]]
888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
889
+  (0.2ms) ROLLBACK
890
+  (0.1ms) BEGIN
891
+  (0.1ms) COMMIT
892
+  (0.1ms) BEGIN
893
+  (0.1ms) SAVEPOINT active_record_1
894
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
895
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.642960"], ["updated_at", "2019-08-22 07:26:46.642960"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
897
+  (0.1ms) SAVEPOINT active_record_1
898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
899
+  (0.2ms) ROLLBACK
900
+  (0.1ms) BEGIN
901
+  (0.1ms) COMMIT
902
+  (0.1ms) BEGIN
903
+  (0.1ms) SAVEPOINT active_record_1
904
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
905
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.650133"], ["updated_at", "2019-08-22 07:26:46.650133"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
907
+  (0.2ms) SAVEPOINT active_record_1
908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
909
+  (0.2ms) SAVEPOINT active_record_1
910
+ Spree::Store Load (0.4ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
911
+ Spree::Order Exists (2.0ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R293570663"], ["LIMIT", 1]]
912
+ Spree::Order Exists (0.6ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R293570663"], ["LIMIT", 1]]
913
+ Spree::Payment Exists (0.6ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "4QY9C2HS"], ["LIMIT", 1]]
914
+ Spree::Payment Create (0.7ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 5], ["state", "pending"], ["created_at", "2019-08-22 07:26:46.827931"], ["updated_at", "2019-08-22 07:26:46.827931"], ["number", "4QY9C2HS"]]
915
+  (0.2ms) RELEASE SAVEPOINT active_record_1
916
+  (0.2ms) ROLLBACK
917
+  (0.1ms) BEGIN
918
+  (0.1ms) COMMIT
919
+  (0.1ms) BEGIN
920
+  (0.1ms) SAVEPOINT active_record_1
921
+ Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
922
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.844581"], ["updated_at", "2019-08-22 07:26:46.844581"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
924
+  (0.1ms) SAVEPOINT active_record_1
925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
926
+  (0.1ms) SAVEPOINT active_record_1
927
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
928
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R369114448"], ["LIMIT", 1]]
929
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R369114448"], ["LIMIT", 1]]
930
+ Spree::Payment Exists (0.4ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "EZGAWSV2"], ["LIMIT", 1]]
931
+ Spree::Payment Create (0.3ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 6], ["state", "void"], ["created_at", "2019-08-22 07:26:46.854350"], ["updated_at", "2019-08-22 07:26:46.854350"], ["number", "EZGAWSV2"]]
932
+ Spree::Order Exists (0.5ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = $1 LIMIT $2 [["guest_token", "9oF5mUPvgwS7h9ccGV6Tyw"], ["LIMIT", 1]]
933
+ Spree::Order Create (1.2ms) INSERT INTO "spree_orders" ("number", "state", "created_at", "updated_at", "currency", "guest_token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["number", "R369114448"], ["state", "cart"], ["created_at", "2019-08-22 07:26:46.922442"], ["updated_at", "2019-08-22 07:26:46.922442"], ["currency", "USD"], ["guest_token", "9oF5mUPvgwS7h9ccGV6Tyw"]]
934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
935
+  (0.3ms) ROLLBACK
936
+  (0.1ms) BEGIN
937
+  (0.1ms) COMMIT
938
+  (0.1ms) BEGIN
939
+  (0.1ms) SAVEPOINT active_record_1
940
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
941
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.929764"], ["updated_at", "2019-08-22 07:26:46.929764"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
943
+  (0.1ms) SAVEPOINT active_record_1
944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
945
+  (0.1ms) ROLLBACK
946
+  (0.1ms) BEGIN
947
+  (0.1ms) COMMIT
948
+  (0.1ms) BEGIN
949
+  (0.2ms) SAVEPOINT active_record_1
950
+ Spree::PaymentMethod Load (0.4ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
951
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.936675"], ["updated_at", "2019-08-22 07:26:46.936675"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
953
+  (0.1ms) SAVEPOINT active_record_1
954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
955
+  (0.1ms) SAVEPOINT active_record_1
956
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
957
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R383040204"], ["LIMIT", 1]]
958
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R383040204"], ["LIMIT", 1]]
959
+ Spree::Payment Exists (0.3ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "5XBHNRQR"], ["LIMIT", 1]]
960
+ Spree::Payment Create (0.2ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 8], ["state", "pending"], ["created_at", "2019-08-22 07:26:46.946448"], ["updated_at", "2019-08-22 07:26:46.946448"], ["number", "5XBHNRQR"]]
961
+  (0.1ms) RELEASE SAVEPOINT active_record_1
962
+  (0.1ms) ROLLBACK
963
+  (0.1ms) BEGIN
964
+  (0.1ms) COMMIT
965
+  (0.1ms) BEGIN
966
+  (0.1ms) SAVEPOINT active_record_1
967
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
968
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.951702"], ["updated_at", "2019-08-22 07:26:46.951702"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
969
+  (0.2ms) RELEASE SAVEPOINT active_record_1
970
+  (0.1ms) SAVEPOINT active_record_1
971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
972
+  (0.1ms) SAVEPOINT active_record_1
973
+ Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
974
+ Spree::Order Exists (0.4ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R952216150"], ["LIMIT", 1]]
975
+ Spree::Order Exists (0.2ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R952216150"], ["LIMIT", 1]]
976
+ Spree::Payment Exists (0.3ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "7P2BLPWH"], ["LIMIT", 1]]
977
+ Spree::Payment Create (0.3ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 9], ["state", "checkout"], ["created_at", "2019-08-22 07:26:46.962551"], ["updated_at", "2019-08-22 07:26:46.962551"], ["number", "7P2BLPWH"]]
978
+  (0.2ms) RELEASE SAVEPOINT active_record_1
979
+  (0.1ms) ROLLBACK
980
+  (0.1ms) BEGIN
981
+  (0.1ms) COMMIT
982
+  (0.1ms) BEGIN
983
+  (0.2ms) SAVEPOINT active_record_1
984
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
985
+ Spree::PaymentMethod::BankTransfer Create (0.2ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.968147"], ["updated_at", "2019-08-22 07:26:46.968147"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
987
+  (0.1ms) SAVEPOINT active_record_1
988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
989
+  (0.1ms) SAVEPOINT active_record_1
990
+ Spree::Store Load (0.3ms) SELECT "spree_stores".* FROM "spree_stores" WHERE "spree_stores"."default" = $1 ORDER BY "spree_stores"."id" ASC LIMIT $2 [["default", true], ["LIMIT", 1]]
991
+ Spree::Order Exists (0.3ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R578483955"], ["LIMIT", 1]]
992
+ Spree::Order Exists (0.3ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = $1 LIMIT $2 [["number", "R578483955"], ["LIMIT", 1]]
993
+ Spree::Payment Exists (0.3ms) SELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = $1 LIMIT $2 [["number", "EJHCHEK3"], ["LIMIT", 1]]
994
+ Spree::Payment Create (0.3ms) INSERT INTO "spree_payments" ("payment_method_id", "state", "created_at", "updated_at", "number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["payment_method_id", 10], ["state", "void"], ["created_at", "2019-08-22 07:26:46.978991"], ["updated_at", "2019-08-22 07:26:46.978991"], ["number", "EJHCHEK3"]]
995
+ Spree::Order Exists (0.4ms) SELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = $1 LIMIT $2 [["guest_token", "vcaOCA0Dg257uMvW8cYK5A"], ["LIMIT", 1]]
996
+ Spree::Order Create (0.4ms) INSERT INTO "spree_orders" ("number", "state", "created_at", "updated_at", "currency", "guest_token") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["number", "R578483955"], ["state", "cart"], ["created_at", "2019-08-22 07:26:46.985092"], ["updated_at", "2019-08-22 07:26:46.985092"], ["currency", "USD"], ["guest_token", "vcaOCA0Dg257uMvW8cYK5A"]]
997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
998
+  (0.2ms) ROLLBACK
999
+  (0.1ms) BEGIN
1000
+  (0.1ms) COMMIT
1001
+  (0.1ms) BEGIN
1002
+  (0.1ms) SAVEPOINT active_record_1
1003
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1004
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.991502"], ["updated_at", "2019-08-22 07:26:46.991502"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1006
+  (0.2ms) SAVEPOINT active_record_1
1007
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1008
+  (0.1ms) ROLLBACK
1009
+  (0.1ms) BEGIN
1010
+  (0.1ms) COMMIT
1011
+  (0.1ms) BEGIN
1012
+  (0.1ms) SAVEPOINT active_record_1
1013
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1014
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:46.999547"], ["updated_at", "2019-08-22 07:26:46.999547"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1016
+  (0.1ms) SAVEPOINT active_record_1
1017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
+  (0.1ms) ROLLBACK
1019
+  (0.1ms) BEGIN
1020
+  (0.1ms) COMMIT
1021
+  (0.2ms) BEGIN
1022
+  (0.1ms) SAVEPOINT active_record_1
1023
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1024
+ Spree::PaymentMethod::BankTransfer Create (0.4ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:47.008276"], ["updated_at", "2019-08-22 07:26:47.008276"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1025
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1026
+  (0.1ms) SAVEPOINT active_record_1
1027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1028
+  (0.1ms) ROLLBACK
1029
+  (0.1ms) BEGIN
1030
+  (0.2ms) COMMIT
1031
+  (0.1ms) BEGIN
1032
+  (0.1ms) SAVEPOINT active_record_1
1033
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1034
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:47.046160"], ["updated_at", "2019-08-22 07:26:47.046160"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1036
+  (0.1ms) SAVEPOINT active_record_1
1037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1038
+  (0.1ms) ROLLBACK
1039
+  (0.1ms) BEGIN
1040
+  (0.1ms) COMMIT
1041
+  (0.1ms) BEGIN
1042
+  (0.1ms) SAVEPOINT active_record_1
1043
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1044
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:47.054043"], ["updated_at", "2019-08-22 07:26:47.054043"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1046
+  (0.1ms) SAVEPOINT active_record_1
1047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1048
+  (0.1ms) ROLLBACK
1049
+  (0.1ms) BEGIN
1050
+  (0.1ms) COMMIT
1051
+  (0.1ms) BEGIN
1052
+  (0.1ms) SAVEPOINT active_record_1
1053
+ Spree::PaymentMethod Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT $1 [["LIMIT", 1]]
1054
+ Spree::PaymentMethod::BankTransfer Create (0.3ms) INSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "preferences", "position") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["type", "Spree::PaymentMethod::BankTransfer"], ["name", "Bank Transfer"], ["created_at", "2019-08-22 07:26:47.062317"], ["updated_at", "2019-08-22 07:26:47.062317"], ["preferences", "---\n:server: test\n:test_mode: true\n:iban: \n:bank_name: \n:holder: \n"], ["position", 1]]
1055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1056
+  (0.1ms) SAVEPOINT active_record_1
1057
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1058
+  (0.1ms) ROLLBACK