solidus_i18n 2.1.1 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +55 -9
  4. data/Rakefile +21 -9
  5. data/bin/rails +9 -11
  6. data/config/locales/bg.yml +0 -5
  7. data/config/locales/ca.yml +0 -5
  8. data/config/locales/da.yml +1 -6
  9. data/config/locales/de-CH.yml +0 -5
  10. data/config/locales/de.yml +64 -35
  11. data/config/locales/en-AU.yml +0 -5
  12. data/config/locales/en-GB.yml +1 -6
  13. data/config/locales/en-IN.yml +1 -6
  14. data/config/locales/en-NZ.yml +1 -6
  15. data/config/locales/es-CL.yml +1 -1
  16. data/config/locales/es-EC.yml +0 -5
  17. data/config/locales/es-MX.yml +3 -3
  18. data/config/locales/es.yml +3 -3
  19. data/config/locales/et.yml +0 -5
  20. data/config/locales/fa.yml +1 -1
  21. data/config/locales/fi.yml +0 -5
  22. data/config/locales/fr.yml +9 -4
  23. data/config/locales/id.yml +1 -6
  24. data/config/locales/it.yml +1 -1
  25. data/config/locales/ja.yml +2 -2
  26. data/config/locales/ko.yml +0 -5
  27. data/config/locales/lv.yml +0 -5
  28. data/config/locales/nb.yml +1 -6
  29. data/config/locales/nl.yml +1 -6
  30. data/config/locales/pl.yml +1 -1
  31. data/config/locales/pt-BR.yml +426 -145
  32. data/config/locales/pt.yml +0 -5
  33. data/config/locales/ro.yml +0 -5
  34. data/config/locales/ru.yml +97 -24
  35. data/config/locales/sl-SI.yml +0 -5
  36. data/config/locales/th.yml +0 -5
  37. data/config/locales/tr.yml +1 -6
  38. data/config/locales/vi.yml +0 -5
  39. data/config/locales/zh-CN.yml +0 -5
  40. data/config/locales/zh-TW.yml +0 -5
  41. data/i18n-tasks.yml +22 -0
  42. data/lib/solidus_i18n/engine.rb +2 -12
  43. data/lib/solidus_i18n.rb +1 -5
  44. data/solidus_i18n.gemspec +30 -33
  45. metadata +21 -245
  46. data/.circleci/config.yml +0 -35
  47. data/.gem_release.yml +0 -5
  48. data/.github/stale.yml +0 -17
  49. data/.gitignore +0 -16
  50. data/.hound.yml +0 -25
  51. data/.rspec +0 -2
  52. data/.rubocop.yml +0 -4
  53. data/.rubocop_todo.yml +0 -18
  54. data/CONTRIBUTING.md +0 -70
  55. data/Gemfile +0 -31
  56. data/LICENSE +0 -26
  57. data/bin/console +0 -17
  58. data/bin/setup +0 -8
  59. data/config/routes.rb +0 -4
  60. data/lib/generators/solidus_i18n/install/install_generator.rb +0 -24
  61. data/lib/solidus_i18n/factories.rb +0 -4
  62. data/lib/solidus_i18n/version.rb +0 -5
  63. data/lib/tasks/solidus_i18n/upgrade.rake +0 -45
  64. data/spec/dummy/README.md +0 -24
  65. data/spec/dummy/Rakefile +0 -6
  66. data/spec/dummy/app/assets/config/manifest.js +0 -2
  67. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  68. data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
  69. data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
  70. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  71. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  72. data/spec/dummy/app/jobs/application_job.rb +0 -7
  73. data/spec/dummy/app/mailers/application_mailer.rb +0 -4
  74. data/spec/dummy/app/models/application_record.rb +0 -3
  75. data/spec/dummy/app/views/layouts/application.html.erb +0 -15
  76. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  77. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  78. data/spec/dummy/bin/rails +0 -4
  79. data/spec/dummy/bin/rake +0 -4
  80. data/spec/dummy/bin/setup +0 -33
  81. data/spec/dummy/config/application.rb +0 -53
  82. data/spec/dummy/config/boot.rb +0 -6
  83. data/spec/dummy/config/cable.yml +0 -10
  84. data/spec/dummy/config/credentials.yml.enc +0 -1
  85. data/spec/dummy/config/database.yml +0 -12
  86. data/spec/dummy/config/environment.rb +0 -5
  87. data/spec/dummy/config/environments/development.rb +0 -76
  88. data/spec/dummy/config/environments/production.rb +0 -120
  89. data/spec/dummy/config/environments/test.rb +0 -36
  90. data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
  91. data/spec/dummy/config/initializers/assets.rb +0 -12
  92. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -8
  93. data/spec/dummy/config/initializers/content_security_policy.rb +0 -28
  94. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
  95. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -6
  96. data/spec/dummy/config/initializers/inflections.rb +0 -16
  97. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  98. data/spec/dummy/config/initializers/permissions_policy.rb +0 -11
  99. data/spec/dummy/config/initializers/spree.rb +0 -74
  100. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  101. data/spec/dummy/config/locales/en.yml +0 -33
  102. data/spec/dummy/config/master.key +0 -1
  103. data/spec/dummy/config/routes.rb +0 -9
  104. data/spec/dummy/config/storage.yml +0 -34
  105. data/spec/dummy/config.ru +0 -6
  106. data/spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb +0 -36
  107. data/spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb +0 -14
  108. data/spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb +0 -14
  109. data/spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb +0 -1103
  110. data/spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb +0 -28
  111. data/spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb +0 -30
  112. data/spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb +0 -8
  113. data/spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb +0 -8
  114. data/spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb +0 -31
  115. data/spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb +0 -39
  116. data/spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb +0 -23
  117. data/spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb +0 -8
  118. data/spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb +0 -8
  119. data/spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb +0 -9
  120. data/spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb +0 -31
  121. data/spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb +0 -51
  122. data/spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb +0 -9
  123. data/spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb +0 -9
  124. data/spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb +0 -19
  125. data/spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb +0 -8
  126. data/spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb +0 -13
  127. data/spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb +0 -13
  128. data/spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb +0 -10
  129. data/spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb +0 -62
  130. data/spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb +0 -12
  131. data/spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb +0 -13
  132. data/spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb +0 -56
  133. data/spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb +0 -43
  134. data/spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb +0 -20
  135. data/spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb +0 -7
  136. data/spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb +0 -8
  137. data/spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb +0 -8
  138. data/spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb +0 -14
  139. data/spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb +0 -10
  140. data/spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb +0 -10
  141. data/spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb +0 -10
  142. data/spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb +0 -10
  143. data/spec/dummy/db/schema.rb +0 -1215
  144. data/spec/dummy/db/seeds.rb +0 -10
  145. data/spec/dummy/db/solidus_test.sqlite3 +0 -0
  146. data/spec/dummy/log/test.log +0 -1198
  147. data/spec/dummy/public/404.html +0 -67
  148. data/spec/dummy/public/422.html +0 -67
  149. data/spec/dummy/public/500.html +0 -66
  150. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  151. data/spec/dummy/public/apple-touch-icon.png +0 -0
  152. data/spec/dummy/public/favicon.ico +0 -0
  153. data/spec/dummy/tmp/development_secret.txt +0 -1
  154. data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +0 -10
  155. data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +0 -10
  156. data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +0 -9
  157. data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +0 -9
  158. data/spec/examples.txt +0 -4
  159. data/spec/solidus_i18n_spec.rb +0 -67
  160. data/spec/spec_helper.rb +0 -33
@@ -1,1198 +0,0 @@
1
-  (1.3ms) SELECT sqlite_version(*)
2
-  (1.5ms) SELECT sqlite_version(*)
3
-  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
4
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
5
- TRANSACTION (0.0ms) begin transaction
6
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-02-18 21:38:25.823796"], ["updated_at", "2021-02-18 21:38:25.823796"]]
7
- TRANSACTION (0.7ms) commit transaction
8
-  (1.4ms) SELECT sqlite_version(*)
9
-  (0.0ms) SELECT sqlite_version(*)
10
-  (0.0ms) SELECT sqlite_version(*)
11
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
12
-  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
13
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
14
- Migrating to CreateActiveStorageTables (20210218213814)
15
- TRANSACTION (0.0ms) begin transaction
16
-  (0.4ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "service_name" varchar NOT NULL, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
17
-  (0.1ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
18
-  (0.1ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
19
- FOREIGN KEY ("blob_id")
20
- REFERENCES "active_storage_blobs" ("id")
21
- )
22
-  (0.1ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
23
-  (0.1ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
24
-  (0.1ms) CREATE TABLE "active_storage_variant_records" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "blob_id" integer NOT NULL, "variation_digest" varchar NOT NULL, CONSTRAINT "fk_rails_993965df05"
25
- FOREIGN KEY ("blob_id")
26
- REFERENCES "active_storage_blobs" ("id")
27
- )
28
-  (0.1ms) CREATE UNIQUE INDEX "index_active_storage_variant_records_uniqueness" ON "active_storage_variant_records" ("blob_id", "variation_digest")
29
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213814"]]
30
- TRANSACTION (0.9ms) commit transaction
31
- Migrating to CreateActionMailboxTables (20210218213818)
32
- TRANSACTION (0.0ms) begin transaction
33
-  (0.3ms) CREATE TABLE "action_mailbox_inbound_emails" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0 NOT NULL, "message_id" varchar NOT NULL, "message_checksum" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
34
-  (0.1ms) CREATE UNIQUE INDEX "index_action_mailbox_inbound_emails_uniqueness" ON "action_mailbox_inbound_emails" ("message_id", "message_checksum")
35
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213818"]]
36
- TRANSACTION (0.7ms) commit transaction
37
- Migrating to CreateActionTextTables (20210218213819)
38
- TRANSACTION (0.1ms) begin transaction
39
-  (0.3ms) CREATE TABLE "action_text_rich_texts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "body" text, "record_type" varchar NOT NULL, "record_id" bigint NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
40
-  (0.1ms) CREATE UNIQUE INDEX "index_action_text_rich_texts_uniqueness" ON "action_text_rich_texts" ("record_type", "record_id", "name")
41
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213819"]]
42
- TRANSACTION (0.7ms) commit transaction
43
- Migrating to SolidusOneFour (20210218213820)
44
- TRANSACTION (0.0ms) begin transaction
45
-  (0.1ms) DROP TABLE IF EXISTS "spree_users"
46
-  (0.3ms) CREATE TABLE "spree_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar, "remember_token" varchar, "remember_token_expires_at" varchar, "persistence_token" varchar, "single_access_token" varchar, "perishable_token" varchar, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar, "last_login_ip" varchar, "login" varchar, "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "openid_identifier" varchar)
47
-  (0.0ms) DROP TABLE IF EXISTS "friendly_id_slugs"
48
-  (0.1ms) CREATE TABLE "friendly_id_slugs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime(6), "updated_at" datetime(6))
49
-  (0.1ms) CREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")
50
-  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")
51
-  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_id" ON "friendly_id_slugs" ("sluggable_id")
52
-  (0.1ms) CREATE INDEX "index_friendly_id_slugs_on_sluggable_type" ON "friendly_id_slugs" ("sluggable_type")
53
-  (0.0ms) DROP TABLE IF EXISTS "spree_addresses"
54
-  (0.1ms) CREATE TABLE "spree_addresses" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "address1" varchar, "address2" varchar, "city" varchar, "zipcode" varchar, "phone" varchar, "state_name" varchar, "alternative_phone" varchar, "company" varchar, "state_id" integer, "country_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
55
-  (0.1ms) CREATE INDEX "index_spree_addresses_on_country_id" ON "spree_addresses" ("country_id")
56
-  (0.1ms) CREATE INDEX "index_addresses_on_firstname" ON "spree_addresses" ("firstname")
57
-  (0.1ms) CREATE INDEX "index_addresses_on_lastname" ON "spree_addresses" ("lastname")
58
-  (0.1ms) CREATE INDEX "index_spree_addresses_on_state_id" ON "spree_addresses" ("state_id")
59
-  (0.0ms) DROP TABLE IF EXISTS "spree_adjustment_reasons"
60
-  (0.1ms) CREATE TABLE "spree_adjustment_reasons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "active" boolean DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6))
61
-  (0.1ms) CREATE INDEX "index_spree_adjustment_reasons_on_active" ON "spree_adjustment_reasons" ("active")
62
-  (0.1ms) CREATE INDEX "index_spree_adjustment_reasons_on_code" ON "spree_adjustment_reasons" ("code")
63
-  (0.0ms) DROP TABLE IF EXISTS "spree_adjustments"
64
-  (0.1ms) CREATE TABLE "spree_adjustments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "source_type" varchar, "source_id" integer, "adjustable_type" varchar, "adjustable_id" integer NOT NULL, "amount" decimal(10,2), "label" varchar, "eligible" boolean DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6), "order_id" integer NOT NULL, "included" boolean DEFAULT 0, "promotion_code_id" integer, "adjustment_reason_id" integer, "finalized" boolean DEFAULT 0 NOT NULL)
65
-  (0.1ms) CREATE INDEX "index_spree_adjustments_on_adjustable_id_and_adjustable_type" ON "spree_adjustments" ("adjustable_id", "adjustable_type")
66
-  (0.1ms) CREATE INDEX "index_adjustments_on_order_id" ON "spree_adjustments" ("adjustable_id")
67
-  (0.1ms) CREATE INDEX "index_spree_adjustments_on_eligible" ON "spree_adjustments" ("eligible")
68
-  (0.1ms) CREATE INDEX "index_spree_adjustments_on_order_id" ON "spree_adjustments" ("order_id")
69
-  (0.1ms) CREATE INDEX "index_spree_adjustments_on_promotion_code_id" ON "spree_adjustments" ("promotion_code_id")
70
-  (0.1ms) CREATE INDEX "index_spree_adjustments_on_source_id_and_source_type" ON "spree_adjustments" ("source_id", "source_type")
71
-  (0.0ms) DROP TABLE IF EXISTS "spree_assets"
72
-  (0.2ms) CREATE TABLE "spree_assets" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "viewable_type" varchar, "viewable_id" integer, "attachment_width" integer, "attachment_height" integer, "attachment_file_size" integer, "position" integer, "attachment_content_type" varchar, "attachment_file_name" varchar, "type" varchar(75), "attachment_updated_at" datetime, "alt" text, "created_at" datetime(6), "updated_at" datetime(6))
73
-  (0.1ms) CREATE INDEX "index_assets_on_viewable_id" ON "spree_assets" ("viewable_id")
74
-  (0.1ms) CREATE INDEX "index_assets_on_viewable_type_and_type" ON "spree_assets" ("viewable_type", "type")
75
-  (0.0ms) DROP TABLE IF EXISTS "spree_calculators"
76
-  (0.1ms) CREATE TABLE "spree_calculators" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "calculable_type" varchar, "calculable_id" integer, "created_at" datetime(6), "updated_at" datetime(6), "preferences" text)
77
-  (0.1ms) CREATE INDEX "index_spree_calculators_on_calculable_id_and_calculable_type" ON "spree_calculators" ("calculable_id", "calculable_type")
78
-  (0.1ms) CREATE INDEX "index_spree_calculators_on_id_and_type" ON "spree_calculators" ("id", "type")
79
-  (0.0ms) DROP TABLE IF EXISTS "spree_cartons"
80
-  (0.1ms) CREATE TABLE "spree_cartons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "external_number" varchar, "stock_location_id" integer, "address_id" integer, "shipping_method_id" integer, "tracking" varchar, "shipped_at" datetime, "created_at" datetime(6), "updated_at" datetime(6), "imported_from_shipment_id" integer)
81
-  (0.1ms) CREATE INDEX "index_spree_cartons_on_external_number" ON "spree_cartons" ("external_number")
82
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_cartons_on_imported_from_shipment_id" ON "spree_cartons" ("imported_from_shipment_id")
83
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_cartons_on_number" ON "spree_cartons" ("number")
84
-  (0.1ms) CREATE INDEX "index_spree_cartons_on_stock_location_id" ON "spree_cartons" ("stock_location_id")
85
-  (0.0ms) DROP TABLE IF EXISTS "spree_countries"
86
-  (0.1ms) CREATE TABLE "spree_countries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "iso_name" varchar, "iso" varchar, "iso3" varchar, "name" varchar, "numcode" integer, "states_required" boolean DEFAULT 0, "updated_at" datetime(6), "created_at" datetime(6))
87
-  (0.1ms) CREATE INDEX "index_spree_countries_on_iso" ON "spree_countries" ("iso")
88
-  (0.0ms) DROP TABLE IF EXISTS "spree_credit_cards"
89
-  (0.1ms) CREATE TABLE "spree_credit_cards" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "month" varchar, "year" varchar, "cc_type" varchar, "last_digits" varchar, "gateway_customer_profile_id" varchar, "gateway_payment_profile_id" varchar, "created_at" datetime(6), "updated_at" datetime(6), "name" varchar, "user_id" integer, "payment_method_id" integer, "default" boolean DEFAULT 0 NOT NULL, "address_id" integer)
90
-  (0.1ms) CREATE INDEX "index_spree_credit_cards_on_payment_method_id" ON "spree_credit_cards" ("payment_method_id")
91
-  (0.1ms) CREATE INDEX "index_spree_credit_cards_on_user_id" ON "spree_credit_cards" ("user_id")
92
-  (0.0ms) DROP TABLE IF EXISTS "spree_customer_returns"
93
-  (0.1ms) CREATE TABLE "spree_customer_returns" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "stock_location_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
94
-  (0.0ms) DROP TABLE IF EXISTS "spree_inventory_units"
95
-  (0.1ms) CREATE TABLE "spree_inventory_units" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar, "variant_id" integer, "order_id" integer, "shipment_id" integer, "created_at" datetime(6), "updated_at" datetime(6), "pending" boolean DEFAULT 1, "line_item_id" integer, "carton_id" integer)
96
-  (0.1ms) CREATE INDEX "index_spree_inventory_units_on_carton_id" ON "spree_inventory_units" ("carton_id")
97
-  (0.1ms) CREATE INDEX "index_spree_inventory_units_on_line_item_id" ON "spree_inventory_units" ("line_item_id")
98
-  (0.1ms) CREATE INDEX "index_inventory_units_on_order_id" ON "spree_inventory_units" ("order_id")
99
-  (0.1ms) CREATE INDEX "index_inventory_units_on_shipment_id" ON "spree_inventory_units" ("shipment_id")
100
-  (0.1ms) CREATE INDEX "index_inventory_units_on_variant_id" ON "spree_inventory_units" ("variant_id")
101
-  (0.0ms) DROP TABLE IF EXISTS "spree_line_item_actions"
102
-  (0.1ms) CREATE TABLE "spree_line_item_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "line_item_id" integer NOT NULL, "action_id" integer NOT NULL, "quantity" integer DEFAULT 0, "created_at" datetime(6), "updated_at" datetime(6))
103
-  (0.1ms) CREATE INDEX "index_spree_line_item_actions_on_action_id" ON "spree_line_item_actions" ("action_id")
104
-  (0.1ms) CREATE INDEX "index_spree_line_item_actions_on_line_item_id" ON "spree_line_item_actions" ("line_item_id")
105
-  (0.0ms) DROP TABLE IF EXISTS "spree_line_items"
106
-  (0.1ms) CREATE TABLE "spree_line_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "variant_id" integer, "order_id" integer, "quantity" integer NOT NULL, "price" decimal(10,2) NOT NULL, "created_at" datetime(6), "updated_at" datetime(6), "currency" varchar, "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)
107
-  (0.1ms) CREATE INDEX "index_spree_line_items_on_order_id" ON "spree_line_items" ("order_id")
108
-  (0.1ms) CREATE INDEX "index_spree_line_items_on_variant_id" ON "spree_line_items" ("variant_id")
109
-  (0.0ms) DROP TABLE IF EXISTS "spree_log_entries"
110
-  (0.1ms) CREATE TABLE "spree_log_entries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "source_type" varchar, "source_id" integer, "details" text, "created_at" datetime(6), "updated_at" datetime(6))
111
-  (0.1ms) CREATE INDEX "index_spree_log_entries_on_source_id_and_source_type" ON "spree_log_entries" ("source_id", "source_type")
112
-  (0.0ms) DROP TABLE IF EXISTS "spree_option_type_prototypes"
113
-  (0.1ms) CREATE TABLE "spree_option_type_prototypes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "prototype_id" integer, "option_type_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
114
-  (0.0ms) DROP TABLE IF EXISTS "spree_option_types"
115
-  (0.1ms) CREATE TABLE "spree_option_types" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(100), "presentation" varchar(100), "position" integer DEFAULT 0 NOT NULL, "created_at" datetime(6), "updated_at" datetime(6))
116
-  (0.1ms) CREATE INDEX "index_spree_option_types_on_position" ON "spree_option_types" ("position")
117
-  (0.0ms) DROP TABLE IF EXISTS "spree_option_values"
118
-  (0.1ms) CREATE TABLE "spree_option_values" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "name" varchar, "presentation" varchar, "option_type_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
119
-  (0.1ms) CREATE INDEX "index_spree_option_values_on_option_type_id" ON "spree_option_values" ("option_type_id")
120
-  (0.1ms) CREATE INDEX "index_spree_option_values_on_position" ON "spree_option_values" ("position")
121
-  (0.0ms) DROP TABLE IF EXISTS "spree_option_values_variants"
122
-  (0.1ms) CREATE TABLE "spree_option_values_variants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "variant_id" integer, "option_value_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
123
-  (0.1ms) CREATE INDEX "index_option_values_variants_on_variant_id_and_option_value_id" ON "spree_option_values_variants" ("variant_id", "option_value_id")
124
-  (0.1ms) CREATE INDEX "index_spree_option_values_variants_on_variant_id" ON "spree_option_values_variants" ("variant_id")
125
-  (0.0ms) DROP TABLE IF EXISTS "spree_order_mutexes"
126
-  (0.1ms) CREATE TABLE "spree_order_mutexes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer NOT NULL, "created_at" datetime(6))
127
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_order_mutexes_on_order_id" ON "spree_order_mutexes" ("order_id")
128
-  (0.0ms) DROP TABLE IF EXISTS "spree_orders"
129
-  (0.2ms) CREATE TABLE "spree_orders" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(32), "item_total" decimal(10,2) DEFAULT 0.0 NOT NULL, "total" decimal(10,2) DEFAULT 0.0 NOT NULL, "state" varchar, "adjustment_total" decimal(10,2) DEFAULT 0.0 NOT NULL, "user_id" integer, "completed_at" datetime, "bill_address_id" integer, "ship_address_id" integer, "payment_total" decimal(10,2) DEFAULT 0.0, "shipment_state" varchar, "payment_state" varchar, "email" varchar, "special_instructions" text, "created_at" datetime(6), "updated_at" datetime(6), "currency" varchar, "last_ip_address" varchar, "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" varchar DEFAULT 'spree', "included_tax_total" decimal(10,2) DEFAULT 0.0 NOT NULL, "item_count" integer DEFAULT 0, "approver_id" integer, "approved_at" datetime, "confirmation_delivered" boolean DEFAULT 0, "guest_token" varchar, "canceled_at" datetime, "canceler_id" integer, "store_id" integer, "approver_name" varchar, "frontend_viewable" boolean DEFAULT 1 NOT NULL)
130
-  (0.1ms) CREATE INDEX "index_spree_orders_on_approver_id" ON "spree_orders" ("approver_id")
131
-  (0.1ms) CREATE INDEX "index_spree_orders_on_bill_address_id" ON "spree_orders" ("bill_address_id")
132
-  (0.1ms) CREATE INDEX "index_spree_orders_on_completed_at" ON "spree_orders" ("completed_at")
133
-  (0.1ms) CREATE INDEX "index_spree_orders_on_created_by_id" ON "spree_orders" ("created_by_id")
134
-  (0.1ms) CREATE INDEX "index_spree_orders_on_guest_token" ON "spree_orders" ("guest_token")
135
-  (0.1ms) CREATE INDEX "index_spree_orders_on_number" ON "spree_orders" ("number")
136
-  (0.1ms) CREATE INDEX "index_spree_orders_on_ship_address_id" ON "spree_orders" ("ship_address_id")
137
-  (0.1ms) CREATE INDEX "index_spree_orders_on_user_id_and_created_by_id" ON "spree_orders" ("user_id", "created_by_id")
138
-  (0.1ms) CREATE INDEX "index_spree_orders_on_user_id" ON "spree_orders" ("user_id")
139
-  (0.0ms) DROP TABLE IF EXISTS "spree_orders_promotions"
140
-  (0.1ms) CREATE TABLE "spree_orders_promotions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "promotion_id" integer, "promotion_code_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
141
-  (0.1ms) CREATE INDEX "index_spree_orders_promotions_on_order_id_and_promotion_id" ON "spree_orders_promotions" ("order_id", "promotion_id")
142
-  (0.1ms) CREATE INDEX "index_spree_orders_promotions_on_promotion_code_id" ON "spree_orders_promotions" ("promotion_code_id")
143
-  (0.0ms) DROP TABLE IF EXISTS "spree_payment_capture_events"
144
-  (0.1ms) CREATE TABLE "spree_payment_capture_events" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(10,2) DEFAULT 0.0, "payment_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
145
-  (0.1ms) CREATE INDEX "index_spree_payment_capture_events_on_payment_id" ON "spree_payment_capture_events" ("payment_id")
146
-  (0.0ms) DROP TABLE IF EXISTS "spree_payment_methods"
147
-  (0.1ms) CREATE TABLE "spree_payment_methods" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "name" varchar, "description" text, "active" boolean DEFAULT 1, "deleted_at" datetime, "created_at" datetime(6), "updated_at" datetime(6), "display_on" varchar, "auto_capture" boolean, "preferences" text, "preference_source" varchar, "position" integer DEFAULT 0)
148
-  (0.1ms) CREATE INDEX "index_spree_payment_methods_on_id_and_type" ON "spree_payment_methods" ("id", "type")
149
-  (0.0ms) DROP TABLE IF EXISTS "spree_payments"
150
-  (0.1ms) CREATE TABLE "spree_payments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(10,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "source_type" varchar, "source_id" integer, "payment_method_id" integer, "state" varchar, "response_code" varchar, "avs_response" varchar, "created_at" datetime(6), "updated_at" datetime(6), "number" varchar, "cvv_response_code" varchar, "cvv_response_message" varchar)
151
-  (0.1ms) CREATE INDEX "index_spree_payments_on_order_id" ON "spree_payments" ("order_id")
152
-  (0.1ms) CREATE INDEX "index_spree_payments_on_payment_method_id" ON "spree_payments" ("payment_method_id")
153
-  (0.1ms) CREATE INDEX "index_spree_payments_on_source_id_and_source_type" ON "spree_payments" ("source_id", "source_type")
154
-  (0.0ms) DROP TABLE IF EXISTS "spree_preferences"
155
-  (0.1ms) CREATE TABLE "spree_preferences" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "value" text, "key" varchar, "created_at" datetime(6), "updated_at" datetime(6))
156
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_preferences_on_key" ON "spree_preferences" ("key")
157
-  (0.0ms) DROP TABLE IF EXISTS "spree_prices"
158
-  (0.1ms) CREATE TABLE "spree_prices" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "variant_id" integer NOT NULL, "amount" decimal(10,2), "currency" varchar, "deleted_at" datetime, "is_default" boolean DEFAULT 1 NOT NULL, "created_at" datetime(6), "updated_at" datetime(6), "country_iso" varchar(2))
159
-  (0.1ms) CREATE INDEX "index_spree_prices_on_country_iso" ON "spree_prices" ("country_iso")
160
-  (0.1ms) CREATE INDEX "index_spree_prices_on_variant_id_and_currency" ON "spree_prices" ("variant_id", "currency")
161
-  (0.0ms) DROP TABLE IF EXISTS "spree_product_option_types"
162
-  (0.1ms) CREATE TABLE "spree_product_option_types" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer, "product_id" integer, "option_type_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
163
-  (0.1ms) CREATE INDEX "index_spree_product_option_types_on_option_type_id" ON "spree_product_option_types" ("option_type_id")
164
-  (0.1ms) CREATE INDEX "index_spree_product_option_types_on_position" ON "spree_product_option_types" ("position")
165
-  (0.1ms) CREATE INDEX "index_spree_product_option_types_on_product_id" ON "spree_product_option_types" ("product_id")
166
-  (0.0ms) DROP TABLE IF EXISTS "spree_product_promotion_rules"
167
-  (0.1ms) CREATE TABLE "spree_product_promotion_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "promotion_rule_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
168
-  (0.1ms) CREATE INDEX "index_products_promotion_rules_on_product_id" ON "spree_product_promotion_rules" ("product_id")
169
-  (0.1ms) CREATE INDEX "index_products_promotion_rules_on_promotion_rule_id" ON "spree_product_promotion_rules" ("promotion_rule_id")
170
-  (0.0ms) DROP TABLE IF EXISTS "spree_product_properties"
171
-  (0.1ms) CREATE TABLE "spree_product_properties" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar, "product_id" integer, "property_id" integer, "created_at" datetime(6), "updated_at" datetime(6), "position" integer DEFAULT 0)
172
-  (0.1ms) CREATE INDEX "index_spree_product_properties_on_position" ON "spree_product_properties" ("position")
173
-  (0.1ms) CREATE INDEX "index_product_properties_on_product_id" ON "spree_product_properties" ("product_id")
174
-  (0.1ms) CREATE INDEX "index_spree_product_properties_on_property_id" ON "spree_product_properties" ("property_id")
175
-  (0.0ms) DROP TABLE IF EXISTS "spree_products"
176
-  (0.1ms) CREATE TABLE "spree_products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar DEFAULT '' NOT NULL, "description" text, "available_on" datetime, "deleted_at" datetime, "slug" varchar, "meta_description" text, "meta_keywords" varchar, "tax_category_id" integer, "shipping_category_id" integer, "created_at" datetime(6), "updated_at" datetime(6), "promotionable" boolean DEFAULT 1, "meta_title" varchar)
177
-  (0.1ms) CREATE INDEX "index_spree_products_on_available_on" ON "spree_products" ("available_on")
178
-  (0.1ms) CREATE INDEX "index_spree_products_on_deleted_at" ON "spree_products" ("deleted_at")
179
-  (0.1ms) CREATE INDEX "index_spree_products_on_name" ON "spree_products" ("name")
180
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_products_on_slug" ON "spree_products" ("slug")
181
-  (0.0ms) DROP TABLE IF EXISTS "spree_products_taxons"
182
-  (0.1ms) CREATE TABLE "spree_products_taxons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "taxon_id" integer, "position" integer, "created_at" datetime(6), "updated_at" datetime(6))
183
-  (0.1ms) CREATE INDEX "index_spree_products_taxons_on_position" ON "spree_products_taxons" ("position")
184
-  (0.1ms) CREATE INDEX "index_spree_products_taxons_on_product_id" ON "spree_products_taxons" ("product_id")
185
-  (0.1ms) CREATE INDEX "index_spree_products_taxons_on_taxon_id" ON "spree_products_taxons" ("taxon_id")
186
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_action_line_items"
187
-  (0.1ms) CREATE TABLE "spree_promotion_action_line_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "promotion_action_id" integer, "variant_id" integer, "quantity" integer DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6))
188
-  (0.1ms) CREATE INDEX "index_spree_promotion_action_line_items_on_promotion_action_id" ON "spree_promotion_action_line_items" ("promotion_action_id")
189
-  (0.1ms) CREATE INDEX "index_spree_promotion_action_line_items_on_variant_id" ON "spree_promotion_action_line_items" ("variant_id")
190
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_actions"
191
-  (0.1ms) CREATE TABLE "spree_promotion_actions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "promotion_id" integer, "position" integer, "type" varchar, "deleted_at" datetime, "preferences" text, "created_at" datetime(6), "updated_at" datetime(6))
192
-  (0.1ms) CREATE INDEX "index_spree_promotion_actions_on_deleted_at" ON "spree_promotion_actions" ("deleted_at")
193
-  (0.1ms) CREATE INDEX "index_spree_promotion_actions_on_id_and_type" ON "spree_promotion_actions" ("id", "type")
194
-  (0.1ms) CREATE INDEX "index_spree_promotion_actions_on_promotion_id" ON "spree_promotion_actions" ("promotion_id")
195
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_categories"
196
-  (0.1ms) CREATE TABLE "spree_promotion_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6), "code" varchar)
197
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_codes"
198
-  (0.1ms) CREATE TABLE "spree_promotion_codes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "promotion_id" integer NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6), "updated_at" datetime(6))
199
-  (0.1ms) CREATE INDEX "index_spree_promotion_codes_on_promotion_id" ON "spree_promotion_codes" ("promotion_id")
200
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_promotion_codes_on_value" ON "spree_promotion_codes" ("value")
201
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_rule_taxons"
202
-  (0.1ms) CREATE TABLE "spree_promotion_rule_taxons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "taxon_id" integer, "promotion_rule_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
203
-  (0.1ms) CREATE INDEX "index_spree_promotion_rule_taxons_on_promotion_rule_id" ON "spree_promotion_rule_taxons" ("promotion_rule_id")
204
-  (0.1ms) CREATE INDEX "index_spree_promotion_rule_taxons_on_taxon_id" ON "spree_promotion_rule_taxons" ("taxon_id")
205
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_rules"
206
-  (0.1ms) CREATE TABLE "spree_promotion_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "promotion_id" integer, "product_group_id" integer, "type" varchar, "created_at" datetime(6), "updated_at" datetime(6), "code" varchar, "preferences" text)
207
-  (0.1ms) CREATE INDEX "index_promotion_rules_on_product_group_id" ON "spree_promotion_rules" ("product_group_id")
208
-  (0.1ms) CREATE INDEX "index_spree_promotion_rules_on_promotion_id" ON "spree_promotion_rules" ("promotion_id")
209
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotion_rules_users"
210
-  (0.1ms) CREATE TABLE "spree_promotion_rules_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "promotion_rule_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
211
-  (0.1ms) CREATE INDEX "index_promotion_rules_users_on_promotion_rule_id" ON "spree_promotion_rules_users" ("promotion_rule_id")
212
-  (0.1ms) CREATE INDEX "index_promotion_rules_users_on_user_id" ON "spree_promotion_rules_users" ("user_id")
213
-  (0.0ms) DROP TABLE IF EXISTS "spree_promotions"
214
-  (0.1ms) CREATE TABLE "spree_promotions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "expires_at" datetime, "starts_at" datetime, "name" varchar, "type" varchar, "usage_limit" integer, "match_policy" varchar DEFAULT 'all', "code" varchar, "advertise" boolean DEFAULT 0, "path" varchar, "created_at" datetime(6), "updated_at" datetime(6), "promotion_category_id" integer, "per_code_usage_limit" integer, "apply_automatically" boolean DEFAULT 0)
215
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_advertise" ON "spree_promotions" ("advertise")
216
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_apply_automatically" ON "spree_promotions" ("apply_automatically")
217
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_code" ON "spree_promotions" ("code")
218
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_expires_at" ON "spree_promotions" ("expires_at")
219
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_id_and_type" ON "spree_promotions" ("id", "type")
220
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_promotion_category_id" ON "spree_promotions" ("promotion_category_id")
221
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_starts_at" ON "spree_promotions" ("starts_at")
222
-  (0.0ms) DROP TABLE IF EXISTS "spree_properties"
223
-  (0.1ms) CREATE TABLE "spree_properties" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "presentation" varchar NOT NULL, "created_at" datetime(6), "updated_at" datetime(6))
224
-  (0.0ms) DROP TABLE IF EXISTS "spree_property_prototypes"
225
-  (0.1ms) CREATE TABLE "spree_property_prototypes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "prototype_id" integer, "property_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
226
-  (0.0ms) DROP TABLE IF EXISTS "spree_prototype_taxons"
227
-  (0.1ms) CREATE TABLE "spree_prototype_taxons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "taxon_id" integer, "prototype_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
228
-  (0.1ms) CREATE INDEX "index_spree_prototype_taxons_on_prototype_id" ON "spree_prototype_taxons" ("prototype_id")
229
-  (0.1ms) CREATE INDEX "index_spree_prototype_taxons_on_taxon_id" ON "spree_prototype_taxons" ("taxon_id")
230
-  (0.0ms) DROP TABLE IF EXISTS "spree_prototypes"
231
-  (0.1ms) CREATE TABLE "spree_prototypes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6))
232
-  (0.0ms) DROP TABLE IF EXISTS "spree_refund_reasons"
233
-  (0.1ms) CREATE TABLE "spree_refund_reasons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 1, "mutable" boolean DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6), "code" varchar)
234
-  (0.0ms) DROP TABLE IF EXISTS "spree_refunds"
235
-  (0.1ms) CREATE TABLE "spree_refunds" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "payment_id" integer, "amount" decimal(10,2) DEFAULT 0.0 NOT NULL, "transaction_id" varchar, "created_at" datetime(6), "updated_at" datetime(6), "refund_reason_id" integer, "reimbursement_id" integer)
236
-  (0.1ms) CREATE INDEX "index_spree_refunds_on_payment_id" ON "spree_refunds" ("payment_id")
237
-  (0.1ms) CREATE INDEX "index_refunds_on_refund_reason_id" ON "spree_refunds" ("refund_reason_id")
238
-  (0.1ms) CREATE INDEX "index_spree_refunds_on_reimbursement_id" ON "spree_refunds" ("reimbursement_id")
239
-  (0.0ms) DROP TABLE IF EXISTS "spree_reimbursement_credits"
240
-  (0.1ms) CREATE TABLE "spree_reimbursement_credits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(10,2) DEFAULT 0.0 NOT NULL, "reimbursement_id" integer, "creditable_id" integer, "creditable_type" varchar, "created_at" datetime(6), "updated_at" datetime(6))
241
-  (0.0ms) DROP TABLE IF EXISTS "spree_reimbursement_types"
242
-  (0.1ms) CREATE TABLE "spree_reimbursement_types" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 1, "mutable" boolean DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6), "type" varchar)
243
-  (0.1ms) CREATE INDEX "index_spree_reimbursement_types_on_type" ON "spree_reimbursement_types" ("type")
244
-  (0.0ms) DROP TABLE IF EXISTS "spree_reimbursements"
245
-  (0.1ms) CREATE TABLE "spree_reimbursements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "reimbursement_status" varchar, "customer_return_id" integer, "order_id" integer, "total" decimal(10,2), "created_at" datetime(6), "updated_at" datetime(6))
246
-  (0.1ms) CREATE INDEX "index_spree_reimbursements_on_customer_return_id" ON "spree_reimbursements" ("customer_return_id")
247
-  (0.1ms) CREATE INDEX "index_spree_reimbursements_on_order_id" ON "spree_reimbursements" ("order_id")
248
-  (0.0ms) DROP TABLE IF EXISTS "spree_return_authorizations"
249
-  (0.1ms) CREATE TABLE "spree_return_authorizations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "state" varchar, "order_id" integer, "memo" text, "created_at" datetime(6), "updated_at" datetime(6), "stock_location_id" integer, "return_reason_id" integer)
250
-  (0.1ms) CREATE INDEX "index_return_authorizations_on_return_authorization_reason_id" ON "spree_return_authorizations" ("return_reason_id")
251
-  (0.0ms) DROP TABLE IF EXISTS "spree_return_items"
252
-  (0.1ms) CREATE TABLE "spree_return_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "return_authorization_id" integer, "inventory_unit_id" integer, "exchange_variant_id" integer, "created_at" datetime(6), "updated_at" datetime(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" varchar, "acceptance_status" varchar, "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 1 NOT NULL, "return_reason_id" integer)
253
-  (0.1ms) CREATE INDEX "index_return_items_on_customer_return_id" ON "spree_return_items" ("customer_return_id")
254
-  (0.1ms) CREATE INDEX "index_spree_return_items_on_exchange_inventory_unit_id" ON "spree_return_items" ("exchange_inventory_unit_id")
255
-  (0.0ms) DROP TABLE IF EXISTS "spree_return_reasons"
256
-  (0.3ms) CREATE TABLE "spree_return_reasons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 1, "mutable" boolean DEFAULT 1, "created_at" datetime(6), "updated_at" datetime(6))
257
-  (0.0ms) DROP TABLE IF EXISTS "spree_roles"
258
-  (0.1ms) CREATE TABLE "spree_roles" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6))
259
-  (0.0ms) DROP TABLE IF EXISTS "spree_roles_users"
260
-  (0.1ms) CREATE TABLE "spree_roles_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "user_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
261
-  (0.1ms) CREATE INDEX "index_spree_roles_users_on_role_id" ON "spree_roles_users" ("role_id")
262
-  (0.1ms) CREATE INDEX "index_spree_roles_users_on_user_id" ON "spree_roles_users" ("user_id")
263
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipments"
264
-  (0.1ms) CREATE TABLE "spree_shipments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "tracking" varchar, "number" varchar, "cost" decimal(10,2) DEFAULT 0.0, "shipped_at" datetime, "order_id" integer, "deprecated_address_id" integer, "state" varchar, "created_at" datetime(6), "updated_at" datetime(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)
265
-  (0.1ms) CREATE INDEX "index_spree_shipments_on_deprecated_address_id" ON "spree_shipments" ("deprecated_address_id")
266
-  (0.1ms) CREATE INDEX "index_shipments_on_number" ON "spree_shipments" ("number")
267
-  (0.1ms) CREATE INDEX "index_spree_shipments_on_order_id" ON "spree_shipments" ("order_id")
268
-  (0.1ms) CREATE INDEX "index_spree_shipments_on_stock_location_id" ON "spree_shipments" ("stock_location_id")
269
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_categories"
270
-  (0.1ms) CREATE TABLE "spree_shipping_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6))
271
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_method_categories"
272
-  (0.1ms) CREATE TABLE "spree_shipping_method_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "shipping_method_id" integer NOT NULL, "shipping_category_id" integer NOT NULL, "created_at" datetime(6), "updated_at" datetime(6))
273
-  (0.1ms) CREATE UNIQUE INDEX "unique_spree_shipping_method_categories" ON "spree_shipping_method_categories" ("shipping_category_id", "shipping_method_id")
274
-  (0.1ms) CREATE INDEX "index_spree_shipping_method_categories_on_shipping_method_id" ON "spree_shipping_method_categories" ("shipping_method_id")
275
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_method_stock_locations"
276
-  (0.1ms) CREATE TABLE "spree_shipping_method_stock_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "shipping_method_id" integer, "stock_location_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
277
-  (0.1ms) CREATE INDEX "shipping_method_id_spree_sm_sl" ON "spree_shipping_method_stock_locations" ("shipping_method_id")
278
-  (0.1ms) CREATE INDEX "sstock_location_id_spree_sm_sl" ON "spree_shipping_method_stock_locations" ("stock_location_id")
279
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_method_zones"
280
-  (0.1ms) CREATE TABLE "spree_shipping_method_zones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "shipping_method_id" integer, "zone_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
281
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_methods"
282
-  (0.1ms) CREATE TABLE "spree_shipping_methods" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "display_on" varchar, "deleted_at" datetime, "created_at" datetime(6), "updated_at" datetime(6), "tracking_url" varchar, "admin_name" varchar, "tax_category_id" integer, "code" varchar, "available_to_all" boolean DEFAULT 1, "carrier" varchar, "service_level" varchar)
283
-  (0.1ms) CREATE INDEX "index_spree_shipping_methods_on_tax_category_id" ON "spree_shipping_methods" ("tax_category_id")
284
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_rate_taxes"
285
-  (0.1ms) CREATE TABLE "spree_shipping_rate_taxes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "tax_rate_id" integer, "shipping_rate_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
286
-  (0.1ms) CREATE INDEX "index_spree_shipping_rate_taxes_on_shipping_rate_id" ON "spree_shipping_rate_taxes" ("shipping_rate_id")
287
-  (0.1ms) CREATE INDEX "index_spree_shipping_rate_taxes_on_tax_rate_id" ON "spree_shipping_rate_taxes" ("tax_rate_id")
288
-  (0.0ms) DROP TABLE IF EXISTS "spree_shipping_rates"
289
-  (0.1ms) CREATE TABLE "spree_shipping_rates" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "shipment_id" integer, "shipping_method_id" integer, "selected" boolean DEFAULT 0, "cost" decimal(8,2) DEFAULT 0.0, "created_at" datetime(6), "updated_at" datetime(6), "tax_rate_id" integer)
290
-  (0.1ms) CREATE UNIQUE INDEX "spree_shipping_rates_join_index" ON "spree_shipping_rates" ("shipment_id", "shipping_method_id")
291
-  (0.0ms) DROP TABLE IF EXISTS "spree_state_changes"
292
-  (0.1ms) CREATE TABLE "spree_state_changes" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "previous_state" varchar, "stateful_id" integer, "user_id" integer, "stateful_type" varchar, "next_state" varchar, "created_at" datetime(6), "updated_at" datetime(6))
293
-  (0.1ms) CREATE INDEX "index_spree_state_changes_on_stateful_id_and_stateful_type" ON "spree_state_changes" ("stateful_id", "stateful_type")
294
-  (0.1ms) CREATE INDEX "index_spree_state_changes_on_user_id" ON "spree_state_changes" ("user_id")
295
-  (0.0ms) DROP TABLE IF EXISTS "spree_states"
296
-  (0.1ms) CREATE TABLE "spree_states" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "abbr" varchar, "country_id" integer, "updated_at" datetime(6), "created_at" datetime(6))
297
-  (0.1ms) CREATE INDEX "index_spree_states_on_country_id" ON "spree_states" ("country_id")
298
-  (0.0ms) DROP TABLE IF EXISTS "spree_stock_items"
299
-  (0.1ms) CREATE TABLE "spree_stock_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "stock_location_id" integer, "variant_id" integer, "count_on_hand" integer DEFAULT 0 NOT NULL, "created_at" datetime(6), "updated_at" datetime(6), "backorderable" boolean DEFAULT 0, "deleted_at" datetime)
300
-  (0.1ms) CREATE INDEX "index_spree_stock_items_on_deleted_at" ON "spree_stock_items" ("deleted_at")
301
-  (0.1ms) CREATE INDEX "stock_item_by_loc_and_var_id" ON "spree_stock_items" ("stock_location_id", "variant_id")
302
-  (0.1ms) CREATE INDEX "index_spree_stock_items_on_stock_location_id" ON "spree_stock_items" ("stock_location_id")
303
-  (0.1ms) 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
304
-  (0.0ms) DROP TABLE IF EXISTS "spree_stock_locations"
305
-  (0.2ms) CREATE TABLE "spree_stock_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6), "default" boolean DEFAULT 0 NOT NULL, "address1" varchar, "address2" varchar, "city" varchar, "state_id" integer, "state_name" varchar, "country_id" integer, "zipcode" varchar, "phone" varchar, "active" boolean DEFAULT 1, "backorderable_default" boolean DEFAULT 0, "propagate_all_variants" boolean DEFAULT 1, "admin_name" varchar, "position" integer DEFAULT 0, "restock_inventory" boolean DEFAULT 1 NOT NULL, "fulfillable" boolean DEFAULT 1 NOT NULL, "code" varchar, "check_stock_on_transfer" boolean DEFAULT 1)
306
-  (0.1ms) CREATE INDEX "index_spree_stock_locations_on_country_id" ON "spree_stock_locations" ("country_id")
307
-  (0.1ms) CREATE INDEX "index_spree_stock_locations_on_state_id" ON "spree_stock_locations" ("state_id")
308
-  (0.0ms) DROP TABLE IF EXISTS "spree_stock_movements"
309
-  (0.1ms) CREATE TABLE "spree_stock_movements" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "stock_item_id" integer, "quantity" integer DEFAULT 0, "action" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "originator_type" varchar, "originator_id" integer)
310
-  (0.1ms) CREATE INDEX "index_spree_stock_movements_on_stock_item_id" ON "spree_stock_movements" ("stock_item_id")
311
-  (0.0ms) DROP TABLE IF EXISTS "spree_store_credit_categories"
312
-  (0.1ms) CREATE TABLE "spree_store_credit_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6))
313
-  (0.0ms) DROP TABLE IF EXISTS "spree_store_credit_events"
314
-  (0.1ms) CREATE TABLE "spree_store_credit_events" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "store_credit_id" integer NOT NULL, "action" varchar NOT NULL, "amount" decimal(8,2), "user_total_amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "authorization_code" varchar NOT NULL, "deleted_at" datetime, "originator_type" varchar, "originator_id" integer, "created_at" datetime(6), "updated_at" datetime(6), "update_reason_id" integer)
315
-  (0.1ms) CREATE INDEX "index_spree_store_credit_events_on_deleted_at" ON "spree_store_credit_events" ("deleted_at")
316
-  (0.1ms) CREATE INDEX "index_spree_store_credit_events_on_store_credit_id" ON "spree_store_credit_events" ("store_credit_id")
317
-  (0.0ms) DROP TABLE IF EXISTS "spree_store_credit_types"
318
-  (0.1ms) CREATE TABLE "spree_store_credit_types" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "priority" integer, "created_at" datetime(6), "updated_at" datetime(6))
319
-  (0.1ms) CREATE INDEX "index_spree_store_credit_types_on_priority" ON "spree_store_credit_types" ("priority")
320
-  (0.1ms) DROP TABLE IF EXISTS "spree_store_credit_update_reasons"
321
-  (0.1ms) CREATE TABLE "spree_store_credit_update_reasons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6), "updated_at" datetime(6))
322
-  (0.0ms) DROP TABLE IF EXISTS "spree_store_credits"
323
-  (0.1ms) CREATE TABLE "spree_store_credits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "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" varchar, "memo" text, "spree_store_credits" datetime, "deleted_at" datetime, "created_at" datetime(6), "updated_at" datetime(6), "type_id" integer, "invalidated_at" datetime)
324
-  (0.1ms) CREATE INDEX "index_spree_store_credits_on_deleted_at" ON "spree_store_credits" ("deleted_at")
325
-  (0.1ms) CREATE INDEX "index_spree_store_credits_on_type_id" ON "spree_store_credits" ("type_id")
326
-  (0.1ms) CREATE INDEX "index_spree_store_credits_on_user_id" ON "spree_store_credits" ("user_id")
327
-  (0.1ms) DROP TABLE IF EXISTS "spree_store_payment_methods"
328
-  (0.1ms) CREATE TABLE "spree_store_payment_methods" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "store_id" integer NOT NULL, "payment_method_id" integer NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
329
-  (0.1ms) CREATE INDEX "index_spree_store_payment_methods_on_payment_method_id" ON "spree_store_payment_methods" ("payment_method_id")
330
-  (0.1ms) CREATE INDEX "index_spree_store_payment_methods_on_store_id" ON "spree_store_payment_methods" ("store_id")
331
-  (0.0ms) DROP TABLE IF EXISTS "spree_stores"
332
-  (0.1ms) CREATE TABLE "spree_stores" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "url" varchar, "meta_description" text, "meta_keywords" text, "seo_title" varchar, "mail_from_address" varchar, "default_currency" varchar, "code" varchar, "default" boolean DEFAULT 0 NOT NULL, "created_at" datetime(6), "updated_at" datetime(6), "cart_tax_country_iso" varchar)
333
-  (0.1ms) CREATE INDEX "index_spree_stores_on_code" ON "spree_stores" ("code")
334
-  (0.1ms) CREATE INDEX "index_spree_stores_on_default" ON "spree_stores" ("default")
335
-  (0.0ms) DROP TABLE IF EXISTS "spree_tax_categories"
336
-  (0.1ms) CREATE TABLE "spree_tax_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" varchar, "is_default" boolean DEFAULT 0, "deleted_at" datetime, "created_at" datetime(6), "updated_at" datetime(6), "tax_code" varchar)
337
-  (0.0ms) DROP TABLE IF EXISTS "spree_tax_rates"
338
-  (0.1ms) CREATE TABLE "spree_tax_rates" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "amount" decimal(8,5), "zone_id" integer, "tax_category_id" integer, "included_in_price" boolean DEFAULT 0, "created_at" datetime(6), "updated_at" datetime(6), "name" varchar, "show_rate_in_label" boolean DEFAULT 1, "deleted_at" datetime)
339
-  (0.1ms) CREATE INDEX "index_spree_tax_rates_on_deleted_at" ON "spree_tax_rates" ("deleted_at")
340
-  (0.1ms) CREATE INDEX "index_spree_tax_rates_on_tax_category_id" ON "spree_tax_rates" ("tax_category_id")
341
-  (0.1ms) CREATE INDEX "index_spree_tax_rates_on_zone_id" ON "spree_tax_rates" ("zone_id")
342
-  (0.0ms) DROP TABLE IF EXISTS "spree_taxonomies"
343
-  (0.1ms) CREATE TABLE "spree_taxonomies" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6), "updated_at" datetime(6), "position" integer DEFAULT 0)
344
-  (0.1ms) CREATE INDEX "index_spree_taxonomies_on_position" ON "spree_taxonomies" ("position")
345
-  (0.0ms) DROP TABLE IF EXISTS "spree_taxons"
346
-  (0.2ms) CREATE TABLE "spree_taxons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "position" integer DEFAULT 0, "name" varchar NOT NULL, "permalink" varchar, "taxonomy_id" integer, "lft" integer, "rgt" integer, "icon_file_name" varchar, "icon_content_type" varchar, "icon_file_size" integer, "icon_updated_at" datetime, "description" text, "created_at" datetime(6), "updated_at" datetime(6), "meta_title" varchar, "meta_description" varchar, "meta_keywords" varchar, "depth" integer)
347
-  (0.1ms) CREATE INDEX "index_taxons_on_parent_id" ON "spree_taxons" ("parent_id")
348
-  (0.1ms) CREATE INDEX "index_taxons_on_permalink" ON "spree_taxons" ("permalink")
349
-  (0.1ms) CREATE INDEX "index_spree_taxons_on_position" ON "spree_taxons" ("position")
350
-  (0.1ms) CREATE INDEX "index_taxons_on_taxonomy_id" ON "spree_taxons" ("taxonomy_id")
351
-  (0.0ms) DROP TABLE IF EXISTS "spree_unit_cancels"
352
-  (0.1ms) CREATE TABLE "spree_unit_cancels" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "inventory_unit_id" integer NOT NULL, "reason" varchar, "created_by" varchar, "created_at" datetime(6), "updated_at" datetime(6))
353
-  (0.1ms) CREATE INDEX "index_spree_unit_cancels_on_inventory_unit_id" ON "spree_unit_cancels" ("inventory_unit_id")
354
-  (0.0ms) DROP TABLE IF EXISTS "spree_user_addresses"
355
-  (0.1ms) CREATE TABLE "spree_user_addresses" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "address_id" integer NOT NULL, "default" boolean DEFAULT 0, "archived" boolean DEFAULT 0, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
356
-  (0.1ms) CREATE INDEX "index_spree_user_addresses_on_address_id" ON "spree_user_addresses" ("address_id")
357
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_user_addresses_on_user_id_and_address_id" ON "spree_user_addresses" ("user_id", "address_id")
358
-  (0.1ms) CREATE INDEX "index_spree_user_addresses_on_user_id" ON "spree_user_addresses" ("user_id")
359
-  (0.0ms) DROP TABLE IF EXISTS "spree_user_stock_locations"
360
-  (0.1ms) CREATE TABLE "spree_user_stock_locations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "stock_location_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
361
-  (0.1ms) CREATE INDEX "index_spree_user_stock_locations_on_user_id" ON "spree_user_stock_locations" ("user_id")
362
-  (0.0ms) DROP TABLE IF EXISTS "spree_variant_property_rule_conditions"
363
-  (0.1ms) CREATE TABLE "spree_variant_property_rule_conditions" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "option_value_id" integer, "variant_property_rule_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
364
-  (0.1ms) 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")
365
-  (0.0ms) DROP TABLE IF EXISTS "spree_variant_property_rule_values"
366
-  (0.1ms) CREATE TABLE "spree_variant_property_rule_values" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "value" text, "position" integer DEFAULT 0, "property_id" integer, "variant_property_rule_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
367
-  (0.1ms) CREATE INDEX "index_spree_variant_property_rule_values_on_property_id" ON "spree_variant_property_rule_values" ("property_id")
368
-  (0.1ms) CREATE INDEX "index_spree_variant_property_rule_values_on_rule" ON "spree_variant_property_rule_values" ("variant_property_rule_id")
369
-  (0.0ms) DROP TABLE IF EXISTS "spree_variant_property_rules"
370
-  (0.1ms) CREATE TABLE "spree_variant_property_rules" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
371
-  (0.1ms) CREATE INDEX "index_spree_variant_property_rules_on_product_id" ON "spree_variant_property_rules" ("product_id")
372
-  (0.0ms) DROP TABLE IF EXISTS "spree_variants"
373
-  (0.1ms) CREATE TABLE "spree_variants" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar DEFAULT '' NOT NULL, "weight" decimal(8,2) DEFAULT 0.0, "height" decimal(8,2), "width" decimal(8,2), "depth" decimal(8,2), "deleted_at" datetime, "is_master" boolean DEFAULT 0, "product_id" integer, "cost_price" decimal(10,2), "position" integer, "cost_currency" varchar, "track_inventory" boolean DEFAULT 1, "tax_category_id" integer, "updated_at" datetime(6), "created_at" datetime(6))
374
-  (0.1ms) CREATE INDEX "index_spree_variants_on_position" ON "spree_variants" ("position")
375
-  (0.1ms) CREATE INDEX "index_spree_variants_on_product_id" ON "spree_variants" ("product_id")
376
-  (0.1ms) CREATE INDEX "index_spree_variants_on_sku" ON "spree_variants" ("sku")
377
-  (0.1ms) CREATE INDEX "index_spree_variants_on_tax_category_id" ON "spree_variants" ("tax_category_id")
378
-  (0.1ms) CREATE INDEX "index_spree_variants_on_track_inventory" ON "spree_variants" ("track_inventory")
379
-  (0.0ms) DROP TABLE IF EXISTS "spree_zone_members"
380
-  (0.1ms) CREATE TABLE "spree_zone_members" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "zoneable_type" varchar, "zoneable_id" integer, "zone_id" integer, "created_at" datetime(6), "updated_at" datetime(6))
381
-  (0.1ms) CREATE INDEX "index_spree_zone_members_on_zone_id" ON "spree_zone_members" ("zone_id")
382
-  (0.1ms) CREATE INDEX "index_spree_zone_members_on_zoneable_id_and_zoneable_type" ON "spree_zone_members" ("zoneable_id", "zoneable_type")
383
-  (0.0ms) DROP TABLE IF EXISTS "spree_zones"
384
-  (0.1ms) CREATE TABLE "spree_zones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" varchar, "default_tax" boolean DEFAULT 0, "zone_members_count" integer DEFAULT 0, "created_at" datetime(6), "updated_at" datetime(6))
385
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213820"]]
386
- TRANSACTION (4.1ms) commit transaction
387
- Migrating to CreateSpreeWalletPaymentSources (20210218213821)
388
- TRANSACTION (0.0ms) begin transaction
389
-  (0.4ms) CREATE TABLE "spree_wallet_payment_sources" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "payment_source_type" varchar NOT NULL, "payment_source_id" integer NOT NULL, "default" boolean DEFAULT 0 NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, CONSTRAINT "fk_rails_5dd6e027c5"
390
- FOREIGN KEY ("user_id")
391
- REFERENCES "spree_users" ("id")
392
- )
393
-  (0.1ms) CREATE INDEX "index_spree_wallet_payment_sources_on_user_id" ON "spree_wallet_payment_sources" ("user_id")
394
-  (0.1ms) 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")
395
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213821"]]
396
- TRANSACTION (0.9ms) commit transaction
397
- Migrating to MigrateCreditCardsToWalletPaymentSources (20210218213822)
398
- TRANSACTION (0.0ms) begin transaction
399
- MigrateCreditCardsToWalletPaymentSources::CreditCard Load (0.1ms) 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 ? [["LIMIT", 1000]]
400
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213822"]]
401
- TRANSACTION (0.7ms) commit transaction
402
- Migrating to RemoveIsDefaultFromPrices (20210218213823)
403
- TRANSACTION (0.0ms) begin transaction
404
-  (0.0ms) PRAGMA foreign_keys
405
-  (0.0ms) PRAGMA defer_foreign_keys
406
-  (0.0ms) PRAGMA defer_foreign_keys = ON
407
-  (0.0ms) PRAGMA foreign_keys = OFF
408
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_prices" ("id" integer NOT NULL PRIMARY KEY, "variant_id" integer NOT NULL, "amount" decimal(10,2) DEFAULT NULL, "currency" varchar DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "is_default" boolean DEFAULT 1 NOT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "country_iso" varchar(2) DEFAULT NULL)
409
-  (0.1ms) CREATE INDEX "tindex_aspree_prices_on_variant_id_and_currency" ON "aspree_prices" ("variant_id", "currency")
410
-  (0.1ms) CREATE INDEX "tindex_aspree_prices_on_country_iso" ON "aspree_prices" ("country_iso")
411
-  (0.1ms) INSERT INTO "aspree_prices" ("id","variant_id","amount","currency","deleted_at","is_default","created_at","updated_at","country_iso")
412
- SELECT "id","variant_id","amount","currency","deleted_at","is_default","created_at","updated_at","country_iso" FROM "spree_prices"
413
-  (0.3ms) DROP TABLE "spree_prices"
414
-  (0.2ms) CREATE TABLE "spree_prices" ("id" integer NOT NULL PRIMARY KEY, "variant_id" integer NOT NULL, "amount" decimal(10,2) DEFAULT NULL, "currency" varchar DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "country_iso" varchar(2) DEFAULT NULL)
415
-  (0.1ms) CREATE INDEX "index_spree_prices_on_country_iso" ON "spree_prices" ("country_iso")
416
-  (0.1ms) CREATE INDEX "index_spree_prices_on_variant_id_and_currency" ON "spree_prices" ("variant_id", "currency")
417
-  (0.0ms) INSERT INTO "spree_prices" ("id","variant_id","amount","currency","deleted_at","created_at","updated_at","country_iso")
418
- SELECT "id","variant_id","amount","currency","deleted_at","created_at","updated_at","country_iso" FROM "aspree_prices"
419
-  (0.1ms) DROP TABLE "aspree_prices"
420
-  (0.0ms) PRAGMA defer_foreign_keys = 0
421
-  (0.0ms) PRAGMA foreign_keys = 1
422
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213823"]]
423
- TRANSACTION (0.8ms) commit transaction
424
- Migrating to RemoveCurrencyFromLineItems (20210218213824)
425
- TRANSACTION (0.0ms) begin transaction
426
-  (0.0ms) PRAGMA foreign_keys
427
-  (0.0ms) PRAGMA defer_foreign_keys
428
-  (0.0ms) PRAGMA defer_foreign_keys = ON
429
-  (0.0ms) PRAGMA foreign_keys = OFF
430
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_line_items" ("id" integer NOT NULL PRIMARY KEY, "variant_id" integer DEFAULT NULL, "order_id" integer DEFAULT NULL, "quantity" integer NOT NULL, "price" decimal(10,2) NOT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "currency" varchar DEFAULT NULL, "cost_price" decimal(10,2) DEFAULT NULL, "tax_category_id" integer DEFAULT NULL, "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)
431
-  (0.1ms) CREATE INDEX "tindex_aspree_line_items_on_variant_id" ON "aspree_line_items" ("variant_id")
432
-  (0.1ms) CREATE INDEX "tindex_aspree_line_items_on_order_id" ON "aspree_line_items" ("order_id")
433
-  (0.1ms) INSERT INTO "aspree_line_items" ("id","variant_id","order_id","quantity","price","created_at","updated_at","currency","cost_price","tax_category_id","adjustment_total","additional_tax_total","promo_total","included_tax_total")
434
- SELECT "id","variant_id","order_id","quantity","price","created_at","updated_at","currency","cost_price","tax_category_id","adjustment_total","additional_tax_total","promo_total","included_tax_total" FROM "spree_line_items"
435
-  (0.3ms) DROP TABLE "spree_line_items"
436
-  (0.2ms) CREATE TABLE "spree_line_items" ("id" integer NOT NULL PRIMARY KEY, "variant_id" integer DEFAULT NULL, "order_id" integer DEFAULT NULL, "quantity" integer NOT NULL, "price" decimal(10,2) NOT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "cost_price" decimal(10,2) DEFAULT NULL, "tax_category_id" integer DEFAULT NULL, "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)
437
-  (0.1ms) CREATE INDEX "index_spree_line_items_on_order_id" ON "spree_line_items" ("order_id")
438
-  (0.1ms) CREATE INDEX "index_spree_line_items_on_variant_id" ON "spree_line_items" ("variant_id")
439
-  (0.0ms) INSERT INTO "spree_line_items" ("id","variant_id","order_id","quantity","price","created_at","updated_at","cost_price","tax_category_id","adjustment_total","additional_tax_total","promo_total","included_tax_total")
440
- SELECT "id","variant_id","order_id","quantity","price","created_at","updated_at","cost_price","tax_category_id","adjustment_total","additional_tax_total","promo_total","included_tax_total" FROM "aspree_line_items"
441
-  (0.1ms) DROP TABLE "aspree_line_items"
442
-  (0.0ms) PRAGMA defer_foreign_keys = 0
443
-  (0.0ms) PRAGMA foreign_keys = 1
444
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213824"]]
445
- TRANSACTION (0.7ms) commit transaction
446
- Migrating to AddAvailableToColumnsAndRemoveDisplayOnFromPaymentMethods (20210218213825)
447
- TRANSACTION (0.0ms) begin transaction
448
-  (2.0ms) ALTER TABLE "spree_payment_methods" ADD "available_to_users" boolean DEFAULT 1
449
-  (1.7ms) ALTER TABLE "spree_payment_methods" ADD "available_to_admin" boolean DEFAULT 1
450
-  (0.0ms) UPDATE spree_payment_methods SET available_to_users=0 WHERE NOT (display_on='front_end' OR display_on='' OR display_on IS NULL)
451
-  (0.1ms) UPDATE spree_payment_methods SET available_to_admin=0 WHERE NOT (display_on='back_end' OR display_on='' OR display_on IS NULL)
452
-  (0.0ms) PRAGMA foreign_keys
453
-  (0.0ms) PRAGMA defer_foreign_keys
454
-  (0.0ms) PRAGMA defer_foreign_keys = ON
455
-  (0.0ms) PRAGMA foreign_keys = OFF
456
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_payment_methods" ("id" integer NOT NULL PRIMARY KEY, "type" varchar DEFAULT NULL, "name" varchar DEFAULT NULL, "description" text DEFAULT NULL, "active" boolean DEFAULT 1, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "display_on" varchar DEFAULT NULL, "auto_capture" boolean DEFAULT NULL, "preferences" text DEFAULT NULL, "preference_source" varchar DEFAULT NULL, "position" integer DEFAULT 0, "available_to_users" boolean DEFAULT 1, "available_to_admin" boolean DEFAULT 1)
457
-  (0.1ms) CREATE INDEX "tindex_aspree_payment_methods_on_id_and_type" ON "aspree_payment_methods" ("id", "type")
458
-  (0.1ms) INSERT INTO "aspree_payment_methods" ("id","type","name","description","active","deleted_at","created_at","updated_at","display_on","auto_capture","preferences","preference_source","position","available_to_users","available_to_admin")
459
- SELECT "id","type","name","description","active","deleted_at","created_at","updated_at","display_on","auto_capture","preferences","preference_source","position","available_to_users","available_to_admin" FROM "spree_payment_methods"
460
-  (0.1ms) DROP TABLE "spree_payment_methods"
461
-  (0.2ms) CREATE TABLE "spree_payment_methods" ("id" integer NOT NULL PRIMARY KEY, "type" varchar DEFAULT NULL, "name" varchar DEFAULT NULL, "description" text DEFAULT NULL, "active" boolean DEFAULT 1, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "auto_capture" boolean DEFAULT NULL, "preferences" text DEFAULT NULL, "preference_source" varchar DEFAULT NULL, "position" integer DEFAULT 0, "available_to_users" boolean DEFAULT 1, "available_to_admin" boolean DEFAULT 1)
462
-  (0.1ms) CREATE INDEX "index_spree_payment_methods_on_id_and_type" ON "spree_payment_methods" ("id", "type")
463
-  (0.1ms) INSERT INTO "spree_payment_methods" ("id","type","name","description","active","deleted_at","created_at","updated_at","auto_capture","preferences","preference_source","position","available_to_users","available_to_admin")
464
- SELECT "id","type","name","description","active","deleted_at","created_at","updated_at","auto_capture","preferences","preference_source","position","available_to_users","available_to_admin" FROM "aspree_payment_methods"
465
-  (0.1ms) DROP TABLE "aspree_payment_methods"
466
-  (0.0ms) PRAGMA defer_foreign_keys = 0
467
-  (0.0ms) PRAGMA foreign_keys = 1
468
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213825"]]
469
- TRANSACTION (0.7ms) commit transaction
470
- Migrating to CreateSpreePromotionCodeBatch (20210218213826)
471
- TRANSACTION (0.0ms) begin transaction
472
-  (0.3ms) CREATE TABLE "spree_promotion_code_batches" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "promotion_id" integer NOT NULL, "base_code" varchar NOT NULL, "number_of_codes" integer NOT NULL, "email" varchar, "error" varchar, "state" varchar DEFAULT 'pending', "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
473
-  (0.1ms) CREATE INDEX "index_spree_promotion_code_batches_on_promotion_id" ON "spree_promotion_code_batches" ("promotion_id")
474
-  (0.0ms) PRAGMA foreign_keys
475
-  (0.0ms) PRAGMA defer_foreign_keys
476
-  (0.0ms) PRAGMA defer_foreign_keys = ON
477
-  (0.0ms) PRAGMA foreign_keys = OFF
478
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_promotion_code_batches" ("id" integer NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "base_code" varchar NOT NULL, "number_of_codes" integer NOT NULL, "email" varchar DEFAULT NULL, "error" varchar DEFAULT NULL, "state" varchar DEFAULT 'pending', "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
479
-  (0.1ms) CREATE INDEX "tindex_aspree_promotion_code_batches_on_promotion_id" ON "aspree_promotion_code_batches" ("promotion_id")
480
-  (0.0ms) INSERT INTO "aspree_promotion_code_batches" ("id","promotion_id","base_code","number_of_codes","email","error","state","created_at","updated_at")
481
- SELECT "id","promotion_id","base_code","number_of_codes","email","error","state","created_at","updated_at" FROM "spree_promotion_code_batches"
482
-  (0.1ms) DROP TABLE "spree_promotion_code_batches"
483
-  (0.1ms) CREATE TABLE "spree_promotion_code_batches" ("id" integer NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "base_code" varchar NOT NULL, "number_of_codes" integer NOT NULL, "email" varchar DEFAULT NULL, "error" varchar DEFAULT NULL, "state" varchar DEFAULT 'pending', "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, CONSTRAINT "fk_rails_c217102f50"
484
- FOREIGN KEY ("promotion_id")
485
- REFERENCES "spree_promotions" ("id")
486
- )
487
-  (0.1ms) CREATE INDEX "index_spree_promotion_code_batches_on_promotion_id" ON "spree_promotion_code_batches" ("promotion_id")
488
-  (0.1ms) INSERT INTO "spree_promotion_code_batches" ("id","promotion_id","base_code","number_of_codes","email","error","state","created_at","updated_at")
489
- SELECT "id","promotion_id","base_code","number_of_codes","email","error","state","created_at","updated_at" FROM "aspree_promotion_code_batches"
490
-  (0.1ms) DROP TABLE "aspree_promotion_code_batches"
491
-  (0.0ms) PRAGMA defer_foreign_keys = 0
492
-  (0.0ms) PRAGMA foreign_keys = 1
493
-  (1.5ms) ALTER TABLE "spree_promotion_codes" ADD "promotion_code_batch_id" integer
494
-  (0.0ms) PRAGMA foreign_keys
495
-  (0.0ms) PRAGMA defer_foreign_keys
496
-  (0.0ms) PRAGMA defer_foreign_keys = ON
497
-  (0.0ms) PRAGMA foreign_keys = OFF
498
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_promotion_codes" ("id" integer NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "promotion_code_batch_id" integer DEFAULT NULL)
499
-  (0.1ms) CREATE UNIQUE INDEX "tindex_aspree_promotion_codes_on_value" ON "aspree_promotion_codes" ("value")
500
-  (0.1ms) CREATE INDEX "tindex_aspree_promotion_codes_on_promotion_id" ON "aspree_promotion_codes" ("promotion_id")
501
-  (0.0ms) INSERT INTO "aspree_promotion_codes" ("id","promotion_id","value","created_at","updated_at","promotion_code_batch_id")
502
- SELECT "id","promotion_id","value","created_at","updated_at","promotion_code_batch_id" FROM "spree_promotion_codes"
503
-  (0.2ms) DROP TABLE "spree_promotion_codes"
504
-  (0.2ms) CREATE TABLE "spree_promotion_codes" ("id" integer NOT NULL PRIMARY KEY, "promotion_id" integer NOT NULL, "value" varchar NOT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "promotion_code_batch_id" integer DEFAULT NULL, CONSTRAINT "fk_rails_e306e312d9"
505
- FOREIGN KEY ("promotion_code_batch_id")
506
- REFERENCES "spree_promotion_code_batches" ("id")
507
- )
508
-  (0.1ms) CREATE INDEX "index_spree_promotion_codes_on_promotion_id" ON "spree_promotion_codes" ("promotion_id")
509
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_promotion_codes_on_value" ON "spree_promotion_codes" ("value")
510
-  (0.0ms) INSERT INTO "spree_promotion_codes" ("id","promotion_id","value","created_at","updated_at","promotion_code_batch_id")
511
- SELECT "id","promotion_id","value","created_at","updated_at","promotion_code_batch_id" FROM "aspree_promotion_codes"
512
-  (0.2ms) DROP TABLE "aspree_promotion_codes"
513
-  (0.0ms) PRAGMA defer_foreign_keys = 0
514
-  (0.0ms) PRAGMA foreign_keys = 1
515
-  (0.1ms) CREATE INDEX "index_spree_promotion_codes_on_promotion_code_batch_id" ON "spree_promotion_codes" ("promotion_code_batch_id")
516
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213826"]]
517
- TRANSACTION (0.7ms) commit transaction
518
- Migrating to AddAvailableToUsersAndRemoveDisplayOnFromShippingMethods (20210218213827)
519
- TRANSACTION (0.0ms) begin transaction
520
-  (1.7ms) ALTER TABLE "spree_shipping_methods" ADD "available_to_users" boolean DEFAULT 1
521
-  (0.0ms) UPDATE spree_shipping_methods SET available_to_users=0 WHERE display_on='back_end'
522
-  (0.0ms) PRAGMA foreign_keys
523
-  (0.0ms) PRAGMA defer_foreign_keys
524
-  (0.0ms) PRAGMA defer_foreign_keys = ON
525
-  (0.1ms) PRAGMA foreign_keys = OFF
526
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_shipping_methods" ("id" integer NOT NULL PRIMARY KEY, "name" varchar DEFAULT NULL, "display_on" varchar DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "tracking_url" varchar DEFAULT NULL, "admin_name" varchar DEFAULT NULL, "tax_category_id" integer DEFAULT NULL, "code" varchar DEFAULT NULL, "available_to_all" boolean DEFAULT 1, "carrier" varchar DEFAULT NULL, "service_level" varchar DEFAULT NULL, "available_to_users" boolean DEFAULT 1)
527
-  (0.1ms) CREATE INDEX "tindex_aspree_shipping_methods_on_tax_category_id" ON "aspree_shipping_methods" ("tax_category_id")
528
-  (0.0ms) INSERT INTO "aspree_shipping_methods" ("id","name","display_on","deleted_at","created_at","updated_at","tracking_url","admin_name","tax_category_id","code","available_to_all","carrier","service_level","available_to_users")
529
- SELECT "id","name","display_on","deleted_at","created_at","updated_at","tracking_url","admin_name","tax_category_id","code","available_to_all","carrier","service_level","available_to_users" FROM "spree_shipping_methods"
530
-  (0.1ms) DROP TABLE "spree_shipping_methods"
531
-  (0.2ms) CREATE TABLE "spree_shipping_methods" ("id" integer NOT NULL PRIMARY KEY, "name" varchar DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "tracking_url" varchar DEFAULT NULL, "admin_name" varchar DEFAULT NULL, "tax_category_id" integer DEFAULT NULL, "code" varchar DEFAULT NULL, "available_to_all" boolean DEFAULT 1, "carrier" varchar DEFAULT NULL, "service_level" varchar DEFAULT NULL, "available_to_users" boolean DEFAULT 1)
532
-  (0.1ms) CREATE INDEX "index_spree_shipping_methods_on_tax_category_id" ON "spree_shipping_methods" ("tax_category_id")
533
-  (0.0ms) INSERT INTO "spree_shipping_methods" ("id","name","deleted_at","created_at","updated_at","tracking_url","admin_name","tax_category_id","code","available_to_all","carrier","service_level","available_to_users")
534
- SELECT "id","name","deleted_at","created_at","updated_at","tracking_url","admin_name","tax_category_id","code","available_to_all","carrier","service_level","available_to_users" FROM "aspree_shipping_methods"
535
-  (0.1ms) DROP TABLE "aspree_shipping_methods"
536
-  (0.0ms) PRAGMA defer_foreign_keys = 0
537
-  (0.0ms) PRAGMA foreign_keys = 1
538
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213827"]]
539
- TRANSACTION (0.8ms) commit transaction
540
- Migrating to AddIndexToSpreePaymentsNumber (20210218213828)
541
- TRANSACTION (0.0ms) begin transaction
542
-  (0.3ms) CREATE UNIQUE INDEX "index_spree_payments_on_number" ON "spree_payments" ("number")
543
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213828"]]
544
- TRANSACTION (0.6ms) commit transaction
545
- Migrating to RemoveSpreeStoreCreditsColumn (20210218213829)
546
- TRANSACTION (0.0ms) begin transaction
547
-  (0.0ms) PRAGMA foreign_keys
548
-  (0.0ms) PRAGMA defer_foreign_keys
549
-  (0.0ms) PRAGMA defer_foreign_keys = ON
550
-  (0.0ms) PRAGMA foreign_keys = OFF
551
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_store_credits" ("id" integer NOT NULL PRIMARY KEY, "user_id" integer DEFAULT NULL, "category_id" integer DEFAULT NULL, "created_by_id" integer DEFAULT NULL, "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" varchar DEFAULT NULL, "memo" text DEFAULT NULL, "spree_store_credits" datetime DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "type_id" integer DEFAULT NULL, "invalidated_at" datetime DEFAULT NULL)
552
-  (0.1ms) CREATE INDEX "tindex_aspree_store_credits_on_user_id" ON "aspree_store_credits" ("user_id")
553
-  (0.1ms) CREATE INDEX "tindex_aspree_store_credits_on_type_id" ON "aspree_store_credits" ("type_id")
554
-  (0.1ms) CREATE INDEX "tindex_aspree_store_credits_on_deleted_at" ON "aspree_store_credits" ("deleted_at")
555
-  (0.0ms) INSERT INTO "aspree_store_credits" ("id","user_id","category_id","created_by_id","amount","amount_used","amount_authorized","currency","memo","spree_store_credits","deleted_at","created_at","updated_at","type_id","invalidated_at")
556
- SELECT "id","user_id","category_id","created_by_id","amount","amount_used","amount_authorized","currency","memo","spree_store_credits","deleted_at","created_at","updated_at","type_id","invalidated_at" FROM "spree_store_credits"
557
-  (0.3ms) DROP TABLE "spree_store_credits"
558
-  (0.2ms) CREATE TABLE "spree_store_credits" ("id" integer NOT NULL PRIMARY KEY, "user_id" integer DEFAULT NULL, "category_id" integer DEFAULT NULL, "created_by_id" integer DEFAULT NULL, "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" varchar DEFAULT NULL, "memo" text DEFAULT NULL, "deleted_at" datetime DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "type_id" integer DEFAULT NULL, "invalidated_at" datetime DEFAULT NULL)
559
-  (0.1ms) CREATE INDEX "index_spree_store_credits_on_deleted_at" ON "spree_store_credits" ("deleted_at")
560
-  (0.1ms) CREATE INDEX "index_spree_store_credits_on_type_id" ON "spree_store_credits" ("type_id")
561
-  (0.2ms) CREATE INDEX "index_spree_store_credits_on_user_id" ON "spree_store_credits" ("user_id")
562
-  (0.0ms) INSERT INTO "spree_store_credits" ("id","user_id","category_id","created_by_id","amount","amount_used","amount_authorized","currency","memo","deleted_at","created_at","updated_at","type_id","invalidated_at")
563
- SELECT "id","user_id","category_id","created_by_id","amount","amount_used","amount_authorized","currency","memo","deleted_at","created_at","updated_at","type_id","invalidated_at" FROM "aspree_store_credits"
564
-  (0.1ms) DROP TABLE "aspree_store_credits"
565
-  (0.0ms) PRAGMA defer_foreign_keys = 0
566
-  (0.0ms) PRAGMA foreign_keys = 1
567
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213829"]]
568
- TRANSACTION (0.7ms) commit transaction
569
- Migrating to AddLftAndRgtIndexesToTaxons (20210218213830)
570
- TRANSACTION (0.0ms) begin transaction
571
-  (0.3ms) CREATE INDEX "index_spree_taxons_on_lft" ON "spree_taxons" ("lft")
572
-  (0.1ms) CREATE INDEX "index_spree_taxons_on_rgt" ON "spree_taxons" ("rgt")
573
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213830"]]
574
- TRANSACTION (0.6ms) commit transaction
575
- Migrating to RemoveOrderIdFromInventoryUnits (20210218213831)
576
- TRANSACTION (0.0ms) begin transaction
577
- RemoveOrderIdFromInventoryUnits::InventoryUnit Exists? (0.1ms) 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 ? [["LIMIT", 1]]
578
-  (0.0ms) PRAGMA foreign_keys
579
-  (0.0ms) PRAGMA defer_foreign_keys
580
-  (0.0ms) PRAGMA defer_foreign_keys = ON
581
-  (0.0ms) PRAGMA foreign_keys = OFF
582
-  (0.2ms) CREATE TEMPORARY TABLE "aspree_inventory_units" ("id" integer NOT NULL PRIMARY KEY, "state" varchar DEFAULT NULL, "variant_id" integer DEFAULT NULL, "order_id" integer DEFAULT NULL, "shipment_id" integer DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "pending" boolean DEFAULT 1, "line_item_id" integer DEFAULT NULL, "carton_id" integer DEFAULT NULL)
583
-  (0.1ms) CREATE INDEX "tindex_inventory_units_on_variant_id" ON "aspree_inventory_units" ("variant_id")
584
-  (0.1ms) CREATE INDEX "tindex_inventory_units_on_shipment_id" ON "aspree_inventory_units" ("shipment_id")
585
-  (0.1ms) CREATE INDEX "tindex_inventory_units_on_order_id" ON "aspree_inventory_units" ("order_id")
586
-  (0.1ms) CREATE INDEX "tindex_aspree_inventory_units_on_line_item_id" ON "aspree_inventory_units" ("line_item_id")
587
-  (0.1ms) CREATE INDEX "tindex_aspree_inventory_units_on_carton_id" ON "aspree_inventory_units" ("carton_id")
588
-  (0.0ms) INSERT INTO "aspree_inventory_units" ("id","state","variant_id","order_id","shipment_id","created_at","updated_at","pending","line_item_id","carton_id")
589
- SELECT "id","state","variant_id","order_id","shipment_id","created_at","updated_at","pending","line_item_id","carton_id" FROM "spree_inventory_units"
590
-  (0.6ms) DROP TABLE "spree_inventory_units"
591
-  (0.1ms) CREATE TABLE "spree_inventory_units" ("id" integer NOT NULL PRIMARY KEY, "state" varchar DEFAULT NULL, "variant_id" integer DEFAULT NULL, "shipment_id" integer DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "pending" boolean DEFAULT 1, "line_item_id" integer DEFAULT NULL, "carton_id" integer DEFAULT NULL)
592
-  (0.1ms) CREATE INDEX "index_spree_inventory_units_on_carton_id" ON "spree_inventory_units" ("carton_id")
593
-  (0.1ms) CREATE INDEX "index_spree_inventory_units_on_line_item_id" ON "spree_inventory_units" ("line_item_id")
594
-  (0.1ms) CREATE INDEX "index_inventory_units_on_shipment_id" ON "spree_inventory_units" ("shipment_id")
595
-  (0.1ms) CREATE INDEX "index_inventory_units_on_variant_id" ON "spree_inventory_units" ("variant_id")
596
-  (0.1ms) INSERT INTO "spree_inventory_units" ("id","state","variant_id","shipment_id","created_at","updated_at","pending","line_item_id","carton_id")
597
- SELECT "id","state","variant_id","shipment_id","created_at","updated_at","pending","line_item_id","carton_id" FROM "aspree_inventory_units"
598
-  (0.1ms) DROP TABLE "aspree_inventory_units"
599
-  (0.0ms) PRAGMA defer_foreign_keys = 0
600
-  (0.0ms) PRAGMA foreign_keys = 1
601
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213831"]]
602
- TRANSACTION (1.0ms) commit transaction
603
- Migrating to TransformTaxRateCategoryRelation (20210218213832)
604
- TRANSACTION (0.0ms) begin transaction
605
-  (0.3ms) CREATE TABLE "spree_tax_rate_tax_categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL)
606
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_category_id" ON "spree_tax_rate_tax_categories" ("tax_category_id")
607
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_rate_id" ON "spree_tax_rate_tax_categories" ("tax_rate_id")
608
-  (0.0ms) PRAGMA foreign_keys
609
-  (0.0ms) PRAGMA defer_foreign_keys
610
-  (0.0ms) PRAGMA defer_foreign_keys = ON
611
-  (0.0ms) PRAGMA foreign_keys = OFF
612
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_tax_rate_tax_categories" ("id" integer NOT NULL PRIMARY KEY, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL)
613
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rate_tax_categories_on_tax_rate_id" ON "aspree_tax_rate_tax_categories" ("tax_rate_id")
614
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rate_tax_categories_on_tax_category_id" ON "aspree_tax_rate_tax_categories" ("tax_category_id")
615
-  (0.0ms) INSERT INTO "aspree_tax_rate_tax_categories" ("id","tax_category_id","tax_rate_id")
616
- SELECT "id","tax_category_id","tax_rate_id" FROM "spree_tax_rate_tax_categories"
617
-  (0.1ms) DROP TABLE "spree_tax_rate_tax_categories"
618
-  (0.1ms) CREATE TABLE "spree_tax_rate_tax_categories" ("id" integer NOT NULL PRIMARY KEY, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL, CONSTRAINT "fk_rails_499313ce8e"
619
- FOREIGN KEY ("tax_category_id")
620
- REFERENCES "spree_tax_categories" ("id")
621
- )
622
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_category_id" ON "spree_tax_rate_tax_categories" ("tax_category_id")
623
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_rate_id" ON "spree_tax_rate_tax_categories" ("tax_rate_id")
624
-  (0.0ms) INSERT INTO "spree_tax_rate_tax_categories" ("id","tax_category_id","tax_rate_id")
625
- SELECT "id","tax_category_id","tax_rate_id" FROM "aspree_tax_rate_tax_categories"
626
-  (0.1ms) DROP TABLE "aspree_tax_rate_tax_categories"
627
-  (0.0ms) PRAGMA defer_foreign_keys = 0
628
-  (0.0ms) PRAGMA foreign_keys = 1
629
-  (0.0ms) PRAGMA foreign_keys
630
-  (0.0ms) PRAGMA defer_foreign_keys
631
-  (0.0ms) PRAGMA defer_foreign_keys = ON
632
-  (0.0ms) PRAGMA foreign_keys = OFF
633
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_tax_rate_tax_categories" ("id" integer NOT NULL PRIMARY KEY, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL)
634
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rate_tax_categories_on_tax_rate_id" ON "aspree_tax_rate_tax_categories" ("tax_rate_id")
635
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rate_tax_categories_on_tax_category_id" ON "aspree_tax_rate_tax_categories" ("tax_category_id")
636
-  (0.0ms) INSERT INTO "aspree_tax_rate_tax_categories" ("id","tax_category_id","tax_rate_id")
637
- SELECT "id","tax_category_id","tax_rate_id" FROM "spree_tax_rate_tax_categories"
638
-  (0.1ms) DROP TABLE "spree_tax_rate_tax_categories"
639
-  (0.1ms) CREATE TABLE "spree_tax_rate_tax_categories" ("id" integer NOT NULL PRIMARY KEY, "tax_category_id" integer NOT NULL, "tax_rate_id" integer NOT NULL, CONSTRAINT "fk_rails_499313ce8e"
640
- FOREIGN KEY ("tax_category_id")
641
- REFERENCES "spree_tax_categories" ("id")
642
- , CONSTRAINT "fk_rails_3e6fe87e12"
643
- FOREIGN KEY ("tax_rate_id")
644
- REFERENCES "spree_tax_rates" ("id")
645
- )
646
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_category_id" ON "spree_tax_rate_tax_categories" ("tax_category_id")
647
-  (0.1ms) CREATE INDEX "index_spree_tax_rate_tax_categories_on_tax_rate_id" ON "spree_tax_rate_tax_categories" ("tax_rate_id")
648
-  (0.0ms) INSERT INTO "spree_tax_rate_tax_categories" ("id","tax_category_id","tax_rate_id")
649
- SELECT "id","tax_category_id","tax_rate_id" FROM "aspree_tax_rate_tax_categories"
650
-  (0.1ms) DROP TABLE "aspree_tax_rate_tax_categories"
651
-  (0.0ms) PRAGMA defer_foreign_keys = 0
652
-  (0.0ms) PRAGMA foreign_keys = 1
653
- TransformTaxRateCategoryRelation::TaxRate Load (0.1ms) 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 ? [["LIMIT", 1000]]
654
-  (0.0ms) PRAGMA foreign_keys
655
-  (0.0ms) PRAGMA defer_foreign_keys
656
-  (0.0ms) PRAGMA defer_foreign_keys = ON
657
-  (0.0ms) PRAGMA foreign_keys = OFF
658
-  (0.2ms) CREATE TEMPORARY TABLE "aspree_tax_rates" ("id" integer NOT NULL PRIMARY KEY, "amount" decimal(8,5) DEFAULT NULL, "zone_id" integer DEFAULT NULL, "tax_category_id" integer DEFAULT NULL, "included_in_price" boolean DEFAULT 0, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "name" varchar DEFAULT NULL, "show_rate_in_label" boolean DEFAULT 1, "deleted_at" datetime DEFAULT NULL)
659
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rates_on_zone_id" ON "aspree_tax_rates" ("zone_id")
660
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rates_on_tax_category_id" ON "aspree_tax_rates" ("tax_category_id")
661
-  (0.1ms) CREATE INDEX "tindex_aspree_tax_rates_on_deleted_at" ON "aspree_tax_rates" ("deleted_at")
662
-  (0.1ms) INSERT INTO "aspree_tax_rates" ("id","amount","zone_id","tax_category_id","included_in_price","created_at","updated_at","name","show_rate_in_label","deleted_at")
663
- SELECT "id","amount","zone_id","tax_category_id","included_in_price","created_at","updated_at","name","show_rate_in_label","deleted_at" FROM "spree_tax_rates"
664
-  (0.2ms) DROP TABLE "spree_tax_rates"
665
-  (0.1ms) CREATE TABLE "spree_tax_rates" ("id" integer NOT NULL PRIMARY KEY, "amount" decimal(8,5) DEFAULT NULL, "zone_id" integer DEFAULT NULL, "included_in_price" boolean DEFAULT 0, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "name" varchar DEFAULT NULL, "show_rate_in_label" boolean DEFAULT 1, "deleted_at" datetime DEFAULT NULL)
666
-  (0.1ms) CREATE INDEX "index_spree_tax_rates_on_deleted_at" ON "spree_tax_rates" ("deleted_at")
667
-  (0.1ms) CREATE INDEX "index_spree_tax_rates_on_zone_id" ON "spree_tax_rates" ("zone_id")
668
-  (0.1ms) INSERT INTO "spree_tax_rates" ("id","amount","zone_id","included_in_price","created_at","updated_at","name","show_rate_in_label","deleted_at")
669
- SELECT "id","amount","zone_id","included_in_price","created_at","updated_at","name","show_rate_in_label","deleted_at" FROM "aspree_tax_rates"
670
-  (0.1ms) DROP TABLE "aspree_tax_rates"
671
-  (0.0ms) PRAGMA defer_foreign_keys = 0
672
-  (0.0ms) PRAGMA foreign_keys = 1
673
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213832"]]
674
- TRANSACTION (1.0ms) commit transaction
675
- Migrating to AddRolesUniqueConstraints (20210218213833)
676
- TRANSACTION (0.0ms) begin transaction
677
-  (0.3ms) CREATE UNIQUE INDEX "index_spree_roles_on_name" ON "spree_roles" ("name")
678
-  (0.1ms) CREATE UNIQUE INDEX "index_spree_roles_users_on_user_id_and_role_id" ON "spree_roles_users" ("user_id", "role_id")
679
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213833"]]
680
- TRANSACTION (0.6ms) commit transaction
681
- Migrating to AddTimeRangeToTaxRate (20210218213834)
682
- TRANSACTION (0.0ms) begin transaction
683
-  (1.9ms) ALTER TABLE "spree_tax_rates" ADD "starts_at" datetime
684
-  (1.7ms) ALTER TABLE "spree_tax_rates" ADD "expires_at" datetime
685
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213834"]]
686
- TRANSACTION (0.7ms) commit transaction
687
- Migrating to RenameBogusGateways (20210218213835)
688
- TRANSACTION (0.0ms) begin transaction
689
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213835"]]
690
- TRANSACTION (0.7ms) commit transaction
691
- Migrating to RemoveDefaultTaxFromSpreeZones (20210218213836)
692
- TRANSACTION (0.0ms) begin transaction
693
-  (0.0ms) PRAGMA foreign_keys
694
-  (0.0ms) PRAGMA defer_foreign_keys
695
-  (0.0ms) PRAGMA defer_foreign_keys = ON
696
-  (0.0ms) PRAGMA foreign_keys = OFF
697
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_zones" ("id" integer NOT NULL PRIMARY KEY, "name" varchar DEFAULT NULL, "description" varchar DEFAULT NULL, "default_tax" boolean DEFAULT 0, "zone_members_count" integer DEFAULT 0, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL)
698
-  (0.0ms) INSERT INTO "aspree_zones" ("id","name","description","default_tax","zone_members_count","created_at","updated_at")
699
- SELECT "id","name","description","default_tax","zone_members_count","created_at","updated_at" FROM "spree_zones"
700
-  (0.2ms) DROP TABLE "spree_zones"
701
-  (0.2ms) CREATE TABLE "spree_zones" ("id" integer NOT NULL PRIMARY KEY, "name" varchar DEFAULT NULL, "description" varchar DEFAULT NULL, "zone_members_count" integer DEFAULT 0, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL)
702
-  (0.0ms) INSERT INTO "spree_zones" ("id","name","description","zone_members_count","created_at","updated_at")
703
- SELECT "id","name","description","zone_members_count","created_at","updated_at" FROM "aspree_zones"
704
-  (0.1ms) DROP TABLE "aspree_zones"
705
-  (0.0ms) PRAGMA defer_foreign_keys = 0
706
-  (0.0ms) PRAGMA foreign_keys = 1
707
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213836"]]
708
- TRANSACTION (0.6ms) commit transaction
709
- Migrating to CreatePromotionRuleStores (20210218213837)
710
- TRANSACTION (0.0ms) begin transaction
711
-  (0.3ms) CREATE TABLE "spree_promotion_rules_stores" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "store_id" integer NOT NULL, "promotion_rule_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
712
-  (0.1ms) CREATE INDEX "index_spree_promotion_rules_stores_on_store_id" ON "spree_promotion_rules_stores" ("store_id")
713
-  (0.1ms) CREATE INDEX "index_spree_promotion_rules_stores_on_promotion_rule_id" ON "spree_promotion_rules_stores" ("promotion_rule_id")
714
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213837"]]
715
- TRANSACTION (0.6ms) commit transaction
716
- Migrating to CreateStoreShippingMethods (20210218213838)
717
- TRANSACTION (0.0ms) begin transaction
718
-  (0.3ms) CREATE TABLE "spree_store_shipping_methods" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "store_id" integer NOT NULL, "shipping_method_id" integer NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)
719
-  (0.1ms) CREATE INDEX "index_spree_store_shipping_methods_on_store_id" ON "spree_store_shipping_methods" ("store_id")
720
-  (0.3ms) CREATE INDEX "index_spree_store_shipping_methods_on_shipping_method_id" ON "spree_store_shipping_methods" ("shipping_method_id")
721
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213838"]]
722
- TRANSACTION (0.7ms) commit transaction
723
- Migrating to AddAvailableLocalesToStores (20210218213839)
724
- TRANSACTION (0.0ms) begin transaction
725
-  (1.8ms) ALTER TABLE "spree_stores" ADD "available_locales" varchar
726
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213839"]]
727
- TRANSACTION (0.6ms) commit transaction
728
- Migrating to AddAmountRemainingToStoreCreditEvents (20210218213840)
729
- TRANSACTION (0.0ms) begin transaction
730
-  (1.8ms) ALTER TABLE "spree_store_credit_events" ADD "amount_remaining" decimal(8,2) DEFAULT NULL
731
- AddAmountRemainingToStoreCreditEvents::StoreCredit Load (0.1ms) SELECT "spree_store_credits".* FROM "spree_store_credits" ORDER BY "spree_store_credits"."id" ASC LIMIT ? [["LIMIT", 1000]]
732
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213840"]]
733
- TRANSACTION (0.8ms) commit transaction
734
- Migrating to AddJoinCharactersToPromotionCodeBatch (20210218213841)
735
- TRANSACTION (0.0ms) begin transaction
736
-  (1.7ms) ALTER TABLE "spree_promotion_code_batches" ADD "join_characters" varchar DEFAULT '_' NOT NULL
737
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213841"]]
738
- TRANSACTION (0.5ms) commit transaction
739
- Migrating to AddApplyToAllToVariantPropertyRule (20210218213842)
740
- TRANSACTION (0.0ms) begin transaction
741
-  (1.8ms) ALTER TABLE "spree_variant_property_rules" ADD "apply_to_all" boolean DEFAULT 0 NOT NULL
742
-  (0.0ms) PRAGMA foreign_keys
743
-  (0.0ms) PRAGMA defer_foreign_keys
744
-  (0.0ms) PRAGMA defer_foreign_keys = ON
745
-  (0.0ms) PRAGMA foreign_keys = OFF
746
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_variant_property_rules" ("id" integer NOT NULL PRIMARY KEY, "product_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "apply_to_all" boolean DEFAULT 0 NOT NULL)
747
-  (0.1ms) CREATE INDEX "tindex_aspree_variant_property_rules_on_product_id" ON "aspree_variant_property_rules" ("product_id")
748
-  (0.1ms) INSERT INTO "aspree_variant_property_rules" ("id","product_id","created_at","updated_at","apply_to_all")
749
- SELECT "id","product_id","created_at","updated_at","apply_to_all" FROM "spree_variant_property_rules"
750
-  (0.1ms) DROP TABLE "spree_variant_property_rules"
751
-  (0.2ms) CREATE TABLE "spree_variant_property_rules" ("id" integer NOT NULL PRIMARY KEY, "product_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "apply_to_all" boolean DEFAULT 1 NOT NULL)
752
-  (0.1ms) CREATE INDEX "index_spree_variant_property_rules_on_product_id" ON "spree_variant_property_rules" ("product_id")
753
-  (0.0ms) INSERT INTO "spree_variant_property_rules" ("id","product_id","created_at","updated_at","apply_to_all")
754
- SELECT "id","product_id","created_at","updated_at","apply_to_all" FROM "aspree_variant_property_rules"
755
-  (0.1ms) DROP TABLE "aspree_variant_property_rules"
756
-  (0.0ms) PRAGMA defer_foreign_keys = 0
757
-  (0.0ms) PRAGMA foreign_keys = 1
758
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213842"]]
759
- TRANSACTION (0.6ms) commit transaction
760
- Migrating to CreateSpreeStoreCreditReasonsTable (20210218213843)
761
- TRANSACTION (0.0ms) begin transaction
762
-  (0.3ms) CREATE TABLE "spree_store_credit_reasons" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 1, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
763
- CreateSpreeStoreCreditReasonsTable::StoreCreditUpdateReason Load (0.1ms) SELECT "spree_store_credit_update_reasons".* FROM "spree_store_credit_update_reasons"
764
-  (1.7ms) ALTER TABLE "spree_store_credit_events" ADD "store_credit_reason_id" integer
765
-  (0.0ms) update spree_store_credit_events set store_credit_reason_id = update_reason_id
766
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213843"]]
767
- TRANSACTION (0.5ms) commit transaction
768
- Migrating to RemoveCodeFromSpreePromotions (20210218213844)
769
- TRANSACTION (0.0ms) begin transaction
770
- RemoveCodeFromSpreePromotions::Promotion Exists? (0.1ms) SELECT 1 AS one FROM "spree_promotions" WHERE NOT (("spree_promotions"."code" = ? OR "spree_promotions"."code" IS NULL)) LIMIT ? [["code", ""], ["LIMIT", 1]]
771
-  (0.2ms) DROP INDEX "index_spree_promotions_on_code"
772
-  (0.0ms) PRAGMA foreign_keys
773
-  (0.0ms) PRAGMA defer_foreign_keys
774
-  (0.0ms) PRAGMA defer_foreign_keys = ON
775
-  (0.1ms) PRAGMA foreign_keys = OFF
776
-  (0.1ms) CREATE TEMPORARY TABLE "aspree_promotions" ("id" integer NOT NULL PRIMARY KEY, "description" varchar DEFAULT NULL, "expires_at" datetime DEFAULT NULL, "starts_at" datetime DEFAULT NULL, "name" varchar DEFAULT NULL, "type" varchar DEFAULT NULL, "usage_limit" integer DEFAULT NULL, "match_policy" varchar DEFAULT 'all', "code" varchar DEFAULT NULL, "advertise" boolean DEFAULT 0, "path" varchar DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "promotion_category_id" integer DEFAULT NULL, "per_code_usage_limit" integer DEFAULT NULL, "apply_automatically" boolean DEFAULT 0)
777
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_starts_at" ON "aspree_promotions" ("starts_at")
778
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_promotion_category_id" ON "aspree_promotions" ("promotion_category_id")
779
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_id_and_type" ON "aspree_promotions" ("id", "type")
780
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_expires_at" ON "aspree_promotions" ("expires_at")
781
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_apply_automatically" ON "aspree_promotions" ("apply_automatically")
782
-  (0.1ms) CREATE INDEX "tindex_aspree_promotions_on_advertise" ON "aspree_promotions" ("advertise")
783
-  (0.1ms) INSERT INTO "aspree_promotions" ("id","description","expires_at","starts_at","name","type","usage_limit","match_policy","code","advertise","path","created_at","updated_at","promotion_category_id","per_code_usage_limit","apply_automatically")
784
- SELECT "id","description","expires_at","starts_at","name","type","usage_limit","match_policy","code","advertise","path","created_at","updated_at","promotion_category_id","per_code_usage_limit","apply_automatically" FROM "spree_promotions"
785
-  (0.4ms) DROP TABLE "spree_promotions"
786
-  (0.2ms) CREATE TABLE "spree_promotions" ("id" integer NOT NULL PRIMARY KEY, "description" varchar DEFAULT NULL, "expires_at" datetime DEFAULT NULL, "starts_at" datetime DEFAULT NULL, "name" varchar DEFAULT NULL, "type" varchar DEFAULT NULL, "usage_limit" integer DEFAULT NULL, "match_policy" varchar DEFAULT 'all', "advertise" boolean DEFAULT 0, "path" varchar DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "promotion_category_id" integer DEFAULT NULL, "per_code_usage_limit" integer DEFAULT NULL, "apply_automatically" boolean DEFAULT 0)
787
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_advertise" ON "spree_promotions" ("advertise")
788
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_apply_automatically" ON "spree_promotions" ("apply_automatically")
789
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_expires_at" ON "spree_promotions" ("expires_at")
790
-  (0.2ms) CREATE INDEX "index_spree_promotions_on_id_and_type" ON "spree_promotions" ("id", "type")
791
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_promotion_category_id" ON "spree_promotions" ("promotion_category_id")
792
-  (0.1ms) CREATE INDEX "index_spree_promotions_on_starts_at" ON "spree_promotions" ("starts_at")
793
-  (0.1ms) INSERT INTO "spree_promotions" ("id","description","expires_at","starts_at","name","type","usage_limit","match_policy","advertise","path","created_at","updated_at","promotion_category_id","per_code_usage_limit","apply_automatically")
794
- SELECT "id","description","expires_at","starts_at","name","type","usage_limit","match_policy","advertise","path","created_at","updated_at","promotion_category_id","per_code_usage_limit","apply_automatically" FROM "aspree_promotions"
795
-  (0.1ms) DROP TABLE "aspree_promotions"
796
-  (0.0ms) PRAGMA defer_foreign_keys = 0
797
-  (0.0ms) PRAGMA foreign_keys = 1
798
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213844"]]
799
- TRANSACTION (0.9ms) commit transaction
800
- Migrating to DropSpreeStoreCreditUpdateReasons (20210218213845)
801
- TRANSACTION (0.0ms) begin transaction
802
-  (0.3ms) DROP TABLE "spree_store_credit_update_reasons"
803
-  (0.0ms) PRAGMA foreign_keys
804
-  (0.0ms) PRAGMA defer_foreign_keys
805
-  (0.0ms) PRAGMA defer_foreign_keys = ON
806
-  (0.0ms) PRAGMA foreign_keys = OFF
807
-  (0.2ms) CREATE TEMPORARY TABLE "aspree_store_credit_events" ("id" integer NOT NULL PRIMARY KEY, "store_credit_id" integer NOT NULL, "action" varchar NOT NULL, "amount" decimal(8,2) DEFAULT NULL, "user_total_amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "authorization_code" varchar NOT NULL, "deleted_at" datetime DEFAULT NULL, "originator_type" varchar DEFAULT NULL, "originator_id" integer DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "update_reason_id" integer DEFAULT NULL, "amount_remaining" decimal(8,2) DEFAULT NULL, "store_credit_reason_id" integer DEFAULT NULL)
808
-  (0.1ms) CREATE INDEX "tindex_aspree_store_credit_events_on_store_credit_id" ON "aspree_store_credit_events" ("store_credit_id")
809
-  (0.1ms) CREATE INDEX "tindex_aspree_store_credit_events_on_deleted_at" ON "aspree_store_credit_events" ("deleted_at")
810
-  (0.1ms) INSERT INTO "aspree_store_credit_events" ("id","store_credit_id","action","amount","user_total_amount","authorization_code","deleted_at","originator_type","originator_id","created_at","updated_at","update_reason_id","amount_remaining","store_credit_reason_id")
811
- SELECT "id","store_credit_id","action","amount","user_total_amount","authorization_code","deleted_at","originator_type","originator_id","created_at","updated_at","update_reason_id","amount_remaining","store_credit_reason_id" FROM "spree_store_credit_events"
812
-  (0.2ms) DROP TABLE "spree_store_credit_events"
813
-  (0.2ms) CREATE TABLE "spree_store_credit_events" ("id" integer NOT NULL PRIMARY KEY, "store_credit_id" integer NOT NULL, "action" varchar NOT NULL, "amount" decimal(8,2) DEFAULT NULL, "user_total_amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "authorization_code" varchar NOT NULL, "deleted_at" datetime DEFAULT NULL, "originator_type" varchar DEFAULT NULL, "originator_id" integer DEFAULT NULL, "created_at" datetime(6) DEFAULT NULL, "updated_at" datetime(6) DEFAULT NULL, "amount_remaining" decimal(8,2) DEFAULT NULL, "store_credit_reason_id" integer DEFAULT NULL)
814
-  (0.1ms) CREATE INDEX "index_spree_store_credit_events_on_deleted_at" ON "spree_store_credit_events" ("deleted_at")
815
-  (0.1ms) CREATE INDEX "index_spree_store_credit_events_on_store_credit_id" ON "spree_store_credit_events" ("store_credit_id")
816
-  (0.1ms) INSERT INTO "spree_store_credit_events" ("id","store_credit_id","action","amount","user_total_amount","authorization_code","deleted_at","originator_type","originator_id","created_at","updated_at","amount_remaining","store_credit_reason_id")
817
- SELECT "id","store_credit_id","action","amount","user_total_amount","authorization_code","deleted_at","originator_type","originator_id","created_at","updated_at","amount_remaining","store_credit_reason_id" FROM "aspree_store_credit_events"
818
-  (0.1ms) DROP TABLE "aspree_store_credit_events"
819
-  (0.0ms) PRAGMA defer_foreign_keys = 0
820
-  (0.0ms) PRAGMA foreign_keys = 1
821
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213845"]]
822
- TRANSACTION (0.7ms) commit transaction
823
- Migrating to AddDefaultBillngFlagToUserAddresses (20210218213846)
824
- TRANSACTION (0.0ms) begin transaction
825
-  (2.1ms) ALTER TABLE "spree_user_addresses" ADD "default_billing" boolean DEFAULT 0
826
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213846"]]
827
- TRANSACTION (0.6ms) commit transaction
828
- Migrating to AddBccEmailToSpreeStores (20210218213847)
829
- TRANSACTION (0.0ms) begin transaction
830
-  (2.0ms) ALTER TABLE "spree_stores" ADD "bcc_email" varchar
831
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213847"]]
832
- TRANSACTION (0.6ms) commit transaction
833
- Migrating to AddDiscontinueOnToSpreeProducts (20210218213848)
834
- TRANSACTION (0.0ms) begin transaction
835
-  (2.0ms) ALTER TABLE "spree_products" ADD "discontinue_on" datetime
836
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213848"]]
837
- TRANSACTION (0.5ms) commit transaction
838
- Migrating to AddNameToSpreeAddresses (20210218213849)
839
- TRANSACTION (0.0ms) begin transaction
840
-  (1.9ms) ALTER TABLE "spree_addresses" ADD "name" varchar
841
-  (0.2ms) CREATE INDEX "index_spree_addresses_on_name" ON "spree_addresses" ("name")
842
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213849"]]
843
- TRANSACTION (0.6ms) commit transaction
844
- Migrating to AddApiKeyToSpreeUsers (20210218213850)
845
- TRANSACTION (0.0ms) begin transaction
846
-  (1.8ms) ALTER TABLE "spree_users" ADD "api_key" varchar(40)
847
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213850"]]
848
- TRANSACTION (0.7ms) commit transaction
849
- Migrating to ResizeApiKeyField (20210218213851)
850
- TRANSACTION (0.0ms) begin transaction
851
-  (0.0ms) PRAGMA foreign_keys
852
-  (0.0ms) PRAGMA defer_foreign_keys
853
-  (0.0ms) PRAGMA defer_foreign_keys = ON
854
-  (0.0ms) PRAGMA foreign_keys = OFF
855
-  (0.2ms) CREATE TEMPORARY TABLE "aspree_users" ("id" integer NOT NULL PRIMARY KEY, "crypted_password" varchar(128) DEFAULT NULL, "salt" varchar(128) DEFAULT NULL, "email" varchar DEFAULT NULL, "remember_token" varchar DEFAULT NULL, "remember_token_expires_at" varchar DEFAULT NULL, "persistence_token" varchar DEFAULT NULL, "single_access_token" varchar DEFAULT NULL, "perishable_token" varchar DEFAULT NULL, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime DEFAULT NULL, "current_login_at" datetime DEFAULT NULL, "last_login_at" datetime DEFAULT NULL, "current_login_ip" varchar DEFAULT NULL, "last_login_ip" varchar DEFAULT NULL, "login" varchar DEFAULT NULL, "ship_address_id" integer DEFAULT NULL, "bill_address_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "openid_identifier" varchar DEFAULT NULL, "api_key" varchar(40) DEFAULT NULL)
856
-  (0.1ms) INSERT INTO "aspree_users" ("id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","api_key")
857
- SELECT "id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","api_key" FROM "spree_users"
858
-  (0.3ms) DROP TABLE "spree_users"
859
-  (0.2ms) CREATE TABLE "spree_users" ("id" integer NOT NULL PRIMARY KEY, "crypted_password" varchar(128) DEFAULT NULL, "salt" varchar(128) DEFAULT NULL, "email" varchar DEFAULT NULL, "remember_token" varchar DEFAULT NULL, "remember_token_expires_at" varchar DEFAULT NULL, "persistence_token" varchar DEFAULT NULL, "single_access_token" varchar DEFAULT NULL, "perishable_token" varchar DEFAULT NULL, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime DEFAULT NULL, "current_login_at" datetime DEFAULT NULL, "last_login_at" datetime DEFAULT NULL, "current_login_ip" varchar DEFAULT NULL, "last_login_ip" varchar DEFAULT NULL, "login" varchar DEFAULT NULL, "ship_address_id" integer DEFAULT NULL, "bill_address_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "openid_identifier" varchar DEFAULT NULL, "api_key" varchar(48) DEFAULT NULL)
860
-  (0.1ms) INSERT INTO "spree_users" ("id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","api_key")
861
- SELECT "id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","api_key" FROM "aspree_users"
862
-  (0.1ms) DROP TABLE "aspree_users"
863
-  (0.0ms) PRAGMA defer_foreign_keys = 0
864
-  (0.0ms) PRAGMA foreign_keys = 1
865
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213851"]]
866
- TRANSACTION (0.6ms) commit transaction
867
- Migrating to RenameApiKeyToSpreeApiKey (20210218213852)
868
- TRANSACTION (0.0ms) begin transaction
869
-  (0.0ms) PRAGMA foreign_keys
870
-  (0.0ms) PRAGMA defer_foreign_keys
871
-  (0.0ms) PRAGMA defer_foreign_keys = ON
872
-  (0.0ms) PRAGMA foreign_keys = OFF
873
-  (0.2ms) CREATE TEMPORARY TABLE "aspree_users" ("id" integer NOT NULL PRIMARY KEY, "crypted_password" varchar(128) DEFAULT NULL, "salt" varchar(128) DEFAULT NULL, "email" varchar DEFAULT NULL, "remember_token" varchar DEFAULT NULL, "remember_token_expires_at" varchar DEFAULT NULL, "persistence_token" varchar DEFAULT NULL, "single_access_token" varchar DEFAULT NULL, "perishable_token" varchar DEFAULT NULL, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime DEFAULT NULL, "current_login_at" datetime DEFAULT NULL, "last_login_at" datetime DEFAULT NULL, "current_login_ip" varchar DEFAULT NULL, "last_login_ip" varchar DEFAULT NULL, "login" varchar DEFAULT NULL, "ship_address_id" integer DEFAULT NULL, "bill_address_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "openid_identifier" varchar DEFAULT NULL, "spree_api_key" varchar(48) DEFAULT NULL)
874
-  (0.1ms) INSERT INTO "aspree_users" ("id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","spree_api_key")
875
- SELECT "id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","api_key" FROM "spree_users"
876
-  (0.3ms) DROP TABLE "spree_users"
877
-  (0.2ms) CREATE TABLE "spree_users" ("id" integer NOT NULL PRIMARY KEY, "crypted_password" varchar(128) DEFAULT NULL, "salt" varchar(128) DEFAULT NULL, "email" varchar DEFAULT NULL, "remember_token" varchar DEFAULT NULL, "remember_token_expires_at" varchar DEFAULT NULL, "persistence_token" varchar DEFAULT NULL, "single_access_token" varchar DEFAULT NULL, "perishable_token" varchar DEFAULT NULL, "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime DEFAULT NULL, "current_login_at" datetime DEFAULT NULL, "last_login_at" datetime DEFAULT NULL, "current_login_ip" varchar DEFAULT NULL, "last_login_ip" varchar DEFAULT NULL, "login" varchar DEFAULT NULL, "ship_address_id" integer DEFAULT NULL, "bill_address_id" integer DEFAULT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "openid_identifier" varchar DEFAULT NULL, "spree_api_key" varchar(48) DEFAULT NULL)
878
-  (0.1ms) INSERT INTO "spree_users" ("id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","spree_api_key")
879
- SELECT "id","crypted_password","salt","email","remember_token","remember_token_expires_at","persistence_token","single_access_token","perishable_token","login_count","failed_login_count","last_request_at","current_login_at","last_login_at","current_login_ip","last_login_ip","login","ship_address_id","bill_address_id","created_at","updated_at","openid_identifier","spree_api_key" FROM "aspree_users"
880
-  (0.1ms) DROP TABLE "aspree_users"
881
-  (0.0ms) PRAGMA defer_foreign_keys = 0
882
-  (0.0ms) PRAGMA foreign_keys = 1
883
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213852"]]
884
- TRANSACTION (0.8ms) commit transaction
885
- Migrating to AddIndexToUserSpreeApiKey (20210218213853)
886
- TRANSACTION (0.0ms) begin transaction
887
-  (0.3ms) CREATE INDEX "index_spree_users_on_spree_api_key" ON "spree_users" ("spree_api_key")
888
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20210218213853"]]
889
- TRANSACTION (0.7ms) commit transaction
890
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
891
- TRANSACTION (0.0ms) begin transaction
892
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2021-02-18 21:38:29.620840"], ["updated_at", "2021-02-18 21:38:29.620840"]]
893
- TRANSACTION (0.6ms) commit transaction
894
-  (0.0ms) SELECT sqlite_version(*)
895
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
896
-  (1.4ms) SELECT sqlite_version(*)
897
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
898
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
899
-  (0.0ms) SELECT sqlite_version(*)
900
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
901
-  (2.1ms) SELECT sqlite_version(*)
902
-  (0.1ms) PRAGMA foreign_keys
903
-  (0.0ms) PRAGMA defer_foreign_keys
904
-  (0.0ms) PRAGMA defer_foreign_keys = ON
905
-  (0.0ms) PRAGMA foreign_keys = OFF
906
-  (1.0ms) DELETE FROM "active_storage_blobs";
907
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
908
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_storage_blobs';
909
-  (0.8ms) DELETE FROM "active_storage_attachments";
910
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
911
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_storage_attachments';
912
-  (0.8ms) DELETE FROM "active_storage_variant_records";
913
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
914
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_storage_variant_records';
915
-  (0.7ms) DELETE FROM "action_mailbox_inbound_emails";
916
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
917
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'action_mailbox_inbound_emails';
918
-  (0.7ms) DELETE FROM "action_text_rich_texts";
919
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
920
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'action_text_rich_texts';
921
-  (0.7ms) DELETE FROM "friendly_id_slugs";
922
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
923
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'friendly_id_slugs';
924
-  (0.8ms) DELETE FROM "spree_addresses";
925
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
926
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_addresses';
927
-  (0.6ms) DELETE FROM "spree_adjustment_reasons";
928
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
929
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_adjustment_reasons';
930
-  (0.8ms) DELETE FROM "spree_adjustments";
931
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
932
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_adjustments';
933
-  (0.7ms) DELETE FROM "spree_assets";
934
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
935
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_assets';
936
-  (0.6ms) DELETE FROM "spree_calculators";
937
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
938
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_calculators';
939
-  (0.7ms) DELETE FROM "spree_cartons";
940
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
941
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_cartons';
942
-  (0.7ms) DELETE FROM "spree_countries";
943
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
944
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_countries';
945
-  (0.7ms) DELETE FROM "spree_credit_cards";
946
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
947
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_credit_cards';
948
-  (0.6ms) DELETE FROM "spree_customer_returns";
949
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
950
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_customer_returns';
951
-  (0.6ms) DELETE FROM "spree_line_item_actions";
952
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
953
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_line_item_actions';
954
-  (0.6ms) DELETE FROM "spree_log_entries";
955
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
956
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_log_entries';
957
-  (0.6ms) DELETE FROM "spree_option_type_prototypes";
958
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
959
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_option_type_prototypes';
960
-  (0.8ms) DELETE FROM "spree_option_types";
961
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
962
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_option_types';
963
-  (0.7ms) DELETE FROM "spree_option_values";
964
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
965
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_option_values';
966
-  (0.7ms) DELETE FROM "spree_option_values_variants";
967
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
968
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_option_values_variants';
969
-  (0.6ms) DELETE FROM "spree_order_mutexes";
970
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
971
-  (12.8ms) DELETE FROM sqlite_sequence where name = 'spree_order_mutexes';
972
-  (1.1ms) DELETE FROM "spree_orders";
973
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
974
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_orders';
975
-  (0.8ms) DELETE FROM "spree_orders_promotions";
976
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
977
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_orders_promotions';
978
-  (0.9ms) DELETE FROM "spree_payment_capture_events";
979
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
980
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_payment_capture_events';
981
-  (0.9ms) DELETE FROM "spree_payments";
982
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
983
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_payments';
984
-  (0.8ms) DELETE FROM "spree_preferences";
985
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
986
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_preferences';
987
-  (0.7ms) DELETE FROM "spree_product_option_types";
988
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
989
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_product_option_types';
990
-  (0.7ms) DELETE FROM "spree_product_promotion_rules";
991
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
992
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_product_promotion_rules';
993
-  (0.8ms) DELETE FROM "spree_product_properties";
994
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
995
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_product_properties';
996
-  (0.8ms) DELETE FROM "spree_products";
997
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
998
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_products';
999
-  (0.8ms) DELETE FROM "spree_products_taxons";
1000
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1001
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_products_taxons';
1002
-  (0.8ms) DELETE FROM "spree_promotion_action_line_items";
1003
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1004
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_action_line_items';
1005
-  (0.8ms) DELETE FROM "spree_promotion_actions";
1006
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1007
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_actions';
1008
-  (0.6ms) DELETE FROM "spree_promotion_categories";
1009
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1010
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_categories';
1011
-  (0.8ms) DELETE FROM "spree_promotion_rule_taxons";
1012
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1013
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_rule_taxons';
1014
-  (0.8ms) DELETE FROM "spree_promotion_rules";
1015
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1016
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_rules';
1017
-  (0.7ms) DELETE FROM "spree_promotion_rules_users";
1018
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1019
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_rules_users';
1020
-  (0.7ms) DELETE FROM "spree_properties";
1021
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1022
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_properties';
1023
-  (0.7ms) DELETE FROM "spree_property_prototypes";
1024
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1025
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_property_prototypes';
1026
-  (0.7ms) DELETE FROM "spree_prototype_taxons";
1027
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1028
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_prototype_taxons';
1029
-  (0.7ms) DELETE FROM "spree_prototypes";
1030
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1031
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_prototypes';
1032
-  (0.7ms) DELETE FROM "spree_refund_reasons";
1033
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1034
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_refund_reasons';
1035
-  (0.7ms) DELETE FROM "spree_refunds";
1036
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1037
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_refunds';
1038
-  (0.7ms) DELETE FROM "spree_reimbursement_credits";
1039
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1040
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_reimbursement_credits';
1041
-  (0.7ms) DELETE FROM "spree_reimbursement_types";
1042
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1043
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_reimbursement_types';
1044
-  (0.7ms) DELETE FROM "spree_reimbursements";
1045
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1046
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_reimbursements';
1047
-  (0.6ms) DELETE FROM "spree_return_authorizations";
1048
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1049
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_return_authorizations';
1050
-  (0.7ms) DELETE FROM "spree_return_items";
1051
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1052
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_return_items';
1053
-  (0.7ms) DELETE FROM "spree_return_reasons";
1054
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1055
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_return_reasons';
1056
-  (0.6ms) DELETE FROM "spree_roles";
1057
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1058
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_roles';
1059
-  (0.6ms) DELETE FROM "spree_roles_users";
1060
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1061
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_roles_users';
1062
-  (0.6ms) DELETE FROM "spree_shipments";
1063
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1064
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipments';
1065
-  (0.6ms) DELETE FROM "spree_shipping_categories";
1066
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1067
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_categories';
1068
-  (0.6ms) DELETE FROM "spree_shipping_method_categories";
1069
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1070
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_method_categories';
1071
-  (0.6ms) DELETE FROM "spree_shipping_method_stock_locations";
1072
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1073
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_method_stock_locations';
1074
-  (0.5ms) DELETE FROM "spree_shipping_method_zones";
1075
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1076
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_method_zones';
1077
-  (0.5ms) DELETE FROM "spree_shipping_rate_taxes";
1078
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1079
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_rate_taxes';
1080
-  (0.6ms) DELETE FROM "spree_shipping_rates";
1081
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1082
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_rates';
1083
-  (0.6ms) DELETE FROM "spree_state_changes";
1084
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1085
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_state_changes';
1086
-  (0.7ms) DELETE FROM "spree_states";
1087
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1088
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_states';
1089
-  (0.7ms) DELETE FROM "spree_stock_items";
1090
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1091
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_stock_items';
1092
-  (0.7ms) DELETE FROM "spree_stock_locations";
1093
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1094
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_stock_locations';
1095
-  (0.6ms) DELETE FROM "spree_stock_movements";
1096
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1097
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_stock_movements';
1098
-  (0.5ms) DELETE FROM "spree_store_credit_categories";
1099
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1100
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_credit_categories';
1101
-  (0.6ms) DELETE FROM "spree_store_credit_types";
1102
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1103
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_credit_types';
1104
-  (0.5ms) DELETE FROM "spree_store_payment_methods";
1105
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1106
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_payment_methods';
1107
-  (0.5ms) DELETE FROM "spree_stores";
1108
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1109
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_stores';
1110
-  (0.5ms) DELETE FROM "spree_tax_categories";
1111
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1112
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_tax_categories';
1113
-  (0.5ms) DELETE FROM "spree_taxonomies";
1114
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1115
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_taxonomies';
1116
-  (0.7ms) DELETE FROM "spree_taxons";
1117
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1118
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_taxons';
1119
-  (0.6ms) DELETE FROM "spree_unit_cancels";
1120
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1121
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_unit_cancels';
1122
-  (0.6ms) DELETE FROM "spree_user_addresses";
1123
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1124
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_user_addresses';
1125
-  (0.5ms) DELETE FROM "spree_user_stock_locations";
1126
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1127
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_user_stock_locations';
1128
-  (0.5ms) DELETE FROM "spree_variant_property_rule_conditions";
1129
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1130
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_conditions';
1131
-  (0.5ms) DELETE FROM "spree_variant_property_rule_values";
1132
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1133
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_variant_property_rule_values';
1134
-  (0.7ms) DELETE FROM "spree_variants";
1135
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1136
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_variants';
1137
-  (0.6ms) DELETE FROM "spree_zone_members";
1138
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1139
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_zone_members';
1140
-  (0.5ms) DELETE FROM "spree_wallet_payment_sources";
1141
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1142
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_wallet_payment_sources';
1143
-  (0.6ms) DELETE FROM "spree_prices";
1144
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1145
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_prices';
1146
-  (0.5ms) DELETE FROM "spree_line_items";
1147
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1148
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_line_items';
1149
-  (0.5ms) DELETE FROM "spree_payment_methods";
1150
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1151
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_payment_methods';
1152
-  (0.6ms) DELETE FROM "spree_promotion_code_batches";
1153
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1154
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_code_batches';
1155
-  (0.5ms) DELETE FROM "spree_promotion_codes";
1156
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1157
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_codes';
1158
-  (0.5ms) DELETE FROM "spree_shipping_methods";
1159
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1160
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_shipping_methods';
1161
-  (0.6ms) DELETE FROM "spree_store_credits";
1162
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1163
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_credits';
1164
-  (0.6ms) DELETE FROM "spree_inventory_units";
1165
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1166
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_inventory_units';
1167
-  (0.5ms) DELETE FROM "spree_tax_rate_tax_categories";
1168
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1169
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_tax_rate_tax_categories';
1170
-  (0.5ms) DELETE FROM "spree_tax_rates";
1171
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1172
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_tax_rates';
1173
-  (0.5ms) DELETE FROM "spree_zones";
1174
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1175
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_zones';
1176
-  (0.5ms) DELETE FROM "spree_promotion_rules_stores";
1177
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1178
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotion_rules_stores';
1179
-  (0.6ms) DELETE FROM "spree_store_shipping_methods";
1180
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1181
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_shipping_methods';
1182
-  (0.6ms) DELETE FROM "spree_variant_property_rules";
1183
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1184
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_variant_property_rules';
1185
-  (0.6ms) DELETE FROM "spree_store_credit_reasons";
1186
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1187
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_credit_reasons';
1188
-  (0.7ms) DELETE FROM "spree_promotions";
1189
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1190
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_promotions';
1191
-  (0.5ms) DELETE FROM "spree_store_credit_events";
1192
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1193
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_store_credit_events';
1194
-  (0.5ms) DELETE FROM "spree_users";
1195
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1196
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'spree_users';
1197
-  (0.0ms) PRAGMA defer_foreign_keys = 0
1198
-  (0.0ms) PRAGMA foreign_keys = 1