spree_purchase_order 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20160111123141_create_spree_purchase_orders.rb +1 -1
- data/db/migrate/20161214190805_add_payment_method_id_to_spree_purchase_orders.rb +1 -1
- data/db/migrate/20161214191512_add_user_id_to_spree_purchase_orders.rb +1 -1
- data/lib/spree_purchase_order/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -2
- data/spec/dummy/db/migrate/20180516191805_add_quantity_to_inventory_units.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191806_add_original_return_item_id_to_spree_inventory_units.spree.rb +30 -0
- data/spec/dummy/db/migrate/20180516191807_add_unique_index_on_number_to_spree_orders.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191808_add_unique_index_on_number_to_spree_stock_transfer.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191809_add_unique_index_on_number_to_spree_shipment.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191810_add_unique_index_on_number_to_spree_payments.spree.rb +18 -0
- data/spec/dummy/db/migrate/20180516191811_add_unique_index_on_number_to_spree_return_authorizations.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191812_add_unique_index_on_number_to_spree_customer_returns.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191813_add_unique_index_on_number_to_spree_reimbursements.spree.rb +17 -0
- data/spec/dummy/db/migrate/20180516191814_add_missing_unique_indexes_for_unique_attributes.spree.rb +38 -0
- data/spec/dummy/db/migrate/20180516191815_add_index_on_stock_location_to_spree_customer_returns.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191816_add_index_on_prototype_to_spree_option_type_prototype.spree.rb +20 -0
- data/spec/dummy/db/migrate/20180516191817_add_indexes_to_spree_option_value_variant.spree.rb +20 -0
- data/spec/dummy/db/migrate/20180516191818_add_index_on_promotion_id_to_order_promotions.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191819_add_indexes_for_property_prototype.spree.rb +21 -0
- data/spec/dummy/db/migrate/20180516191820_add_index_for_prototype_id_to_prototype_taxons.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191821_add_indexes_to_refunds.spree.rb +7 -0
- data/spec/dummy/db/migrate/20180516191822_add_indexes_to_reimbursement_credits.spree.rb +7 -0
- data/spec/dummy/db/migrate/20180516191823_add_indexes_to_return_authorizations.spree.rb +7 -0
- data/spec/dummy/db/migrate/20180516191824_add_indexes_to_return_items.spree.rb +12 -0
- data/spec/dummy/db/migrate/20180516191825_add_index_to_role_users.spree.rb +19 -0
- data/spec/dummy/db/migrate/20180516191826_add_index_to_shipping_method_categories.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191827_add_index_to_shipping_method_zones.spree.rb +21 -0
- data/spec/dummy/db/migrate/20180516191828_add_index_to_spree_shipping_rates.spree.rb +7 -0
- data/spec/dummy/db/migrate/20180516191829_add_index_to_spree_stock_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191830_add_index_to_spree_stock_movement.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191831_change_indexes_on_friendly_id_slugs.spree.rb +11 -0
- data/spec/dummy/db/migrate/20180516191832_add_analytics_kind_to_spree_trackers.spree.rb +6 -0
- data/spec/dummy/db/migrate/20180516191833_rename_tracker_kind_field.spree.rb +6 -0
- data/spec/dummy/db/schema.rb +553 -517
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +3913 -0
- metadata +62 -4
data/spec/dummy/log/test.log
CHANGED
@@ -27684,3 +27684,3916 @@ Migrating to AddUserIdToSpreePurchaseOrders (20180516182071)
|
|
27684
27684
|
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = '2018-05-16 18:24:19.345260' WHERE "spree_orders"."id" = ?[0m [["id", 1]]
|
27685
27685
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
27686
27686
|
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
27687
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
27688
|
+
Migrating to AddQuantityToInventoryUnits (20180516191805)
|
27689
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
27690
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "spree_inventory_units" ADD "quantity" integer DEFAULT 1[0m
|
27691
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191805"]]
|
27692
|
+
[1m[35m (85.5ms)[0m [1m[36mcommit transaction[0m
|
27693
|
+
Migrating to AddOriginalReturnItemIdToSpreeInventoryUnits (20180516191806)
|
27694
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
27695
|
+
[1m[35m (1.2ms)[0m [1m[35mALTER TABLE "spree_inventory_units" ADD "original_return_item_id" integer[0m
|
27696
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
27697
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
27698
|
+
FROM sqlite_master
|
27699
|
+
WHERE name='index_spree_inventory_units_on_line_item_id' AND type='index'
|
27700
|
+
UNION ALL
|
27701
|
+
SELECT sql
|
27702
|
+
FROM sqlite_temp_master
|
27703
|
+
WHERE name='index_spree_inventory_units_on_line_item_id' AND type='index'
|
27704
|
+
[0m
|
27705
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
27706
|
+
FROM sqlite_master
|
27707
|
+
WHERE name='index_inventory_units_on_variant_id' AND type='index'
|
27708
|
+
UNION ALL
|
27709
|
+
SELECT sql
|
27710
|
+
FROM sqlite_temp_master
|
27711
|
+
WHERE name='index_inventory_units_on_variant_id' AND type='index'
|
27712
|
+
[0m
|
27713
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
27714
|
+
FROM sqlite_master
|
27715
|
+
WHERE name='index_inventory_units_on_shipment_id' AND type='index'
|
27716
|
+
UNION ALL
|
27717
|
+
SELECT sql
|
27718
|
+
FROM sqlite_temp_master
|
27719
|
+
WHERE name='index_inventory_units_on_shipment_id' AND type='index'
|
27720
|
+
[0m
|
27721
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
27722
|
+
FROM sqlite_master
|
27723
|
+
WHERE name='index_inventory_units_on_order_id' AND type='index'
|
27724
|
+
UNION ALL
|
27725
|
+
SELECT sql
|
27726
|
+
FROM sqlite_temp_master
|
27727
|
+
WHERE name='index_inventory_units_on_order_id' AND type='index'
|
27728
|
+
[0m
|
27729
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_spree_inventory_units_on_original_return_item_id" ON "spree_inventory_units" ("original_return_item_id")[0m
|
27730
|
+
[1m[36mSpree::ReturnItem Load (0.4ms)[0m [1m[34mSELECT "spree_return_items".* FROM "spree_return_items" WHERE ("spree_return_items"."exchange_inventory_unit_id" IS NOT NULL) ORDER BY "spree_return_items"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
27731
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TEMPORARY TABLE "aspree_return_items" ("id" integer NOT NULL PRIMARY KEY, "return_authorization_id" integer DEFAULT NULL, "inventory_unit_id" integer DEFAULT NULL, "exchange_variant_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pre_tax_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 DEFAULT NULL, "acceptance_status" varchar DEFAULT NULL, "customer_return_id" integer DEFAULT NULL, "reimbursement_id" integer DEFAULT NULL, "exchange_inventory_unit_id" integer DEFAULT NULL, "acceptance_status_errors" text DEFAULT NULL, "preferred_reimbursement_type_id" integer DEFAULT NULL, "override_reimbursement_type_id" integer DEFAULT NULL, "resellable" boolean DEFAULT 't' NOT NULL)[0m
|
27732
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27733
|
+
FROM sqlite_master
|
27734
|
+
WHERE name='index_spree_return_items_on_exchange_inventory_unit_id' AND type='index'
|
27735
|
+
UNION ALL
|
27736
|
+
SELECT sql
|
27737
|
+
FROM sqlite_temp_master
|
27738
|
+
WHERE name='index_spree_return_items_on_exchange_inventory_unit_id' AND type='index'
|
27739
|
+
[0m
|
27740
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27741
|
+
FROM sqlite_master
|
27742
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
27743
|
+
UNION ALL
|
27744
|
+
SELECT sql
|
27745
|
+
FROM sqlite_temp_master
|
27746
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
27747
|
+
[0m
|
27748
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "tindex_aspree_return_items_on_exchange_inventory_unit_id" ON "aspree_return_items" ("exchange_inventory_unit_id")[0m
|
27749
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "tindex_return_items_on_customer_return_id" ON "aspree_return_items" ("customer_return_id")[0m
|
27750
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "aspree_return_items" ("id","return_authorization_id","inventory_unit_id","exchange_variant_id","created_at","updated_at","pre_tax_amount","included_tax_total","additional_tax_total","reception_status","acceptance_status","customer_return_id","reimbursement_id","exchange_inventory_unit_id","acceptance_status_errors","preferred_reimbursement_type_id","override_reimbursement_type_id","resellable")
|
27751
|
+
SELECT "id","return_authorization_id","inventory_unit_id","exchange_variant_id","created_at","updated_at","pre_tax_amount","included_tax_total","additional_tax_total","reception_status","acceptance_status","customer_return_id","reimbursement_id","exchange_inventory_unit_id","acceptance_status_errors","preferred_reimbursement_type_id","override_reimbursement_type_id","resellable" FROM "spree_return_items"[0m
|
27752
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "spree_return_items"[0m
|
27753
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "spree_return_items" ("id" integer NOT NULL PRIMARY KEY, "return_authorization_id" integer DEFAULT NULL, "inventory_unit_id" integer DEFAULT NULL, "exchange_variant_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "pre_tax_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 DEFAULT NULL, "acceptance_status" varchar DEFAULT NULL, "customer_return_id" integer DEFAULT NULL, "reimbursement_id" integer DEFAULT NULL, "acceptance_status_errors" text DEFAULT NULL, "preferred_reimbursement_type_id" integer DEFAULT NULL, "override_reimbursement_type_id" integer DEFAULT NULL, "resellable" boolean DEFAULT 't' NOT NULL)[0m
|
27754
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27755
|
+
FROM sqlite_master
|
27756
|
+
WHERE name='tindex_return_items_on_customer_return_id' AND type='index'
|
27757
|
+
UNION ALL
|
27758
|
+
SELECT sql
|
27759
|
+
FROM sqlite_temp_master
|
27760
|
+
WHERE name='tindex_return_items_on_customer_return_id' AND type='index'
|
27761
|
+
[0m
|
27762
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27763
|
+
FROM sqlite_master
|
27764
|
+
WHERE name='tindex_aspree_return_items_on_exchange_inventory_unit_id' AND type='index'
|
27765
|
+
UNION ALL
|
27766
|
+
SELECT sql
|
27767
|
+
FROM sqlite_temp_master
|
27768
|
+
WHERE name='tindex_aspree_return_items_on_exchange_inventory_unit_id' AND type='index'
|
27769
|
+
[0m
|
27770
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_return_items_on_customer_return_id" ON "spree_return_items" ("customer_return_id")[0m
|
27771
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "spree_return_items" ("id","return_authorization_id","inventory_unit_id","exchange_variant_id","created_at","updated_at","pre_tax_amount","included_tax_total","additional_tax_total","reception_status","acceptance_status","customer_return_id","reimbursement_id","acceptance_status_errors","preferred_reimbursement_type_id","override_reimbursement_type_id","resellable")
|
27772
|
+
SELECT "id","return_authorization_id","inventory_unit_id","exchange_variant_id","created_at","updated_at","pre_tax_amount","included_tax_total","additional_tax_total","reception_status","acceptance_status","customer_return_id","reimbursement_id","acceptance_status_errors","preferred_reimbursement_type_id","override_reimbursement_type_id","resellable" FROM "aspree_return_items"[0m
|
27773
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "aspree_return_items"[0m
|
27774
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191806"]]
|
27775
|
+
[1m[35m (168.1ms)[0m [1m[36mcommit transaction[0m
|
27776
|
+
Migrating to AddUniqueIndexOnNumberToSpreeOrders (20180516191807)
|
27777
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
27778
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
27779
|
+
FROM sqlite_master
|
27780
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27781
|
+
UNION ALL
|
27782
|
+
SELECT sql
|
27783
|
+
FROM sqlite_temp_master
|
27784
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27785
|
+
[0m
|
27786
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27787
|
+
FROM sqlite_master
|
27788
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27789
|
+
UNION ALL
|
27790
|
+
SELECT sql
|
27791
|
+
FROM sqlite_temp_master
|
27792
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27793
|
+
[0m
|
27794
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27795
|
+
FROM sqlite_master
|
27796
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27797
|
+
UNION ALL
|
27798
|
+
SELECT sql
|
27799
|
+
FROM sqlite_temp_master
|
27800
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27801
|
+
[0m
|
27802
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27803
|
+
FROM sqlite_master
|
27804
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
27805
|
+
UNION ALL
|
27806
|
+
SELECT sql
|
27807
|
+
FROM sqlite_temp_master
|
27808
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
27809
|
+
[0m
|
27810
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27811
|
+
FROM sqlite_master
|
27812
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
27813
|
+
UNION ALL
|
27814
|
+
SELECT sql
|
27815
|
+
FROM sqlite_temp_master
|
27816
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
27817
|
+
[0m
|
27818
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27819
|
+
FROM sqlite_master
|
27820
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
27821
|
+
UNION ALL
|
27822
|
+
SELECT sql
|
27823
|
+
FROM sqlite_temp_master
|
27824
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
27825
|
+
[0m
|
27826
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27827
|
+
FROM sqlite_master
|
27828
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
27829
|
+
UNION ALL
|
27830
|
+
SELECT sql
|
27831
|
+
FROM sqlite_temp_master
|
27832
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
27833
|
+
[0m
|
27834
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27835
|
+
FROM sqlite_master
|
27836
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
27837
|
+
UNION ALL
|
27838
|
+
SELECT sql
|
27839
|
+
FROM sqlite_temp_master
|
27840
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
27841
|
+
[0m
|
27842
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27843
|
+
FROM sqlite_master
|
27844
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
27845
|
+
UNION ALL
|
27846
|
+
SELECT sql
|
27847
|
+
FROM sqlite_temp_master
|
27848
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
27849
|
+
[0m
|
27850
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27851
|
+
FROM sqlite_master
|
27852
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
27853
|
+
UNION ALL
|
27854
|
+
SELECT sql
|
27855
|
+
FROM sqlite_temp_master
|
27856
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
27857
|
+
[0m
|
27858
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27859
|
+
FROM sqlite_master
|
27860
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
27861
|
+
UNION ALL
|
27862
|
+
SELECT sql
|
27863
|
+
FROM sqlite_temp_master
|
27864
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
27865
|
+
[0m
|
27866
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
27867
|
+
FROM sqlite_master
|
27868
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
27869
|
+
UNION ALL
|
27870
|
+
SELECT sql
|
27871
|
+
FROM sqlite_temp_master
|
27872
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
27873
|
+
[0m
|
27874
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "spree_orders"."number" FROM "spree_orders" GROUP BY "spree_orders"."number" HAVING (sum(1) > 1)[0m
|
27875
|
+
[1m[36mSpree::Order Load (0.5ms)[0m [1m[34mSELECT "spree_orders".* FROM "spree_orders" WHERE 1=0 ORDER BY "spree_orders"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
27876
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27877
|
+
FROM sqlite_master
|
27878
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27879
|
+
UNION ALL
|
27880
|
+
SELECT sql
|
27881
|
+
FROM sqlite_temp_master
|
27882
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27883
|
+
[0m
|
27884
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27885
|
+
FROM sqlite_master
|
27886
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27887
|
+
UNION ALL
|
27888
|
+
SELECT sql
|
27889
|
+
FROM sqlite_temp_master
|
27890
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27891
|
+
[0m
|
27892
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27893
|
+
FROM sqlite_master
|
27894
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27895
|
+
UNION ALL
|
27896
|
+
SELECT sql
|
27897
|
+
FROM sqlite_temp_master
|
27898
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27899
|
+
[0m
|
27900
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27901
|
+
FROM sqlite_master
|
27902
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
27903
|
+
UNION ALL
|
27904
|
+
SELECT sql
|
27905
|
+
FROM sqlite_temp_master
|
27906
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
27907
|
+
[0m
|
27908
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27909
|
+
FROM sqlite_master
|
27910
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
27911
|
+
UNION ALL
|
27912
|
+
SELECT sql
|
27913
|
+
FROM sqlite_temp_master
|
27914
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
27915
|
+
[0m
|
27916
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27917
|
+
FROM sqlite_master
|
27918
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
27919
|
+
UNION ALL
|
27920
|
+
SELECT sql
|
27921
|
+
FROM sqlite_temp_master
|
27922
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
27923
|
+
[0m
|
27924
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27925
|
+
FROM sqlite_master
|
27926
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
27927
|
+
UNION ALL
|
27928
|
+
SELECT sql
|
27929
|
+
FROM sqlite_temp_master
|
27930
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
27931
|
+
[0m
|
27932
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27933
|
+
FROM sqlite_master
|
27934
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
27935
|
+
UNION ALL
|
27936
|
+
SELECT sql
|
27937
|
+
FROM sqlite_temp_master
|
27938
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
27939
|
+
[0m
|
27940
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27941
|
+
FROM sqlite_master
|
27942
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
27943
|
+
UNION ALL
|
27944
|
+
SELECT sql
|
27945
|
+
FROM sqlite_temp_master
|
27946
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
27947
|
+
[0m
|
27948
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27949
|
+
FROM sqlite_master
|
27950
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
27951
|
+
UNION ALL
|
27952
|
+
SELECT sql
|
27953
|
+
FROM sqlite_temp_master
|
27954
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
27955
|
+
[0m
|
27956
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27957
|
+
FROM sqlite_master
|
27958
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
27959
|
+
UNION ALL
|
27960
|
+
SELECT sql
|
27961
|
+
FROM sqlite_temp_master
|
27962
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
27963
|
+
[0m
|
27964
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27965
|
+
FROM sqlite_master
|
27966
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
27967
|
+
UNION ALL
|
27968
|
+
SELECT sql
|
27969
|
+
FROM sqlite_temp_master
|
27970
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
27971
|
+
[0m
|
27972
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27973
|
+
FROM sqlite_master
|
27974
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27975
|
+
UNION ALL
|
27976
|
+
SELECT sql
|
27977
|
+
FROM sqlite_temp_master
|
27978
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
27979
|
+
[0m
|
27980
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27981
|
+
FROM sqlite_master
|
27982
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27983
|
+
UNION ALL
|
27984
|
+
SELECT sql
|
27985
|
+
FROM sqlite_temp_master
|
27986
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
27987
|
+
[0m
|
27988
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27989
|
+
FROM sqlite_master
|
27990
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27991
|
+
UNION ALL
|
27992
|
+
SELECT sql
|
27993
|
+
FROM sqlite_temp_master
|
27994
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
27995
|
+
[0m
|
27996
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
27997
|
+
FROM sqlite_master
|
27998
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
27999
|
+
UNION ALL
|
28000
|
+
SELECT sql
|
28001
|
+
FROM sqlite_temp_master
|
28002
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
28003
|
+
[0m
|
28004
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28005
|
+
FROM sqlite_master
|
28006
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
28007
|
+
UNION ALL
|
28008
|
+
SELECT sql
|
28009
|
+
FROM sqlite_temp_master
|
28010
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
28011
|
+
[0m
|
28012
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28013
|
+
FROM sqlite_master
|
28014
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
28015
|
+
UNION ALL
|
28016
|
+
SELECT sql
|
28017
|
+
FROM sqlite_temp_master
|
28018
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
28019
|
+
[0m
|
28020
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28021
|
+
FROM sqlite_master
|
28022
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
28023
|
+
UNION ALL
|
28024
|
+
SELECT sql
|
28025
|
+
FROM sqlite_temp_master
|
28026
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
28027
|
+
[0m
|
28028
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28029
|
+
FROM sqlite_master
|
28030
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
28031
|
+
UNION ALL
|
28032
|
+
SELECT sql
|
28033
|
+
FROM sqlite_temp_master
|
28034
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
28035
|
+
[0m
|
28036
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28037
|
+
FROM sqlite_master
|
28038
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
28039
|
+
UNION ALL
|
28040
|
+
SELECT sql
|
28041
|
+
FROM sqlite_temp_master
|
28042
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
28043
|
+
[0m
|
28044
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28045
|
+
FROM sqlite_master
|
28046
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
28047
|
+
UNION ALL
|
28048
|
+
SELECT sql
|
28049
|
+
FROM sqlite_temp_master
|
28050
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
28051
|
+
[0m
|
28052
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28053
|
+
FROM sqlite_master
|
28054
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
28055
|
+
UNION ALL
|
28056
|
+
SELECT sql
|
28057
|
+
FROM sqlite_temp_master
|
28058
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
28059
|
+
[0m
|
28060
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28061
|
+
FROM sqlite_master
|
28062
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
28063
|
+
UNION ALL
|
28064
|
+
SELECT sql
|
28065
|
+
FROM sqlite_temp_master
|
28066
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
28067
|
+
[0m
|
28068
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP INDEX "index_spree_orders_on_number"[0m
|
28069
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28070
|
+
FROM sqlite_master
|
28071
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
28072
|
+
UNION ALL
|
28073
|
+
SELECT sql
|
28074
|
+
FROM sqlite_temp_master
|
28075
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
28076
|
+
[0m
|
28077
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28078
|
+
FROM sqlite_master
|
28079
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
28080
|
+
UNION ALL
|
28081
|
+
SELECT sql
|
28082
|
+
FROM sqlite_temp_master
|
28083
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
28084
|
+
[0m
|
28085
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28086
|
+
FROM sqlite_master
|
28087
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
28088
|
+
UNION ALL
|
28089
|
+
SELECT sql
|
28090
|
+
FROM sqlite_temp_master
|
28091
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
28092
|
+
[0m
|
28093
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28094
|
+
FROM sqlite_master
|
28095
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
28096
|
+
UNION ALL
|
28097
|
+
SELECT sql
|
28098
|
+
FROM sqlite_temp_master
|
28099
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
28100
|
+
[0m
|
28101
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28102
|
+
FROM sqlite_master
|
28103
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
28104
|
+
UNION ALL
|
28105
|
+
SELECT sql
|
28106
|
+
FROM sqlite_temp_master
|
28107
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
28108
|
+
[0m
|
28109
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28110
|
+
FROM sqlite_master
|
28111
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
28112
|
+
UNION ALL
|
28113
|
+
SELECT sql
|
28114
|
+
FROM sqlite_temp_master
|
28115
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
28116
|
+
[0m
|
28117
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28118
|
+
FROM sqlite_master
|
28119
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
28120
|
+
UNION ALL
|
28121
|
+
SELECT sql
|
28122
|
+
FROM sqlite_temp_master
|
28123
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
28124
|
+
[0m
|
28125
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28126
|
+
FROM sqlite_master
|
28127
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
28128
|
+
UNION ALL
|
28129
|
+
SELECT sql
|
28130
|
+
FROM sqlite_temp_master
|
28131
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
28132
|
+
[0m
|
28133
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28134
|
+
FROM sqlite_master
|
28135
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
28136
|
+
UNION ALL
|
28137
|
+
SELECT sql
|
28138
|
+
FROM sqlite_temp_master
|
28139
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
28140
|
+
[0m
|
28141
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28142
|
+
FROM sqlite_master
|
28143
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
28144
|
+
UNION ALL
|
28145
|
+
SELECT sql
|
28146
|
+
FROM sqlite_temp_master
|
28147
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
28148
|
+
[0m
|
28149
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28150
|
+
FROM sqlite_master
|
28151
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
28152
|
+
UNION ALL
|
28153
|
+
SELECT sql
|
28154
|
+
FROM sqlite_temp_master
|
28155
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
28156
|
+
[0m
|
28157
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_orders_on_number" ON "spree_orders" ("number")[0m
|
28158
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191807"]]
|
28159
|
+
[1m[35m (109.6ms)[0m [1m[36mcommit transaction[0m
|
28160
|
+
Migrating to AddUniqueIndexOnNumberToSpreeStockTransfer (20180516191808)
|
28161
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28162
|
+
[1m[35m (0.6ms)[0m [1m[34m SELECT sql
|
28163
|
+
FROM sqlite_master
|
28164
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28165
|
+
UNION ALL
|
28166
|
+
SELECT sql
|
28167
|
+
FROM sqlite_temp_master
|
28168
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28169
|
+
[0m
|
28170
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28171
|
+
FROM sqlite_master
|
28172
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28173
|
+
UNION ALL
|
28174
|
+
SELECT sql
|
28175
|
+
FROM sqlite_temp_master
|
28176
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28177
|
+
[0m
|
28178
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28179
|
+
FROM sqlite_master
|
28180
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28181
|
+
UNION ALL
|
28182
|
+
SELECT sql
|
28183
|
+
FROM sqlite_temp_master
|
28184
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28185
|
+
[0m
|
28186
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_stock_transfers"."number" FROM "spree_stock_transfers" GROUP BY "spree_stock_transfers"."number" HAVING (sum(1) > 1)[0m
|
28187
|
+
[1m[36mSpree::StockTransfer Load (0.3ms)[0m [1m[34mSELECT "spree_stock_transfers".* FROM "spree_stock_transfers" WHERE 1=0 ORDER BY "spree_stock_transfers"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28188
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28189
|
+
FROM sqlite_master
|
28190
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28191
|
+
UNION ALL
|
28192
|
+
SELECT sql
|
28193
|
+
FROM sqlite_temp_master
|
28194
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28195
|
+
[0m
|
28196
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28197
|
+
FROM sqlite_master
|
28198
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28199
|
+
UNION ALL
|
28200
|
+
SELECT sql
|
28201
|
+
FROM sqlite_temp_master
|
28202
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28203
|
+
[0m
|
28204
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28205
|
+
FROM sqlite_master
|
28206
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28207
|
+
UNION ALL
|
28208
|
+
SELECT sql
|
28209
|
+
FROM sqlite_temp_master
|
28210
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28211
|
+
[0m
|
28212
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28213
|
+
FROM sqlite_master
|
28214
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28215
|
+
UNION ALL
|
28216
|
+
SELECT sql
|
28217
|
+
FROM sqlite_temp_master
|
28218
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28219
|
+
[0m
|
28220
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28221
|
+
FROM sqlite_master
|
28222
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28223
|
+
UNION ALL
|
28224
|
+
SELECT sql
|
28225
|
+
FROM sqlite_temp_master
|
28226
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28227
|
+
[0m
|
28228
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28229
|
+
FROM sqlite_master
|
28230
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28231
|
+
UNION ALL
|
28232
|
+
SELECT sql
|
28233
|
+
FROM sqlite_temp_master
|
28234
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
28235
|
+
[0m
|
28236
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP INDEX "index_spree_stock_transfers_on_number"[0m
|
28237
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28238
|
+
FROM sqlite_master
|
28239
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28240
|
+
UNION ALL
|
28241
|
+
SELECT sql
|
28242
|
+
FROM sqlite_temp_master
|
28243
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
28244
|
+
[0m
|
28245
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28246
|
+
FROM sqlite_master
|
28247
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28248
|
+
UNION ALL
|
28249
|
+
SELECT sql
|
28250
|
+
FROM sqlite_temp_master
|
28251
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
28252
|
+
[0m
|
28253
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_stock_transfers_on_number" ON "spree_stock_transfers" ("number")[0m
|
28254
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191808"]]
|
28255
|
+
[1m[35m (131.9ms)[0m [1m[36mcommit transaction[0m
|
28256
|
+
Migrating to AddUniqueIndexOnNumberToSpreeShipment (20180516191809)
|
28257
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28258
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
28259
|
+
FROM sqlite_master
|
28260
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28261
|
+
UNION ALL
|
28262
|
+
SELECT sql
|
28263
|
+
FROM sqlite_temp_master
|
28264
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28265
|
+
[0m
|
28266
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28267
|
+
FROM sqlite_master
|
28268
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28269
|
+
UNION ALL
|
28270
|
+
SELECT sql
|
28271
|
+
FROM sqlite_temp_master
|
28272
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28273
|
+
[0m
|
28274
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28275
|
+
FROM sqlite_master
|
28276
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28277
|
+
UNION ALL
|
28278
|
+
SELECT sql
|
28279
|
+
FROM sqlite_temp_master
|
28280
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28281
|
+
[0m
|
28282
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28283
|
+
FROM sqlite_master
|
28284
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28285
|
+
UNION ALL
|
28286
|
+
SELECT sql
|
28287
|
+
FROM sqlite_temp_master
|
28288
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28289
|
+
[0m
|
28290
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "spree_shipments"."number" FROM "spree_shipments" GROUP BY "spree_shipments"."number" HAVING (sum(1) > 1)[0m
|
28291
|
+
[1m[36mSpree::Shipment Load (0.2ms)[0m [1m[34mSELECT "spree_shipments".* FROM "spree_shipments" WHERE 1=0 ORDER BY "spree_shipments"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28292
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28293
|
+
FROM sqlite_master
|
28294
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28295
|
+
UNION ALL
|
28296
|
+
SELECT sql
|
28297
|
+
FROM sqlite_temp_master
|
28298
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28299
|
+
[0m
|
28300
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28301
|
+
FROM sqlite_master
|
28302
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28303
|
+
UNION ALL
|
28304
|
+
SELECT sql
|
28305
|
+
FROM sqlite_temp_master
|
28306
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28307
|
+
[0m
|
28308
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28309
|
+
FROM sqlite_master
|
28310
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28311
|
+
UNION ALL
|
28312
|
+
SELECT sql
|
28313
|
+
FROM sqlite_temp_master
|
28314
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28315
|
+
[0m
|
28316
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28317
|
+
FROM sqlite_master
|
28318
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28319
|
+
UNION ALL
|
28320
|
+
SELECT sql
|
28321
|
+
FROM sqlite_temp_master
|
28322
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28323
|
+
[0m
|
28324
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28325
|
+
FROM sqlite_master
|
28326
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28327
|
+
UNION ALL
|
28328
|
+
SELECT sql
|
28329
|
+
FROM sqlite_temp_master
|
28330
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28331
|
+
[0m
|
28332
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28333
|
+
FROM sqlite_master
|
28334
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28335
|
+
UNION ALL
|
28336
|
+
SELECT sql
|
28337
|
+
FROM sqlite_temp_master
|
28338
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28339
|
+
[0m
|
28340
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28341
|
+
FROM sqlite_master
|
28342
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28343
|
+
UNION ALL
|
28344
|
+
SELECT sql
|
28345
|
+
FROM sqlite_temp_master
|
28346
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28347
|
+
[0m
|
28348
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28349
|
+
FROM sqlite_master
|
28350
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28351
|
+
UNION ALL
|
28352
|
+
SELECT sql
|
28353
|
+
FROM sqlite_temp_master
|
28354
|
+
WHERE name='index_shipments_on_number' AND type='index'
|
28355
|
+
[0m
|
28356
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP INDEX "index_shipments_on_number"[0m
|
28357
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28358
|
+
FROM sqlite_master
|
28359
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28360
|
+
UNION ALL
|
28361
|
+
SELECT sql
|
28362
|
+
FROM sqlite_temp_master
|
28363
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
28364
|
+
[0m
|
28365
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28366
|
+
FROM sqlite_master
|
28367
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28368
|
+
UNION ALL
|
28369
|
+
SELECT sql
|
28370
|
+
FROM sqlite_temp_master
|
28371
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
28372
|
+
[0m
|
28373
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28374
|
+
FROM sqlite_master
|
28375
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28376
|
+
UNION ALL
|
28377
|
+
SELECT sql
|
28378
|
+
FROM sqlite_temp_master
|
28379
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
28380
|
+
[0m
|
28381
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_shipments_on_number" ON "spree_shipments" ("number")[0m
|
28382
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191809"]]
|
28383
|
+
[1m[35m (110.3ms)[0m [1m[36mcommit transaction[0m
|
28384
|
+
Migrating to AddUniqueIndexOnNumberToSpreePayments (20180516191810)
|
28385
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28386
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
28387
|
+
FROM sqlite_master
|
28388
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28389
|
+
UNION ALL
|
28390
|
+
SELECT sql
|
28391
|
+
FROM sqlite_temp_master
|
28392
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28393
|
+
[0m
|
28394
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28395
|
+
FROM sqlite_master
|
28396
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28397
|
+
UNION ALL
|
28398
|
+
SELECT sql
|
28399
|
+
FROM sqlite_temp_master
|
28400
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28401
|
+
[0m
|
28402
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
28403
|
+
FROM sqlite_master
|
28404
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28405
|
+
UNION ALL
|
28406
|
+
SELECT sql
|
28407
|
+
FROM sqlite_temp_master
|
28408
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28409
|
+
[0m
|
28410
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28411
|
+
FROM sqlite_master
|
28412
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28413
|
+
UNION ALL
|
28414
|
+
SELECT sql
|
28415
|
+
FROM sqlite_temp_master
|
28416
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28417
|
+
[0m
|
28418
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_payments"."number" FROM "spree_payments" GROUP BY "spree_payments"."number" HAVING (sum(1) > 1)[0m
|
28419
|
+
Scoped order is ignored, it's forced to be batch order.
|
28420
|
+
[1m[36mSpree::Payment Load (0.2ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE 1=0 ORDER BY "spree_payments"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28421
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28422
|
+
FROM sqlite_master
|
28423
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28424
|
+
UNION ALL
|
28425
|
+
SELECT sql
|
28426
|
+
FROM sqlite_temp_master
|
28427
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28428
|
+
[0m
|
28429
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28430
|
+
FROM sqlite_master
|
28431
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28432
|
+
UNION ALL
|
28433
|
+
SELECT sql
|
28434
|
+
FROM sqlite_temp_master
|
28435
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28436
|
+
[0m
|
28437
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28438
|
+
FROM sqlite_master
|
28439
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28440
|
+
UNION ALL
|
28441
|
+
SELECT sql
|
28442
|
+
FROM sqlite_temp_master
|
28443
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28444
|
+
[0m
|
28445
|
+
[1m[35m (1.4ms)[0m [1m[34m SELECT sql
|
28446
|
+
FROM sqlite_master
|
28447
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28448
|
+
UNION ALL
|
28449
|
+
SELECT sql
|
28450
|
+
FROM sqlite_temp_master
|
28451
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28452
|
+
[0m
|
28453
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28454
|
+
FROM sqlite_master
|
28455
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28456
|
+
UNION ALL
|
28457
|
+
SELECT sql
|
28458
|
+
FROM sqlite_temp_master
|
28459
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
28460
|
+
[0m
|
28461
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28462
|
+
FROM sqlite_master
|
28463
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28464
|
+
UNION ALL
|
28465
|
+
SELECT sql
|
28466
|
+
FROM sqlite_temp_master
|
28467
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28468
|
+
[0m
|
28469
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28470
|
+
FROM sqlite_master
|
28471
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28472
|
+
UNION ALL
|
28473
|
+
SELECT sql
|
28474
|
+
FROM sqlite_temp_master
|
28475
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28476
|
+
[0m
|
28477
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28478
|
+
FROM sqlite_master
|
28479
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28480
|
+
UNION ALL
|
28481
|
+
SELECT sql
|
28482
|
+
FROM sqlite_temp_master
|
28483
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28484
|
+
[0m
|
28485
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP INDEX "index_spree_payments_on_number"[0m
|
28486
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28487
|
+
FROM sqlite_master
|
28488
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28489
|
+
UNION ALL
|
28490
|
+
SELECT sql
|
28491
|
+
FROM sqlite_temp_master
|
28492
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
28493
|
+
[0m
|
28494
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28495
|
+
FROM sqlite_master
|
28496
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28497
|
+
UNION ALL
|
28498
|
+
SELECT sql
|
28499
|
+
FROM sqlite_temp_master
|
28500
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
28501
|
+
[0m
|
28502
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28503
|
+
FROM sqlite_master
|
28504
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28505
|
+
UNION ALL
|
28506
|
+
SELECT sql
|
28507
|
+
FROM sqlite_temp_master
|
28508
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
28509
|
+
[0m
|
28510
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_payments_on_number" ON "spree_payments" ("number")[0m
|
28511
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191810"]]
|
28512
|
+
[1m[35m (112.7ms)[0m [1m[36mcommit transaction[0m
|
28513
|
+
Migrating to AddUniqueIndexOnNumberToSpreeReturnAuthorizations (20180516191811)
|
28514
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28515
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
28516
|
+
FROM sqlite_master
|
28517
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28518
|
+
UNION ALL
|
28519
|
+
SELECT sql
|
28520
|
+
FROM sqlite_temp_master
|
28521
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28522
|
+
[0m
|
28523
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_return_authorizations"."number" FROM "spree_return_authorizations" GROUP BY "spree_return_authorizations"."number" HAVING (sum(1) > 1)[0m
|
28524
|
+
[1m[36mSpree::ReturnAuthorization Load (0.1ms)[0m [1m[34mSELECT "spree_return_authorizations".* FROM "spree_return_authorizations" WHERE 1=0 ORDER BY "spree_return_authorizations"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28525
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28526
|
+
FROM sqlite_master
|
28527
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28528
|
+
UNION ALL
|
28529
|
+
SELECT sql
|
28530
|
+
FROM sqlite_temp_master
|
28531
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28532
|
+
[0m
|
28533
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28534
|
+
FROM sqlite_master
|
28535
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28536
|
+
UNION ALL
|
28537
|
+
SELECT sql
|
28538
|
+
FROM sqlite_temp_master
|
28539
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
28540
|
+
[0m
|
28541
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_return_authorizations_on_number" ON "spree_return_authorizations" ("number")[0m
|
28542
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191811"]]
|
28543
|
+
[1m[35m (176.3ms)[0m [1m[36mcommit transaction[0m
|
28544
|
+
Migrating to AddUniqueIndexOnNumberToSpreeCustomerReturns (20180516191812)
|
28545
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
28546
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_customer_returns"."number" FROM "spree_customer_returns" GROUP BY "spree_customer_returns"."number" HAVING (sum(1) > 1)[0m
|
28547
|
+
[1m[36mSpree::CustomerReturn Load (0.1ms)[0m [1m[34mSELECT "spree_customer_returns".* FROM "spree_customer_returns" WHERE 1=0 ORDER BY "spree_customer_returns"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28548
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_customer_returns_on_number" ON "spree_customer_returns" ("number")[0m
|
28549
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191812"]]
|
28550
|
+
[1m[35m (134.4ms)[0m [1m[36mcommit transaction[0m
|
28551
|
+
Migrating to AddUniqueIndexOnNumberToSpreeReimbursements (20180516191813)
|
28552
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
28553
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
28554
|
+
FROM sqlite_master
|
28555
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28556
|
+
UNION ALL
|
28557
|
+
SELECT sql
|
28558
|
+
FROM sqlite_temp_master
|
28559
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28560
|
+
[0m
|
28561
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28562
|
+
FROM sqlite_master
|
28563
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28564
|
+
UNION ALL
|
28565
|
+
SELECT sql
|
28566
|
+
FROM sqlite_temp_master
|
28567
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28568
|
+
[0m
|
28569
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_reimbursements"."number" FROM "spree_reimbursements" GROUP BY "spree_reimbursements"."number" HAVING (sum(1) > 1)[0m
|
28570
|
+
[1m[36mSpree::Reimbursement Load (0.1ms)[0m [1m[34mSELECT "spree_reimbursements".* FROM "spree_reimbursements" WHERE 1=0 ORDER BY "spree_reimbursements"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28571
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28572
|
+
FROM sqlite_master
|
28573
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28574
|
+
UNION ALL
|
28575
|
+
SELECT sql
|
28576
|
+
FROM sqlite_temp_master
|
28577
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28578
|
+
[0m
|
28579
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28580
|
+
FROM sqlite_master
|
28581
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28582
|
+
UNION ALL
|
28583
|
+
SELECT sql
|
28584
|
+
FROM sqlite_temp_master
|
28585
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28586
|
+
[0m
|
28587
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28588
|
+
FROM sqlite_master
|
28589
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28590
|
+
UNION ALL
|
28591
|
+
SELECT sql
|
28592
|
+
FROM sqlite_temp_master
|
28593
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
28594
|
+
[0m
|
28595
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28596
|
+
FROM sqlite_master
|
28597
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28598
|
+
UNION ALL
|
28599
|
+
SELECT sql
|
28600
|
+
FROM sqlite_temp_master
|
28601
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
28602
|
+
[0m
|
28603
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_reimbursements_on_number" ON "spree_reimbursements" ("number")[0m
|
28604
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191813"]]
|
28605
|
+
[1m[35m (142.0ms)[0m [1m[36mcommit transaction[0m
|
28606
|
+
Migrating to AddMissingUniqueIndexesForUniqueAttributes (20180516191814)
|
28607
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
28608
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_countries"."name" FROM "spree_countries" GROUP BY "spree_countries"."name" HAVING (sum(1) > 1)[0m
|
28609
|
+
[1m[36mSpree::Country Load (0.2ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE (1=0 OR "spree_countries"."name" IS NULL) ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28610
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_countries_on_name" ON "spree_countries" ("name")[0m
|
28611
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28612
|
+
FROM sqlite_master
|
28613
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28614
|
+
UNION ALL
|
28615
|
+
SELECT sql
|
28616
|
+
FROM sqlite_temp_master
|
28617
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28618
|
+
[0m
|
28619
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_countries"."iso_name" FROM "spree_countries" GROUP BY "spree_countries"."iso_name" HAVING (sum(1) > 1)[0m
|
28620
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE (1=0 OR "spree_countries"."iso_name" IS NULL) ORDER BY "spree_countries"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28621
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28622
|
+
FROM sqlite_master
|
28623
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28624
|
+
UNION ALL
|
28625
|
+
SELECT sql
|
28626
|
+
FROM sqlite_temp_master
|
28627
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28628
|
+
[0m
|
28629
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28630
|
+
FROM sqlite_master
|
28631
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28632
|
+
UNION ALL
|
28633
|
+
SELECT sql
|
28634
|
+
FROM sqlite_temp_master
|
28635
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
28636
|
+
[0m
|
28637
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_countries_on_iso_name" ON "spree_countries" ("iso_name")[0m
|
28638
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_refund_reasons"."name" FROM "spree_refund_reasons" GROUP BY "spree_refund_reasons"."name" HAVING (sum(1) > 1)[0m
|
28639
|
+
Scoped order is ignored, it's forced to be batch order.
|
28640
|
+
[1m[36mSpree::RefundReason Load (0.2ms)[0m [1m[34mSELECT "spree_refund_reasons".* FROM "spree_refund_reasons" WHERE (1=0 OR "spree_refund_reasons"."name" IS NULL) ORDER BY "spree_refund_reasons"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28641
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_refund_reasons_on_name" ON "spree_refund_reasons" ("name")[0m
|
28642
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28643
|
+
FROM sqlite_master
|
28644
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28645
|
+
UNION ALL
|
28646
|
+
SELECT sql
|
28647
|
+
FROM sqlite_temp_master
|
28648
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28649
|
+
[0m
|
28650
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_reimbursement_types"."name" FROM "spree_reimbursement_types" GROUP BY "spree_reimbursement_types"."name" HAVING (sum(1) > 1)[0m
|
28651
|
+
Scoped order is ignored, it's forced to be batch order.
|
28652
|
+
[1m[36mSpree::ReimbursementType Load (0.2ms)[0m [1m[34mSELECT "spree_reimbursement_types".* FROM "spree_reimbursement_types" WHERE (1=0 OR "spree_reimbursement_types"."name" IS NULL) ORDER BY "spree_reimbursement_types"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28653
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28654
|
+
FROM sqlite_master
|
28655
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28656
|
+
UNION ALL
|
28657
|
+
SELECT sql
|
28658
|
+
FROM sqlite_temp_master
|
28659
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28660
|
+
[0m
|
28661
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28662
|
+
FROM sqlite_master
|
28663
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28664
|
+
UNION ALL
|
28665
|
+
SELECT sql
|
28666
|
+
FROM sqlite_temp_master
|
28667
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
28668
|
+
[0m
|
28669
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_reimbursement_types_on_name" ON "spree_reimbursement_types" ("name")[0m
|
28670
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_return_authorization_reasons"."name" FROM "spree_return_authorization_reasons" GROUP BY "spree_return_authorization_reasons"."name" HAVING (sum(1) > 1)[0m
|
28671
|
+
Scoped order is ignored, it's forced to be batch order.
|
28672
|
+
[1m[36mSpree::ReturnAuthorizationReason Load (0.2ms)[0m [1m[34mSELECT "spree_return_authorization_reasons".* FROM "spree_return_authorization_reasons" WHERE (1=0 OR "spree_return_authorization_reasons"."name" IS NULL) ORDER BY "spree_return_authorization_reasons"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28673
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_return_authorization_reasons_on_name" ON "spree_return_authorization_reasons" ("name")[0m
|
28674
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28675
|
+
FROM sqlite_master
|
28676
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28677
|
+
UNION ALL
|
28678
|
+
SELECT sql
|
28679
|
+
FROM sqlite_temp_master
|
28680
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28681
|
+
[0m
|
28682
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "spree_roles"."name" FROM "spree_roles" GROUP BY "spree_roles"."name" HAVING (sum(1) > 1)[0m
|
28683
|
+
[1m[36mSpree::Role Load (0.1ms)[0m [1m[34mSELECT "spree_roles".* FROM "spree_roles" WHERE (1=0 OR "spree_roles"."name" IS NULL) ORDER BY "spree_roles"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28684
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28685
|
+
FROM sqlite_master
|
28686
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28687
|
+
UNION ALL
|
28688
|
+
SELECT sql
|
28689
|
+
FROM sqlite_temp_master
|
28690
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28691
|
+
[0m
|
28692
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28693
|
+
FROM sqlite_master
|
28694
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28695
|
+
UNION ALL
|
28696
|
+
SELECT sql
|
28697
|
+
FROM sqlite_temp_master
|
28698
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
28699
|
+
[0m
|
28700
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP INDEX "index_spree_roles_on_name"[0m
|
28701
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_roles_on_name" ON "spree_roles" ("name")[0m
|
28702
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28703
|
+
FROM sqlite_master
|
28704
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28705
|
+
UNION ALL
|
28706
|
+
SELECT sql
|
28707
|
+
FROM sqlite_temp_master
|
28708
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28709
|
+
[0m
|
28710
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28711
|
+
FROM sqlite_master
|
28712
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28713
|
+
UNION ALL
|
28714
|
+
SELECT sql
|
28715
|
+
FROM sqlite_temp_master
|
28716
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28717
|
+
[0m
|
28718
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28719
|
+
FROM sqlite_master
|
28720
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28721
|
+
UNION ALL
|
28722
|
+
SELECT sql
|
28723
|
+
FROM sqlite_temp_master
|
28724
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28725
|
+
[0m
|
28726
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "spree_stores"."code" FROM "spree_stores" GROUP BY "spree_stores"."code" HAVING (sum(1) > 1)[0m
|
28727
|
+
[1m[36mSpree::Store Load (0.2ms)[0m [1m[34mSELECT "spree_stores".* FROM "spree_stores" WHERE (1=0 OR "spree_stores"."code" IS NULL) ORDER BY "spree_stores"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
28728
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28729
|
+
FROM sqlite_master
|
28730
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28731
|
+
UNION ALL
|
28732
|
+
SELECT sql
|
28733
|
+
FROM sqlite_temp_master
|
28734
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28735
|
+
[0m
|
28736
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28737
|
+
FROM sqlite_master
|
28738
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28739
|
+
UNION ALL
|
28740
|
+
SELECT sql
|
28741
|
+
FROM sqlite_temp_master
|
28742
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28743
|
+
[0m
|
28744
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28745
|
+
FROM sqlite_master
|
28746
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28747
|
+
UNION ALL
|
28748
|
+
SELECT sql
|
28749
|
+
FROM sqlite_temp_master
|
28750
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28751
|
+
[0m
|
28752
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28753
|
+
FROM sqlite_master
|
28754
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28755
|
+
UNION ALL
|
28756
|
+
SELECT sql
|
28757
|
+
FROM sqlite_temp_master
|
28758
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28759
|
+
[0m
|
28760
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28761
|
+
FROM sqlite_master
|
28762
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28763
|
+
UNION ALL
|
28764
|
+
SELECT sql
|
28765
|
+
FROM sqlite_temp_master
|
28766
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28767
|
+
[0m
|
28768
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28769
|
+
FROM sqlite_master
|
28770
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28771
|
+
UNION ALL
|
28772
|
+
SELECT sql
|
28773
|
+
FROM sqlite_temp_master
|
28774
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
28775
|
+
[0m
|
28776
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP INDEX "index_spree_stores_on_code"[0m
|
28777
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28778
|
+
FROM sqlite_master
|
28779
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28780
|
+
UNION ALL
|
28781
|
+
SELECT sql
|
28782
|
+
FROM sqlite_temp_master
|
28783
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
28784
|
+
[0m
|
28785
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28786
|
+
FROM sqlite_master
|
28787
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28788
|
+
UNION ALL
|
28789
|
+
SELECT sql
|
28790
|
+
FROM sqlite_temp_master
|
28791
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
28792
|
+
[0m
|
28793
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_spree_stores_on_code" ON "spree_stores" ("code")[0m
|
28794
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191814"]]
|
28795
|
+
[1m[35m (179.8ms)[0m [1m[36mcommit transaction[0m
|
28796
|
+
Migrating to AddIndexOnStockLocationToSpreeCustomerReturns (20180516191815)
|
28797
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28798
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28799
|
+
FROM sqlite_master
|
28800
|
+
WHERE name='index_spree_customer_returns_on_number' AND type='index'
|
28801
|
+
UNION ALL
|
28802
|
+
SELECT sql
|
28803
|
+
FROM sqlite_temp_master
|
28804
|
+
WHERE name='index_spree_customer_returns_on_number' AND type='index'
|
28805
|
+
[0m
|
28806
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE INDEX "index_spree_customer_returns_on_stock_location_id" ON "spree_customer_returns" ("stock_location_id")[0m
|
28807
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191815"]]
|
28808
|
+
[1m[35m (129.1ms)[0m [1m[36mcommit transaction[0m
|
28809
|
+
Migrating to AddIndexOnPrototypeToSpreeOptionTypePrototype (20180516191816)
|
28810
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
28811
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "spree_option_type_prototypes"."prototype_id" AS spree_option_type_prototypes_prototype_id, "spree_option_type_prototypes"."option_type_id" AS spree_option_type_prototypes_option_type_id FROM "spree_option_type_prototypes" GROUP BY "spree_option_type_prototypes"."prototype_id", "spree_option_type_prototypes"."option_type_id" HAVING (sum(1) > 1)[0m
|
28812
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28813
|
+
FROM sqlite_master
|
28814
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28815
|
+
UNION ALL
|
28816
|
+
SELECT sql
|
28817
|
+
FROM sqlite_temp_master
|
28818
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28819
|
+
[0m
|
28820
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28821
|
+
FROM sqlite_master
|
28822
|
+
WHERE name='index_option_types_prototypes_on_prototype_and_option_type' AND type='index'
|
28823
|
+
UNION ALL
|
28824
|
+
SELECT sql
|
28825
|
+
FROM sqlite_temp_master
|
28826
|
+
WHERE name='index_option_types_prototypes_on_prototype_and_option_type' AND type='index'
|
28827
|
+
[0m
|
28828
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28829
|
+
FROM sqlite_master
|
28830
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28831
|
+
UNION ALL
|
28832
|
+
SELECT sql
|
28833
|
+
FROM sqlite_temp_master
|
28834
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28835
|
+
[0m
|
28836
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28837
|
+
FROM sqlite_master
|
28838
|
+
WHERE name='index_option_types_prototypes_on_prototype_and_option_type' AND type='index'
|
28839
|
+
UNION ALL
|
28840
|
+
SELECT sql
|
28841
|
+
FROM sqlite_temp_master
|
28842
|
+
WHERE name='index_option_types_prototypes_on_prototype_and_option_type' AND type='index'
|
28843
|
+
[0m
|
28844
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP INDEX "index_option_types_prototypes_on_prototype_and_option_type"[0m
|
28845
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28846
|
+
FROM sqlite_master
|
28847
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28848
|
+
UNION ALL
|
28849
|
+
SELECT sql
|
28850
|
+
FROM sqlite_temp_master
|
28851
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28852
|
+
[0m
|
28853
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "spree_option_type_prototypes_prototype_id_option_type_id" ON "spree_option_type_prototypes" ("prototype_id", "option_type_id")[0m
|
28854
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28855
|
+
FROM sqlite_master
|
28856
|
+
WHERE name='spree_option_type_prototypes_prototype_id_option_type_id' AND type='index'
|
28857
|
+
UNION ALL
|
28858
|
+
SELECT sql
|
28859
|
+
FROM sqlite_temp_master
|
28860
|
+
WHERE name='spree_option_type_prototypes_prototype_id_option_type_id' AND type='index'
|
28861
|
+
[0m
|
28862
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
28863
|
+
FROM sqlite_master
|
28864
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28865
|
+
UNION ALL
|
28866
|
+
SELECT sql
|
28867
|
+
FROM sqlite_temp_master
|
28868
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
28869
|
+
[0m
|
28870
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_option_type_prototypes_on_prototype_id" ON "spree_option_type_prototypes" ("prototype_id")[0m
|
28871
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191816"]]
|
28872
|
+
[1m[35m (159.7ms)[0m [1m[36mcommit transaction[0m
|
28873
|
+
Migrating to AddIndexesToSpreeOptionValueVariant (20180516191817)
|
28874
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
28875
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "spree_option_value_variants"."variant_id" AS spree_option_value_variants_variant_id, "spree_option_value_variants"."option_value_id" AS spree_option_value_variants_option_value_id FROM "spree_option_value_variants" GROUP BY "spree_option_value_variants"."variant_id", "spree_option_value_variants"."option_value_id" HAVING (sum(1) > 1)[0m
|
28876
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28877
|
+
FROM sqlite_master
|
28878
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28879
|
+
UNION ALL
|
28880
|
+
SELECT sql
|
28881
|
+
FROM sqlite_temp_master
|
28882
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28883
|
+
[0m
|
28884
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28885
|
+
FROM sqlite_master
|
28886
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28887
|
+
UNION ALL
|
28888
|
+
SELECT sql
|
28889
|
+
FROM sqlite_temp_master
|
28890
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28891
|
+
[0m
|
28892
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28893
|
+
FROM sqlite_master
|
28894
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28895
|
+
UNION ALL
|
28896
|
+
SELECT sql
|
28897
|
+
FROM sqlite_temp_master
|
28898
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28899
|
+
[0m
|
28900
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28901
|
+
FROM sqlite_master
|
28902
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28903
|
+
UNION ALL
|
28904
|
+
SELECT sql
|
28905
|
+
FROM sqlite_temp_master
|
28906
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28907
|
+
[0m
|
28908
|
+
[1m[35m (0.5ms)[0m [1m[35mDROP INDEX "index_option_values_variants_on_variant_id_and_option_value_id"[0m
|
28909
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28910
|
+
FROM sqlite_master
|
28911
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28912
|
+
UNION ALL
|
28913
|
+
SELECT sql
|
28914
|
+
FROM sqlite_temp_master
|
28915
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28916
|
+
[0m
|
28917
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_option_values_variants_on_variant_id_and_option_value_id" ON "spree_option_value_variants" ("variant_id", "option_value_id")[0m
|
28918
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28919
|
+
FROM sqlite_master
|
28920
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28921
|
+
UNION ALL
|
28922
|
+
SELECT sql
|
28923
|
+
FROM sqlite_temp_master
|
28924
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
28925
|
+
[0m
|
28926
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28927
|
+
FROM sqlite_master
|
28928
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28929
|
+
UNION ALL
|
28930
|
+
SELECT sql
|
28931
|
+
FROM sqlite_temp_master
|
28932
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
28933
|
+
[0m
|
28934
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_option_value_variants_on_variant_id" ON "spree_option_value_variants" ("variant_id")[0m
|
28935
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191817"]]
|
28936
|
+
[1m[35m (156.2ms)[0m [1m[36mcommit transaction[0m
|
28937
|
+
Migrating to AddIndexOnPromotionIdToOrderPromotions (20180516191818)
|
28938
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28939
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28940
|
+
FROM sqlite_master
|
28941
|
+
WHERE name='index_spree_order_promotions_on_promotion_id_and_order_id' AND type='index'
|
28942
|
+
UNION ALL
|
28943
|
+
SELECT sql
|
28944
|
+
FROM sqlite_temp_master
|
28945
|
+
WHERE name='index_spree_order_promotions_on_promotion_id_and_order_id' AND type='index'
|
28946
|
+
[0m
|
28947
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28948
|
+
FROM sqlite_master
|
28949
|
+
WHERE name='index_spree_order_promotions_on_order_id' AND type='index'
|
28950
|
+
UNION ALL
|
28951
|
+
SELECT sql
|
28952
|
+
FROM sqlite_temp_master
|
28953
|
+
WHERE name='index_spree_order_promotions_on_order_id' AND type='index'
|
28954
|
+
[0m
|
28955
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "index_spree_order_promotions_on_promotion_id" ON "spree_order_promotions" ("promotion_id")[0m
|
28956
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191818"]]
|
28957
|
+
[1m[35m (148.8ms)[0m [1m[36mcommit transaction[0m
|
28958
|
+
Migrating to AddIndexesForPropertyPrototype (20180516191819)
|
28959
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28960
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "spree_property_prototypes"."prototype_id" AS spree_property_prototypes_prototype_id, "spree_property_prototypes"."property_id" AS spree_property_prototypes_property_id FROM "spree_property_prototypes" GROUP BY "spree_property_prototypes"."prototype_id", "spree_property_prototypes"."property_id" HAVING (sum(1) > 1)[0m
|
28961
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28962
|
+
FROM sqlite_master
|
28963
|
+
WHERE name='index_properties_prototypes_on_prototype_and_property' AND type='index'
|
28964
|
+
UNION ALL
|
28965
|
+
SELECT sql
|
28966
|
+
FROM sqlite_temp_master
|
28967
|
+
WHERE name='index_properties_prototypes_on_prototype_and_property' AND type='index'
|
28968
|
+
[0m
|
28969
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
28970
|
+
FROM sqlite_master
|
28971
|
+
WHERE name='index_properties_prototypes_on_prototype_and_property' AND type='index'
|
28972
|
+
UNION ALL
|
28973
|
+
SELECT sql
|
28974
|
+
FROM sqlite_temp_master
|
28975
|
+
WHERE name='index_properties_prototypes_on_prototype_and_property' AND type='index'
|
28976
|
+
[0m
|
28977
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP INDEX "index_properties_prototypes_on_prototype_and_property"[0m
|
28978
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_property_prototypes_on_prototype_id_and_property_id" ON "spree_property_prototypes" ("prototype_id", "property_id")[0m
|
28979
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28980
|
+
FROM sqlite_master
|
28981
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
28982
|
+
UNION ALL
|
28983
|
+
SELECT sql
|
28984
|
+
FROM sqlite_temp_master
|
28985
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
28986
|
+
[0m
|
28987
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_property_prototypes_on_prototype_id" ON "spree_property_prototypes" ("prototype_id")[0m
|
28988
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28989
|
+
FROM sqlite_master
|
28990
|
+
WHERE name='index_spree_property_prototypes_on_prototype_id' AND type='index'
|
28991
|
+
UNION ALL
|
28992
|
+
SELECT sql
|
28993
|
+
FROM sqlite_temp_master
|
28994
|
+
WHERE name='index_spree_property_prototypes_on_prototype_id' AND type='index'
|
28995
|
+
[0m
|
28996
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
28997
|
+
FROM sqlite_master
|
28998
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
28999
|
+
UNION ALL
|
29000
|
+
SELECT sql
|
29001
|
+
FROM sqlite_temp_master
|
29002
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
29003
|
+
[0m
|
29004
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_property_prototypes_on_property_id" ON "spree_property_prototypes" ("property_id")[0m
|
29005
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191819"]]
|
29006
|
+
[1m[35m (157.2ms)[0m [1m[36mcommit transaction[0m
|
29007
|
+
Migrating to AddIndexForPrototypeIdToPrototypeTaxons (20180516191820)
|
29008
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29009
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29010
|
+
FROM sqlite_master
|
29011
|
+
WHERE name='index_spree_prototype_taxons_on_taxon_id' AND type='index'
|
29012
|
+
UNION ALL
|
29013
|
+
SELECT sql
|
29014
|
+
FROM sqlite_temp_master
|
29015
|
+
WHERE name='index_spree_prototype_taxons_on_taxon_id' AND type='index'
|
29016
|
+
[0m
|
29017
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29018
|
+
FROM sqlite_master
|
29019
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id_and_taxon_id' AND type='index'
|
29020
|
+
UNION ALL
|
29021
|
+
SELECT sql
|
29022
|
+
FROM sqlite_temp_master
|
29023
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id_and_taxon_id' AND type='index'
|
29024
|
+
[0m
|
29025
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_spree_prototype_taxons_on_prototype_id" ON "spree_prototype_taxons" ("prototype_id")[0m
|
29026
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191820"]]
|
29027
|
+
[1m[35m (147.2ms)[0m [1m[36mcommit transaction[0m
|
29028
|
+
Migrating to AddIndexesToRefunds (20180516191821)
|
29029
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29030
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29031
|
+
FROM sqlite_master
|
29032
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
29033
|
+
UNION ALL
|
29034
|
+
SELECT sql
|
29035
|
+
FROM sqlite_temp_master
|
29036
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
29037
|
+
[0m
|
29038
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_spree_refunds_on_payment_id" ON "spree_refunds" ("payment_id")[0m
|
29039
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29040
|
+
FROM sqlite_master
|
29041
|
+
WHERE name='index_spree_refunds_on_payment_id' AND type='index'
|
29042
|
+
UNION ALL
|
29043
|
+
SELECT sql
|
29044
|
+
FROM sqlite_temp_master
|
29045
|
+
WHERE name='index_spree_refunds_on_payment_id' AND type='index'
|
29046
|
+
[0m
|
29047
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29048
|
+
FROM sqlite_master
|
29049
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
29050
|
+
UNION ALL
|
29051
|
+
SELECT sql
|
29052
|
+
FROM sqlite_temp_master
|
29053
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
29054
|
+
[0m
|
29055
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "index_spree_refunds_on_reimbursement_id" ON "spree_refunds" ("reimbursement_id")[0m
|
29056
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191821"]]
|
29057
|
+
[1m[35m (144.3ms)[0m [1m[36mcommit transaction[0m
|
29058
|
+
Migrating to AddIndexesToReimbursementCredits (20180516191822)
|
29059
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29060
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_spree_reimbursement_credits_on_reimbursement_id" ON "spree_reimbursement_credits" ("reimbursement_id")[0m
|
29061
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29062
|
+
FROM sqlite_master
|
29063
|
+
WHERE name='index_spree_reimbursement_credits_on_reimbursement_id' AND type='index'
|
29064
|
+
UNION ALL
|
29065
|
+
SELECT sql
|
29066
|
+
FROM sqlite_temp_master
|
29067
|
+
WHERE name='index_spree_reimbursement_credits_on_reimbursement_id' AND type='index'
|
29068
|
+
[0m
|
29069
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE INDEX "index_reimbursement_credits_on_creditable_id_and_type" ON "spree_reimbursement_credits" ("creditable_id", "creditable_type")[0m
|
29070
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191822"]]
|
29071
|
+
[1m[35m (146.4ms)[0m [1m[36mcommit transaction[0m
|
29072
|
+
Migrating to AddIndexesToReturnAuthorizations (20180516191823)
|
29073
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
29074
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29075
|
+
FROM sqlite_master
|
29076
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
29077
|
+
UNION ALL
|
29078
|
+
SELECT sql
|
29079
|
+
FROM sqlite_temp_master
|
29080
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
29081
|
+
[0m
|
29082
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29083
|
+
FROM sqlite_master
|
29084
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
29085
|
+
UNION ALL
|
29086
|
+
SELECT sql
|
29087
|
+
FROM sqlite_temp_master
|
29088
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
29089
|
+
[0m
|
29090
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE INDEX "index_spree_return_authorizations_on_order_id" ON "spree_return_authorizations" ("order_id")[0m
|
29091
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29092
|
+
FROM sqlite_master
|
29093
|
+
WHERE name='index_spree_return_authorizations_on_order_id' AND type='index'
|
29094
|
+
UNION ALL
|
29095
|
+
SELECT sql
|
29096
|
+
FROM sqlite_temp_master
|
29097
|
+
WHERE name='index_spree_return_authorizations_on_order_id' AND type='index'
|
29098
|
+
[0m
|
29099
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29100
|
+
FROM sqlite_master
|
29101
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
29102
|
+
UNION ALL
|
29103
|
+
SELECT sql
|
29104
|
+
FROM sqlite_temp_master
|
29105
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
29106
|
+
[0m
|
29107
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29108
|
+
FROM sqlite_master
|
29109
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
29110
|
+
UNION ALL
|
29111
|
+
SELECT sql
|
29112
|
+
FROM sqlite_temp_master
|
29113
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
29114
|
+
[0m
|
29115
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_return_authorizations_on_stock_location_id" ON "spree_return_authorizations" ("stock_location_id")[0m
|
29116
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191823"]]
|
29117
|
+
[1m[35m (189.3ms)[0m [1m[36mcommit transaction[0m
|
29118
|
+
Migrating to AddIndexesToReturnItems (20180516191824)
|
29119
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
29120
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29121
|
+
FROM sqlite_master
|
29122
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29123
|
+
UNION ALL
|
29124
|
+
SELECT sql
|
29125
|
+
FROM sqlite_temp_master
|
29126
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29127
|
+
[0m
|
29128
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_return_authorization_id" ON "spree_return_items" ("return_authorization_id")[0m
|
29129
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29130
|
+
FROM sqlite_master
|
29131
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29132
|
+
UNION ALL
|
29133
|
+
SELECT sql
|
29134
|
+
FROM sqlite_temp_master
|
29135
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29136
|
+
[0m
|
29137
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29138
|
+
FROM sqlite_master
|
29139
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29140
|
+
UNION ALL
|
29141
|
+
SELECT sql
|
29142
|
+
FROM sqlite_temp_master
|
29143
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29144
|
+
[0m
|
29145
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_inventory_unit_id" ON "spree_return_items" ("inventory_unit_id")[0m
|
29146
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29147
|
+
FROM sqlite_master
|
29148
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29149
|
+
UNION ALL
|
29150
|
+
SELECT sql
|
29151
|
+
FROM sqlite_temp_master
|
29152
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29153
|
+
[0m
|
29154
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29155
|
+
FROM sqlite_master
|
29156
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29157
|
+
UNION ALL
|
29158
|
+
SELECT sql
|
29159
|
+
FROM sqlite_temp_master
|
29160
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29161
|
+
[0m
|
29162
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29163
|
+
FROM sqlite_master
|
29164
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29165
|
+
UNION ALL
|
29166
|
+
SELECT sql
|
29167
|
+
FROM sqlite_temp_master
|
29168
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29169
|
+
[0m
|
29170
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_reimbursement_id" ON "spree_return_items" ("reimbursement_id")[0m
|
29171
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29172
|
+
FROM sqlite_master
|
29173
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29174
|
+
UNION ALL
|
29175
|
+
SELECT sql
|
29176
|
+
FROM sqlite_temp_master
|
29177
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29178
|
+
[0m
|
29179
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29180
|
+
FROM sqlite_master
|
29181
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29182
|
+
UNION ALL
|
29183
|
+
SELECT sql
|
29184
|
+
FROM sqlite_temp_master
|
29185
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29186
|
+
[0m
|
29187
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29188
|
+
FROM sqlite_master
|
29189
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29190
|
+
UNION ALL
|
29191
|
+
SELECT sql
|
29192
|
+
FROM sqlite_temp_master
|
29193
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29194
|
+
[0m
|
29195
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29196
|
+
FROM sqlite_master
|
29197
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29198
|
+
UNION ALL
|
29199
|
+
SELECT sql
|
29200
|
+
FROM sqlite_temp_master
|
29201
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29202
|
+
[0m
|
29203
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_exchange_variant_id" ON "spree_return_items" ("exchange_variant_id")[0m
|
29204
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29205
|
+
FROM sqlite_master
|
29206
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
29207
|
+
UNION ALL
|
29208
|
+
SELECT sql
|
29209
|
+
FROM sqlite_temp_master
|
29210
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
29211
|
+
[0m
|
29212
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29213
|
+
FROM sqlite_master
|
29214
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29215
|
+
UNION ALL
|
29216
|
+
SELECT sql
|
29217
|
+
FROM sqlite_temp_master
|
29218
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29219
|
+
[0m
|
29220
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29221
|
+
FROM sqlite_master
|
29222
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29223
|
+
UNION ALL
|
29224
|
+
SELECT sql
|
29225
|
+
FROM sqlite_temp_master
|
29226
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29227
|
+
[0m
|
29228
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29229
|
+
FROM sqlite_master
|
29230
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29231
|
+
UNION ALL
|
29232
|
+
SELECT sql
|
29233
|
+
FROM sqlite_temp_master
|
29234
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29235
|
+
[0m
|
29236
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29237
|
+
FROM sqlite_master
|
29238
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29239
|
+
UNION ALL
|
29240
|
+
SELECT sql
|
29241
|
+
FROM sqlite_temp_master
|
29242
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29243
|
+
[0m
|
29244
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_preferred_reimbursement_type_id" ON "spree_return_items" ("preferred_reimbursement_type_id")[0m
|
29245
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29246
|
+
FROM sqlite_master
|
29247
|
+
WHERE name='index_spree_return_items_on_preferred_reimbursement_type_id' AND type='index'
|
29248
|
+
UNION ALL
|
29249
|
+
SELECT sql
|
29250
|
+
FROM sqlite_temp_master
|
29251
|
+
WHERE name='index_spree_return_items_on_preferred_reimbursement_type_id' AND type='index'
|
29252
|
+
[0m
|
29253
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29254
|
+
FROM sqlite_master
|
29255
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
29256
|
+
UNION ALL
|
29257
|
+
SELECT sql
|
29258
|
+
FROM sqlite_temp_master
|
29259
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
29260
|
+
[0m
|
29261
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29262
|
+
FROM sqlite_master
|
29263
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29264
|
+
UNION ALL
|
29265
|
+
SELECT sql
|
29266
|
+
FROM sqlite_temp_master
|
29267
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
29268
|
+
[0m
|
29269
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29270
|
+
FROM sqlite_master
|
29271
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29272
|
+
UNION ALL
|
29273
|
+
SELECT sql
|
29274
|
+
FROM sqlite_temp_master
|
29275
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
29276
|
+
[0m
|
29277
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29278
|
+
FROM sqlite_master
|
29279
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29280
|
+
UNION ALL
|
29281
|
+
SELECT sql
|
29282
|
+
FROM sqlite_temp_master
|
29283
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
29284
|
+
[0m
|
29285
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29286
|
+
FROM sqlite_master
|
29287
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29288
|
+
UNION ALL
|
29289
|
+
SELECT sql
|
29290
|
+
FROM sqlite_temp_master
|
29291
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
29292
|
+
[0m
|
29293
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_return_items_on_override_reimbursement_type_id" ON "spree_return_items" ("override_reimbursement_type_id")[0m
|
29294
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191824"]]
|
29295
|
+
[1m[35m (154.8ms)[0m [1m[36mcommit transaction[0m
|
29296
|
+
Migrating to AddIndexToRoleUsers (20180516191825)
|
29297
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
29298
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "spree_role_users"."role_id" AS spree_role_users_role_id, "spree_role_users"."user_id" AS spree_role_users_user_id FROM "spree_role_users" GROUP BY "spree_role_users"."role_id", "spree_role_users"."user_id" HAVING (sum(1) > 1)[0m
|
29299
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29300
|
+
FROM sqlite_master
|
29301
|
+
WHERE name='index_spree_role_users_on_role_id' AND type='index'
|
29302
|
+
UNION ALL
|
29303
|
+
SELECT sql
|
29304
|
+
FROM sqlite_temp_master
|
29305
|
+
WHERE name='index_spree_role_users_on_role_id' AND type='index'
|
29306
|
+
[0m
|
29307
|
+
[1m[35m (0.9ms)[0m [1m[34m SELECT sql
|
29308
|
+
FROM sqlite_master
|
29309
|
+
WHERE name='index_spree_role_users_on_user_id' AND type='index'
|
29310
|
+
UNION ALL
|
29311
|
+
SELECT sql
|
29312
|
+
FROM sqlite_temp_master
|
29313
|
+
WHERE name='index_spree_role_users_on_user_id' AND type='index'
|
29314
|
+
[0m
|
29315
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191825"]]
|
29316
|
+
[1m[35m (123.1ms)[0m [1m[36mcommit transaction[0m
|
29317
|
+
Migrating to AddIndexToShippingMethodCategories (20180516191826)
|
29318
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29319
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29320
|
+
FROM sqlite_master
|
29321
|
+
WHERE name='unique_spree_shipping_method_categories' AND type='index'
|
29322
|
+
UNION ALL
|
29323
|
+
SELECT sql
|
29324
|
+
FROM sqlite_temp_master
|
29325
|
+
WHERE name='unique_spree_shipping_method_categories' AND type='index'
|
29326
|
+
[0m
|
29327
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29328
|
+
FROM sqlite_master
|
29329
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_method_id' AND type='index'
|
29330
|
+
UNION ALL
|
29331
|
+
SELECT sql
|
29332
|
+
FROM sqlite_temp_master
|
29333
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_method_id' AND type='index'
|
29334
|
+
[0m
|
29335
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_spree_shipping_method_categories_on_shipping_category_id" ON "spree_shipping_method_categories" ("shipping_category_id")[0m
|
29336
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191826"]]
|
29337
|
+
[1m[35m (162.7ms)[0m [1m[36mcommit transaction[0m
|
29338
|
+
Migrating to AddIndexToShippingMethodZones (20180516191827)
|
29339
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29340
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) AS count_all, "spree_shipping_method_zones"."shipping_method_id" AS spree_shipping_method_zones_shipping_method_id, "spree_shipping_method_zones"."zone_id" AS spree_shipping_method_zones_zone_id FROM "spree_shipping_method_zones" GROUP BY "spree_shipping_method_zones"."shipping_method_id", "spree_shipping_method_zones"."zone_id" HAVING (sum(1) > 1)[0m
|
29341
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE INDEX "index_spree_shipping_method_zones_on_zone_id" ON "spree_shipping_method_zones" ("zone_id")[0m
|
29342
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29343
|
+
FROM sqlite_master
|
29344
|
+
WHERE name='index_spree_shipping_method_zones_on_zone_id' AND type='index'
|
29345
|
+
UNION ALL
|
29346
|
+
SELECT sql
|
29347
|
+
FROM sqlite_temp_master
|
29348
|
+
WHERE name='index_spree_shipping_method_zones_on_zone_id' AND type='index'
|
29349
|
+
[0m
|
29350
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_spree_shipping_method_zones_on_shipping_method_id" ON "spree_shipping_method_zones" ("shipping_method_id")[0m
|
29351
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191827"]]
|
29352
|
+
[1m[35m (155.5ms)[0m [1m[36mcommit transaction[0m
|
29353
|
+
Migrating to AddIndexToSpreeShippingRates (20180516191828)
|
29354
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29355
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29356
|
+
FROM sqlite_master
|
29357
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
29358
|
+
UNION ALL
|
29359
|
+
SELECT sql
|
29360
|
+
FROM sqlite_temp_master
|
29361
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
29362
|
+
[0m
|
29363
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29364
|
+
FROM sqlite_master
|
29365
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
29366
|
+
UNION ALL
|
29367
|
+
SELECT sql
|
29368
|
+
FROM sqlite_temp_master
|
29369
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
29370
|
+
[0m
|
29371
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29372
|
+
FROM sqlite_master
|
29373
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
29374
|
+
UNION ALL
|
29375
|
+
SELECT sql
|
29376
|
+
FROM sqlite_temp_master
|
29377
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
29378
|
+
[0m
|
29379
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_spree_shipping_rates_on_shipment_id" ON "spree_shipping_rates" ("shipment_id")[0m
|
29380
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29381
|
+
FROM sqlite_master
|
29382
|
+
WHERE name='index_spree_shipping_rates_on_shipment_id' AND type='index'
|
29383
|
+
UNION ALL
|
29384
|
+
SELECT sql
|
29385
|
+
FROM sqlite_temp_master
|
29386
|
+
WHERE name='index_spree_shipping_rates_on_shipment_id' AND type='index'
|
29387
|
+
[0m
|
29388
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29389
|
+
FROM sqlite_master
|
29390
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
29391
|
+
UNION ALL
|
29392
|
+
SELECT sql
|
29393
|
+
FROM sqlite_temp_master
|
29394
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
29395
|
+
[0m
|
29396
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29397
|
+
FROM sqlite_master
|
29398
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
29399
|
+
UNION ALL
|
29400
|
+
SELECT sql
|
29401
|
+
FROM sqlite_temp_master
|
29402
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
29403
|
+
[0m
|
29404
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29405
|
+
FROM sqlite_master
|
29406
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
29407
|
+
UNION ALL
|
29408
|
+
SELECT sql
|
29409
|
+
FROM sqlite_temp_master
|
29410
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
29411
|
+
[0m
|
29412
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_spree_shipping_rates_on_shipping_method_id" ON "spree_shipping_rates" ("shipping_method_id")[0m
|
29413
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191828"]]
|
29414
|
+
[1m[35m (142.6ms)[0m [1m[36mcommit transaction[0m
|
29415
|
+
Migrating to AddIndexToSpreeStockItems (20180516191829)
|
29416
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29417
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29418
|
+
FROM sqlite_master
|
29419
|
+
WHERE name='index_spree_stock_items_on_variant_id' AND type='index'
|
29420
|
+
UNION ALL
|
29421
|
+
SELECT sql
|
29422
|
+
FROM sqlite_temp_master
|
29423
|
+
WHERE name='index_spree_stock_items_on_variant_id' AND type='index'
|
29424
|
+
[0m
|
29425
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29426
|
+
FROM sqlite_master
|
29427
|
+
WHERE name='index_spree_stock_items_on_backorderable' AND type='index'
|
29428
|
+
UNION ALL
|
29429
|
+
SELECT sql
|
29430
|
+
FROM sqlite_temp_master
|
29431
|
+
WHERE name='index_spree_stock_items_on_backorderable' AND type='index'
|
29432
|
+
[0m
|
29433
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29434
|
+
FROM sqlite_master
|
29435
|
+
WHERE name='index_spree_stock_items_on_deleted_at' AND type='index'
|
29436
|
+
UNION ALL
|
29437
|
+
SELECT sql
|
29438
|
+
FROM sqlite_temp_master
|
29439
|
+
WHERE name='index_spree_stock_items_on_deleted_at' AND type='index'
|
29440
|
+
[0m
|
29441
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29442
|
+
FROM sqlite_master
|
29443
|
+
WHERE name='stock_item_by_loc_and_var_id' AND type='index'
|
29444
|
+
UNION ALL
|
29445
|
+
SELECT sql
|
29446
|
+
FROM sqlite_temp_master
|
29447
|
+
WHERE name='stock_item_by_loc_and_var_id' AND type='index'
|
29448
|
+
[0m
|
29449
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_spree_stock_items_on_stock_location_id" ON "spree_stock_items" ("stock_location_id")[0m
|
29450
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191829"]]
|
29451
|
+
[1m[35m (136.1ms)[0m [1m[36mcommit transaction[0m
|
29452
|
+
Migrating to AddIndexToSpreeStockMovement (20180516191830)
|
29453
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29454
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29455
|
+
FROM sqlite_master
|
29456
|
+
WHERE name='index_spree_stock_movements_on_stock_item_id' AND type='index'
|
29457
|
+
UNION ALL
|
29458
|
+
SELECT sql
|
29459
|
+
FROM sqlite_temp_master
|
29460
|
+
WHERE name='index_spree_stock_movements_on_stock_item_id' AND type='index'
|
29461
|
+
[0m
|
29462
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_stock_movements_on_originator_id_and_originator_type" ON "spree_stock_movements" ("originator_id", "originator_type")[0m
|
29463
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191830"]]
|
29464
|
+
[1m[35m (126.0ms)[0m [1m[36mcommit transaction[0m
|
29465
|
+
Migrating to ChangeIndexesOnFriendlyIdSlugs (20180516191831)
|
29466
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29467
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29468
|
+
FROM sqlite_master
|
29469
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29470
|
+
UNION ALL
|
29471
|
+
SELECT sql
|
29472
|
+
FROM sqlite_temp_master
|
29473
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29474
|
+
[0m
|
29475
|
+
[1m[35m (0.5ms)[0m [1m[34m SELECT sql
|
29476
|
+
FROM sqlite_master
|
29477
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29478
|
+
UNION ALL
|
29479
|
+
SELECT sql
|
29480
|
+
FROM sqlite_temp_master
|
29481
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29482
|
+
[0m
|
29483
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29484
|
+
FROM sqlite_master
|
29485
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29486
|
+
UNION ALL
|
29487
|
+
SELECT sql
|
29488
|
+
FROM sqlite_temp_master
|
29489
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29490
|
+
[0m
|
29491
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29492
|
+
FROM sqlite_master
|
29493
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29494
|
+
UNION ALL
|
29495
|
+
SELECT sql
|
29496
|
+
FROM sqlite_temp_master
|
29497
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29498
|
+
[0m
|
29499
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29500
|
+
FROM sqlite_master
|
29501
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29502
|
+
UNION ALL
|
29503
|
+
SELECT sql
|
29504
|
+
FROM sqlite_temp_master
|
29505
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29506
|
+
[0m
|
29507
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type"[0m
|
29508
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29509
|
+
FROM sqlite_master
|
29510
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29511
|
+
UNION ALL
|
29512
|
+
SELECT sql
|
29513
|
+
FROM sqlite_temp_master
|
29514
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29515
|
+
[0m
|
29516
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29517
|
+
FROM sqlite_master
|
29518
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29519
|
+
UNION ALL
|
29520
|
+
SELECT sql
|
29521
|
+
FROM sqlite_temp_master
|
29522
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29523
|
+
[0m
|
29524
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29525
|
+
FROM sqlite_master
|
29526
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29527
|
+
UNION ALL
|
29528
|
+
SELECT sql
|
29529
|
+
FROM sqlite_temp_master
|
29530
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29531
|
+
[0m
|
29532
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29533
|
+
FROM sqlite_master
|
29534
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29535
|
+
UNION ALL
|
29536
|
+
SELECT sql
|
29537
|
+
FROM sqlite_temp_master
|
29538
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29539
|
+
[0m
|
29540
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope"[0m
|
29541
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29542
|
+
FROM sqlite_master
|
29543
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29544
|
+
UNION ALL
|
29545
|
+
SELECT sql
|
29546
|
+
FROM sqlite_temp_master
|
29547
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29548
|
+
[0m
|
29549
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29550
|
+
FROM sqlite_master
|
29551
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29552
|
+
UNION ALL
|
29553
|
+
SELECT sql
|
29554
|
+
FROM sqlite_temp_master
|
29555
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29556
|
+
[0m
|
29557
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29558
|
+
FROM sqlite_master
|
29559
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29560
|
+
UNION ALL
|
29561
|
+
SELECT sql
|
29562
|
+
FROM sqlite_temp_master
|
29563
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29564
|
+
[0m
|
29565
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type" ON "friendly_id_slugs" ("slug", "sluggable_type")[0m
|
29566
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29567
|
+
FROM sqlite_master
|
29568
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29569
|
+
UNION ALL
|
29570
|
+
SELECT sql
|
29571
|
+
FROM sqlite_temp_master
|
29572
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29573
|
+
[0m
|
29574
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
29575
|
+
FROM sqlite_master
|
29576
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29577
|
+
UNION ALL
|
29578
|
+
SELECT sql
|
29579
|
+
FROM sqlite_temp_master
|
29580
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29581
|
+
[0m
|
29582
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29583
|
+
FROM sqlite_master
|
29584
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29585
|
+
UNION ALL
|
29586
|
+
SELECT sql
|
29587
|
+
FROM sqlite_temp_master
|
29588
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29589
|
+
[0m
|
29590
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29591
|
+
FROM sqlite_master
|
29592
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29593
|
+
UNION ALL
|
29594
|
+
SELECT sql
|
29595
|
+
FROM sqlite_temp_master
|
29596
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29597
|
+
[0m
|
29598
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope" ON "friendly_id_slugs" ("slug", "sluggable_type", "scope")[0m
|
29599
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191831"]]
|
29600
|
+
[1m[35m (127.0ms)[0m [1m[36mcommit transaction[0m
|
29601
|
+
Migrating to AddAnalyticsKindToSpreeTrackers (20180516191832)
|
29602
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29603
|
+
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "spree_trackers" ADD "kind" integer DEFAULT 0 NOT NULL[0m
|
29604
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191832"]]
|
29605
|
+
[1m[35m (149.4ms)[0m [1m[36mcommit transaction[0m
|
29606
|
+
Migrating to RenameTrackerKindField (20180516191833)
|
29607
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29608
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TEMPORARY TABLE "aspree_trackers" ("id" integer NOT NULL PRIMARY KEY, "analytics_id" varchar DEFAULT NULL, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "engine" integer DEFAULT 0 NOT NULL)[0m
|
29609
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29610
|
+
FROM sqlite_master
|
29611
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
29612
|
+
UNION ALL
|
29613
|
+
SELECT sql
|
29614
|
+
FROM sqlite_temp_master
|
29615
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
29616
|
+
[0m
|
29617
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "tindex_aspree_trackers_on_active" ON "aspree_trackers" ("active")[0m
|
29618
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "aspree_trackers" ("id","analytics_id","active","created_at","updated_at","engine")
|
29619
|
+
SELECT "id","analytics_id","active","created_at","updated_at","kind" FROM "spree_trackers"[0m
|
29620
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "spree_trackers"[0m
|
29621
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "spree_trackers" ("id" integer NOT NULL PRIMARY KEY, "analytics_id" varchar DEFAULT NULL, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "engine" integer DEFAULT 0 NOT NULL)[0m
|
29622
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29623
|
+
FROM sqlite_master
|
29624
|
+
WHERE name='tindex_aspree_trackers_on_active' AND type='index'
|
29625
|
+
UNION ALL
|
29626
|
+
SELECT sql
|
29627
|
+
FROM sqlite_temp_master
|
29628
|
+
WHERE name='tindex_aspree_trackers_on_active' AND type='index'
|
29629
|
+
[0m
|
29630
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE INDEX "index_spree_trackers_on_active" ON "spree_trackers" ("active")[0m
|
29631
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "spree_trackers" ("id","analytics_id","active","created_at","updated_at","engine")
|
29632
|
+
SELECT "id","analytics_id","active","created_at","updated_at","engine" FROM "aspree_trackers"[0m
|
29633
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "aspree_trackers"[0m
|
29634
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29635
|
+
FROM sqlite_master
|
29636
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
29637
|
+
UNION ALL
|
29638
|
+
SELECT sql
|
29639
|
+
FROM sqlite_temp_master
|
29640
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
29641
|
+
[0m
|
29642
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180516191833"]]
|
29643
|
+
[1m[35m (137.1ms)[0m [1m[36mcommit transaction[0m
|
29644
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
29645
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29646
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
29647
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
29648
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29649
|
+
FROM sqlite_master
|
29650
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29651
|
+
UNION ALL
|
29652
|
+
SELECT sql
|
29653
|
+
FROM sqlite_temp_master
|
29654
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope' AND type='index'
|
29655
|
+
[0m
|
29656
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29657
|
+
FROM sqlite_master
|
29658
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29659
|
+
UNION ALL
|
29660
|
+
SELECT sql
|
29661
|
+
FROM sqlite_temp_master
|
29662
|
+
WHERE name='index_friendly_id_slugs_on_slug_and_sluggable_type' AND type='index'
|
29663
|
+
[0m
|
29664
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29665
|
+
FROM sqlite_master
|
29666
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29667
|
+
UNION ALL
|
29668
|
+
SELECT sql
|
29669
|
+
FROM sqlite_temp_master
|
29670
|
+
WHERE name='index_friendly_id_slugs_on_deleted_at' AND type='index'
|
29671
|
+
[0m
|
29672
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29673
|
+
FROM sqlite_master
|
29674
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29675
|
+
UNION ALL
|
29676
|
+
SELECT sql
|
29677
|
+
FROM sqlite_temp_master
|
29678
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_type' AND type='index'
|
29679
|
+
[0m
|
29680
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29681
|
+
FROM sqlite_master
|
29682
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29683
|
+
UNION ALL
|
29684
|
+
SELECT sql
|
29685
|
+
FROM sqlite_temp_master
|
29686
|
+
WHERE name='index_friendly_id_slugs_on_sluggable_id' AND type='index'
|
29687
|
+
[0m
|
29688
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29689
|
+
FROM sqlite_master
|
29690
|
+
WHERE name='index_spree_addresses_on_state_id' AND type='index'
|
29691
|
+
UNION ALL
|
29692
|
+
SELECT sql
|
29693
|
+
FROM sqlite_temp_master
|
29694
|
+
WHERE name='index_spree_addresses_on_state_id' AND type='index'
|
29695
|
+
[0m
|
29696
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29697
|
+
FROM sqlite_master
|
29698
|
+
WHERE name='index_spree_addresses_on_country_id' AND type='index'
|
29699
|
+
UNION ALL
|
29700
|
+
SELECT sql
|
29701
|
+
FROM sqlite_temp_master
|
29702
|
+
WHERE name='index_spree_addresses_on_country_id' AND type='index'
|
29703
|
+
[0m
|
29704
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29705
|
+
FROM sqlite_master
|
29706
|
+
WHERE name='index_addresses_on_lastname' AND type='index'
|
29707
|
+
UNION ALL
|
29708
|
+
SELECT sql
|
29709
|
+
FROM sqlite_temp_master
|
29710
|
+
WHERE name='index_addresses_on_lastname' AND type='index'
|
29711
|
+
[0m
|
29712
|
+
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
|
29713
|
+
FROM sqlite_master
|
29714
|
+
WHERE name='index_addresses_on_firstname' AND type='index'
|
29715
|
+
UNION ALL
|
29716
|
+
SELECT sql
|
29717
|
+
FROM sqlite_temp_master
|
29718
|
+
WHERE name='index_addresses_on_firstname' AND type='index'
|
29719
|
+
[0m
|
29720
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29721
|
+
FROM sqlite_master
|
29722
|
+
WHERE name='index_spree_adjustments_on_source_id_and_source_type' AND type='index'
|
29723
|
+
UNION ALL
|
29724
|
+
SELECT sql
|
29725
|
+
FROM sqlite_temp_master
|
29726
|
+
WHERE name='index_spree_adjustments_on_source_id_and_source_type' AND type='index'
|
29727
|
+
[0m
|
29728
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29729
|
+
FROM sqlite_master
|
29730
|
+
WHERE name='index_spree_adjustments_on_order_id' AND type='index'
|
29731
|
+
UNION ALL
|
29732
|
+
SELECT sql
|
29733
|
+
FROM sqlite_temp_master
|
29734
|
+
WHERE name='index_spree_adjustments_on_order_id' AND type='index'
|
29735
|
+
[0m
|
29736
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29737
|
+
FROM sqlite_master
|
29738
|
+
WHERE name='index_spree_adjustments_on_eligible' AND type='index'
|
29739
|
+
UNION ALL
|
29740
|
+
SELECT sql
|
29741
|
+
FROM sqlite_temp_master
|
29742
|
+
WHERE name='index_spree_adjustments_on_eligible' AND type='index'
|
29743
|
+
[0m
|
29744
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29745
|
+
FROM sqlite_master
|
29746
|
+
WHERE name='index_spree_adjustments_on_adjustable_id_and_adjustable_type' AND type='index'
|
29747
|
+
UNION ALL
|
29748
|
+
SELECT sql
|
29749
|
+
FROM sqlite_temp_master
|
29750
|
+
WHERE name='index_spree_adjustments_on_adjustable_id_and_adjustable_type' AND type='index'
|
29751
|
+
[0m
|
29752
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29753
|
+
FROM sqlite_master
|
29754
|
+
WHERE name='index_spree_assets_on_position' AND type='index'
|
29755
|
+
UNION ALL
|
29756
|
+
SELECT sql
|
29757
|
+
FROM sqlite_temp_master
|
29758
|
+
WHERE name='index_spree_assets_on_position' AND type='index'
|
29759
|
+
[0m
|
29760
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29761
|
+
FROM sqlite_master
|
29762
|
+
WHERE name='index_assets_on_viewable_type_and_type' AND type='index'
|
29763
|
+
UNION ALL
|
29764
|
+
SELECT sql
|
29765
|
+
FROM sqlite_temp_master
|
29766
|
+
WHERE name='index_assets_on_viewable_type_and_type' AND type='index'
|
29767
|
+
[0m
|
29768
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29769
|
+
FROM sqlite_master
|
29770
|
+
WHERE name='index_assets_on_viewable_id' AND type='index'
|
29771
|
+
UNION ALL
|
29772
|
+
SELECT sql
|
29773
|
+
FROM sqlite_temp_master
|
29774
|
+
WHERE name='index_assets_on_viewable_id' AND type='index'
|
29775
|
+
[0m
|
29776
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29777
|
+
FROM sqlite_master
|
29778
|
+
WHERE name='index_spree_calculators_on_deleted_at' AND type='index'
|
29779
|
+
UNION ALL
|
29780
|
+
SELECT sql
|
29781
|
+
FROM sqlite_temp_master
|
29782
|
+
WHERE name='index_spree_calculators_on_deleted_at' AND type='index'
|
29783
|
+
[0m
|
29784
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29785
|
+
FROM sqlite_master
|
29786
|
+
WHERE name='index_spree_calculators_on_calculable_id_and_calculable_type' AND type='index'
|
29787
|
+
UNION ALL
|
29788
|
+
SELECT sql
|
29789
|
+
FROM sqlite_temp_master
|
29790
|
+
WHERE name='index_spree_calculators_on_calculable_id_and_calculable_type' AND type='index'
|
29791
|
+
[0m
|
29792
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29793
|
+
FROM sqlite_master
|
29794
|
+
WHERE name='index_spree_calculators_on_id_and_type' AND type='index'
|
29795
|
+
UNION ALL
|
29796
|
+
SELECT sql
|
29797
|
+
FROM sqlite_temp_master
|
29798
|
+
WHERE name='index_spree_calculators_on_id_and_type' AND type='index'
|
29799
|
+
[0m
|
29800
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29801
|
+
FROM sqlite_master
|
29802
|
+
WHERE name='index_spree_countries_on_iso_name' AND type='index'
|
29803
|
+
UNION ALL
|
29804
|
+
SELECT sql
|
29805
|
+
FROM sqlite_temp_master
|
29806
|
+
WHERE name='index_spree_countries_on_iso_name' AND type='index'
|
29807
|
+
[0m
|
29808
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29809
|
+
FROM sqlite_master
|
29810
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
29811
|
+
UNION ALL
|
29812
|
+
SELECT sql
|
29813
|
+
FROM sqlite_temp_master
|
29814
|
+
WHERE name='index_spree_countries_on_name' AND type='index'
|
29815
|
+
[0m
|
29816
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29817
|
+
FROM sqlite_master
|
29818
|
+
WHERE name='index_spree_credit_cards_on_address_id' AND type='index'
|
29819
|
+
UNION ALL
|
29820
|
+
SELECT sql
|
29821
|
+
FROM sqlite_temp_master
|
29822
|
+
WHERE name='index_spree_credit_cards_on_address_id' AND type='index'
|
29823
|
+
[0m
|
29824
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29825
|
+
FROM sqlite_master
|
29826
|
+
WHERE name='index_spree_credit_cards_on_payment_method_id' AND type='index'
|
29827
|
+
UNION ALL
|
29828
|
+
SELECT sql
|
29829
|
+
FROM sqlite_temp_master
|
29830
|
+
WHERE name='index_spree_credit_cards_on_payment_method_id' AND type='index'
|
29831
|
+
[0m
|
29832
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29833
|
+
FROM sqlite_master
|
29834
|
+
WHERE name='index_spree_credit_cards_on_user_id' AND type='index'
|
29835
|
+
UNION ALL
|
29836
|
+
SELECT sql
|
29837
|
+
FROM sqlite_temp_master
|
29838
|
+
WHERE name='index_spree_credit_cards_on_user_id' AND type='index'
|
29839
|
+
[0m
|
29840
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29841
|
+
FROM sqlite_master
|
29842
|
+
WHERE name='index_spree_customer_returns_on_stock_location_id' AND type='index'
|
29843
|
+
UNION ALL
|
29844
|
+
SELECT sql
|
29845
|
+
FROM sqlite_temp_master
|
29846
|
+
WHERE name='index_spree_customer_returns_on_stock_location_id' AND type='index'
|
29847
|
+
[0m
|
29848
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29849
|
+
FROM sqlite_master
|
29850
|
+
WHERE name='index_spree_customer_returns_on_number' AND type='index'
|
29851
|
+
UNION ALL
|
29852
|
+
SELECT sql
|
29853
|
+
FROM sqlite_temp_master
|
29854
|
+
WHERE name='index_spree_customer_returns_on_number' AND type='index'
|
29855
|
+
[0m
|
29856
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29857
|
+
FROM sqlite_master
|
29858
|
+
WHERE name='index_spree_gateways_on_test_mode' AND type='index'
|
29859
|
+
UNION ALL
|
29860
|
+
SELECT sql
|
29861
|
+
FROM sqlite_temp_master
|
29862
|
+
WHERE name='index_spree_gateways_on_test_mode' AND type='index'
|
29863
|
+
[0m
|
29864
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29865
|
+
FROM sqlite_master
|
29866
|
+
WHERE name='index_spree_gateways_on_active' AND type='index'
|
29867
|
+
UNION ALL
|
29868
|
+
SELECT sql
|
29869
|
+
FROM sqlite_temp_master
|
29870
|
+
WHERE name='index_spree_gateways_on_active' AND type='index'
|
29871
|
+
[0m
|
29872
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29873
|
+
FROM sqlite_master
|
29874
|
+
WHERE name='index_spree_inventory_units_on_original_return_item_id' AND type='index'
|
29875
|
+
UNION ALL
|
29876
|
+
SELECT sql
|
29877
|
+
FROM sqlite_temp_master
|
29878
|
+
WHERE name='index_spree_inventory_units_on_original_return_item_id' AND type='index'
|
29879
|
+
[0m
|
29880
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29881
|
+
FROM sqlite_master
|
29882
|
+
WHERE name='index_spree_inventory_units_on_line_item_id' AND type='index'
|
29883
|
+
UNION ALL
|
29884
|
+
SELECT sql
|
29885
|
+
FROM sqlite_temp_master
|
29886
|
+
WHERE name='index_spree_inventory_units_on_line_item_id' AND type='index'
|
29887
|
+
[0m
|
29888
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29889
|
+
FROM sqlite_master
|
29890
|
+
WHERE name='index_inventory_units_on_variant_id' AND type='index'
|
29891
|
+
UNION ALL
|
29892
|
+
SELECT sql
|
29893
|
+
FROM sqlite_temp_master
|
29894
|
+
WHERE name='index_inventory_units_on_variant_id' AND type='index'
|
29895
|
+
[0m
|
29896
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29897
|
+
FROM sqlite_master
|
29898
|
+
WHERE name='index_inventory_units_on_shipment_id' AND type='index'
|
29899
|
+
UNION ALL
|
29900
|
+
SELECT sql
|
29901
|
+
FROM sqlite_temp_master
|
29902
|
+
WHERE name='index_inventory_units_on_shipment_id' AND type='index'
|
29903
|
+
[0m
|
29904
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29905
|
+
FROM sqlite_master
|
29906
|
+
WHERE name='index_inventory_units_on_order_id' AND type='index'
|
29907
|
+
UNION ALL
|
29908
|
+
SELECT sql
|
29909
|
+
FROM sqlite_temp_master
|
29910
|
+
WHERE name='index_inventory_units_on_order_id' AND type='index'
|
29911
|
+
[0m
|
29912
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29913
|
+
FROM sqlite_master
|
29914
|
+
WHERE name='index_spree_line_items_on_tax_category_id' AND type='index'
|
29915
|
+
UNION ALL
|
29916
|
+
SELECT sql
|
29917
|
+
FROM sqlite_temp_master
|
29918
|
+
WHERE name='index_spree_line_items_on_tax_category_id' AND type='index'
|
29919
|
+
[0m
|
29920
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29921
|
+
FROM sqlite_master
|
29922
|
+
WHERE name='index_spree_line_items_on_variant_id' AND type='index'
|
29923
|
+
UNION ALL
|
29924
|
+
SELECT sql
|
29925
|
+
FROM sqlite_temp_master
|
29926
|
+
WHERE name='index_spree_line_items_on_variant_id' AND type='index'
|
29927
|
+
[0m
|
29928
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29929
|
+
FROM sqlite_master
|
29930
|
+
WHERE name='index_spree_line_items_on_order_id' AND type='index'
|
29931
|
+
UNION ALL
|
29932
|
+
SELECT sql
|
29933
|
+
FROM sqlite_temp_master
|
29934
|
+
WHERE name='index_spree_line_items_on_order_id' AND type='index'
|
29935
|
+
[0m
|
29936
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29937
|
+
FROM sqlite_master
|
29938
|
+
WHERE name='index_spree_log_entries_on_source_id_and_source_type' AND type='index'
|
29939
|
+
UNION ALL
|
29940
|
+
SELECT sql
|
29941
|
+
FROM sqlite_temp_master
|
29942
|
+
WHERE name='index_spree_log_entries_on_source_id_and_source_type' AND type='index'
|
29943
|
+
[0m
|
29944
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29945
|
+
FROM sqlite_master
|
29946
|
+
WHERE name='index_spree_option_type_prototypes_on_prototype_id' AND type='index'
|
29947
|
+
UNION ALL
|
29948
|
+
SELECT sql
|
29949
|
+
FROM sqlite_temp_master
|
29950
|
+
WHERE name='index_spree_option_type_prototypes_on_prototype_id' AND type='index'
|
29951
|
+
[0m
|
29952
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29953
|
+
FROM sqlite_master
|
29954
|
+
WHERE name='spree_option_type_prototypes_prototype_id_option_type_id' AND type='index'
|
29955
|
+
UNION ALL
|
29956
|
+
SELECT sql
|
29957
|
+
FROM sqlite_temp_master
|
29958
|
+
WHERE name='spree_option_type_prototypes_prototype_id_option_type_id' AND type='index'
|
29959
|
+
[0m
|
29960
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29961
|
+
FROM sqlite_master
|
29962
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
29963
|
+
UNION ALL
|
29964
|
+
SELECT sql
|
29965
|
+
FROM sqlite_temp_master
|
29966
|
+
WHERE name='index_spree_option_type_prototypes_on_option_type_id' AND type='index'
|
29967
|
+
[0m
|
29968
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29969
|
+
FROM sqlite_master
|
29970
|
+
WHERE name='index_spree_option_types_on_name' AND type='index'
|
29971
|
+
UNION ALL
|
29972
|
+
SELECT sql
|
29973
|
+
FROM sqlite_temp_master
|
29974
|
+
WHERE name='index_spree_option_types_on_name' AND type='index'
|
29975
|
+
[0m
|
29976
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29977
|
+
FROM sqlite_master
|
29978
|
+
WHERE name='index_spree_option_types_on_position' AND type='index'
|
29979
|
+
UNION ALL
|
29980
|
+
SELECT sql
|
29981
|
+
FROM sqlite_temp_master
|
29982
|
+
WHERE name='index_spree_option_types_on_position' AND type='index'
|
29983
|
+
[0m
|
29984
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29985
|
+
FROM sqlite_master
|
29986
|
+
WHERE name='index_spree_option_value_variants_on_variant_id' AND type='index'
|
29987
|
+
UNION ALL
|
29988
|
+
SELECT sql
|
29989
|
+
FROM sqlite_temp_master
|
29990
|
+
WHERE name='index_spree_option_value_variants_on_variant_id' AND type='index'
|
29991
|
+
[0m
|
29992
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
29993
|
+
FROM sqlite_master
|
29994
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
29995
|
+
UNION ALL
|
29996
|
+
SELECT sql
|
29997
|
+
FROM sqlite_temp_master
|
29998
|
+
WHERE name='index_option_values_variants_on_variant_id_and_option_value_id' AND type='index'
|
29999
|
+
[0m
|
30000
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30001
|
+
FROM sqlite_master
|
30002
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
30003
|
+
UNION ALL
|
30004
|
+
SELECT sql
|
30005
|
+
FROM sqlite_temp_master
|
30006
|
+
WHERE name='index_spree_option_value_variants_on_option_value_id' AND type='index'
|
30007
|
+
[0m
|
30008
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30009
|
+
FROM sqlite_master
|
30010
|
+
WHERE name='index_spree_option_values_on_name' AND type='index'
|
30011
|
+
UNION ALL
|
30012
|
+
SELECT sql
|
30013
|
+
FROM sqlite_temp_master
|
30014
|
+
WHERE name='index_spree_option_values_on_name' AND type='index'
|
30015
|
+
[0m
|
30016
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30017
|
+
FROM sqlite_master
|
30018
|
+
WHERE name='index_spree_option_values_on_position' AND type='index'
|
30019
|
+
UNION ALL
|
30020
|
+
SELECT sql
|
30021
|
+
FROM sqlite_temp_master
|
30022
|
+
WHERE name='index_spree_option_values_on_position' AND type='index'
|
30023
|
+
[0m
|
30024
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30025
|
+
FROM sqlite_master
|
30026
|
+
WHERE name='index_spree_option_values_on_option_type_id' AND type='index'
|
30027
|
+
UNION ALL
|
30028
|
+
SELECT sql
|
30029
|
+
FROM sqlite_temp_master
|
30030
|
+
WHERE name='index_spree_option_values_on_option_type_id' AND type='index'
|
30031
|
+
[0m
|
30032
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30033
|
+
FROM sqlite_master
|
30034
|
+
WHERE name='index_spree_order_promotions_on_promotion_id' AND type='index'
|
30035
|
+
UNION ALL
|
30036
|
+
SELECT sql
|
30037
|
+
FROM sqlite_temp_master
|
30038
|
+
WHERE name='index_spree_order_promotions_on_promotion_id' AND type='index'
|
30039
|
+
[0m
|
30040
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30041
|
+
FROM sqlite_master
|
30042
|
+
WHERE name='index_spree_order_promotions_on_promotion_id_and_order_id' AND type='index'
|
30043
|
+
UNION ALL
|
30044
|
+
SELECT sql
|
30045
|
+
FROM sqlite_temp_master
|
30046
|
+
WHERE name='index_spree_order_promotions_on_promotion_id_and_order_id' AND type='index'
|
30047
|
+
[0m
|
30048
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30049
|
+
FROM sqlite_master
|
30050
|
+
WHERE name='index_spree_order_promotions_on_order_id' AND type='index'
|
30051
|
+
UNION ALL
|
30052
|
+
SELECT sql
|
30053
|
+
FROM sqlite_temp_master
|
30054
|
+
WHERE name='index_spree_order_promotions_on_order_id' AND type='index'
|
30055
|
+
[0m
|
30056
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30057
|
+
FROM sqlite_master
|
30058
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
30059
|
+
UNION ALL
|
30060
|
+
SELECT sql
|
30061
|
+
FROM sqlite_temp_master
|
30062
|
+
WHERE name='index_spree_orders_on_number' AND type='index'
|
30063
|
+
[0m
|
30064
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30065
|
+
FROM sqlite_master
|
30066
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
30067
|
+
UNION ALL
|
30068
|
+
SELECT sql
|
30069
|
+
FROM sqlite_temp_master
|
30070
|
+
WHERE name='index_spree_orders_on_store_id' AND type='index'
|
30071
|
+
[0m
|
30072
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30073
|
+
FROM sqlite_master
|
30074
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
30075
|
+
UNION ALL
|
30076
|
+
SELECT sql
|
30077
|
+
FROM sqlite_temp_master
|
30078
|
+
WHERE name='index_spree_orders_on_canceler_id' AND type='index'
|
30079
|
+
[0m
|
30080
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30081
|
+
FROM sqlite_master
|
30082
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
30083
|
+
UNION ALL
|
30084
|
+
SELECT sql
|
30085
|
+
FROM sqlite_temp_master
|
30086
|
+
WHERE name='index_spree_orders_on_guest_token' AND type='index'
|
30087
|
+
[0m
|
30088
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30089
|
+
FROM sqlite_master
|
30090
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
30091
|
+
UNION ALL
|
30092
|
+
SELECT sql
|
30093
|
+
FROM sqlite_temp_master
|
30094
|
+
WHERE name='index_spree_orders_on_user_id_and_created_by_id' AND type='index'
|
30095
|
+
[0m
|
30096
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30097
|
+
FROM sqlite_master
|
30098
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
30099
|
+
UNION ALL
|
30100
|
+
SELECT sql
|
30101
|
+
FROM sqlite_temp_master
|
30102
|
+
WHERE name='index_spree_orders_on_ship_address_id' AND type='index'
|
30103
|
+
[0m
|
30104
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30105
|
+
FROM sqlite_master
|
30106
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
30107
|
+
UNION ALL
|
30108
|
+
SELECT sql
|
30109
|
+
FROM sqlite_temp_master
|
30110
|
+
WHERE name='index_spree_orders_on_created_by_id' AND type='index'
|
30111
|
+
[0m
|
30112
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30113
|
+
FROM sqlite_master
|
30114
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
30115
|
+
UNION ALL
|
30116
|
+
SELECT sql
|
30117
|
+
FROM sqlite_temp_master
|
30118
|
+
WHERE name='index_spree_orders_on_considered_risky' AND type='index'
|
30119
|
+
[0m
|
30120
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30121
|
+
FROM sqlite_master
|
30122
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
30123
|
+
UNION ALL
|
30124
|
+
SELECT sql
|
30125
|
+
FROM sqlite_temp_master
|
30126
|
+
WHERE name='index_spree_orders_on_confirmation_delivered' AND type='index'
|
30127
|
+
[0m
|
30128
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30129
|
+
FROM sqlite_master
|
30130
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
30131
|
+
UNION ALL
|
30132
|
+
SELECT sql
|
30133
|
+
FROM sqlite_temp_master
|
30134
|
+
WHERE name='index_spree_orders_on_bill_address_id' AND type='index'
|
30135
|
+
[0m
|
30136
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30137
|
+
FROM sqlite_master
|
30138
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
30139
|
+
UNION ALL
|
30140
|
+
SELECT sql
|
30141
|
+
FROM sqlite_temp_master
|
30142
|
+
WHERE name='index_spree_orders_on_approver_id' AND type='index'
|
30143
|
+
[0m
|
30144
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30145
|
+
FROM sqlite_master
|
30146
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
30147
|
+
UNION ALL
|
30148
|
+
SELECT sql
|
30149
|
+
FROM sqlite_temp_master
|
30150
|
+
WHERE name='index_spree_orders_on_completed_at' AND type='index'
|
30151
|
+
[0m
|
30152
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30153
|
+
FROM sqlite_master
|
30154
|
+
WHERE name='index_spree_payment_capture_events_on_payment_id' AND type='index'
|
30155
|
+
UNION ALL
|
30156
|
+
SELECT sql
|
30157
|
+
FROM sqlite_temp_master
|
30158
|
+
WHERE name='index_spree_payment_capture_events_on_payment_id' AND type='index'
|
30159
|
+
[0m
|
30160
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30161
|
+
FROM sqlite_master
|
30162
|
+
WHERE name='index_spree_payment_methods_on_id_and_type' AND type='index'
|
30163
|
+
UNION ALL
|
30164
|
+
SELECT sql
|
30165
|
+
FROM sqlite_temp_master
|
30166
|
+
WHERE name='index_spree_payment_methods_on_id_and_type' AND type='index'
|
30167
|
+
[0m
|
30168
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30169
|
+
FROM sqlite_master
|
30170
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
30171
|
+
UNION ALL
|
30172
|
+
SELECT sql
|
30173
|
+
FROM sqlite_temp_master
|
30174
|
+
WHERE name='index_spree_payments_on_number' AND type='index'
|
30175
|
+
[0m
|
30176
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30177
|
+
FROM sqlite_master
|
30178
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
30179
|
+
UNION ALL
|
30180
|
+
SELECT sql
|
30181
|
+
FROM sqlite_temp_master
|
30182
|
+
WHERE name='index_spree_payments_on_source_id_and_source_type' AND type='index'
|
30183
|
+
[0m
|
30184
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30185
|
+
FROM sqlite_master
|
30186
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
30187
|
+
UNION ALL
|
30188
|
+
SELECT sql
|
30189
|
+
FROM sqlite_temp_master
|
30190
|
+
WHERE name='index_spree_payments_on_payment_method_id' AND type='index'
|
30191
|
+
[0m
|
30192
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30193
|
+
FROM sqlite_master
|
30194
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
30195
|
+
UNION ALL
|
30196
|
+
SELECT sql
|
30197
|
+
FROM sqlite_temp_master
|
30198
|
+
WHERE name='index_spree_payments_on_order_id' AND type='index'
|
30199
|
+
[0m
|
30200
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30201
|
+
FROM sqlite_master
|
30202
|
+
WHERE name='index_spree_preferences_on_key' AND type='index'
|
30203
|
+
UNION ALL
|
30204
|
+
SELECT sql
|
30205
|
+
FROM sqlite_temp_master
|
30206
|
+
WHERE name='index_spree_preferences_on_key' AND type='index'
|
30207
|
+
[0m
|
30208
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30209
|
+
FROM sqlite_master
|
30210
|
+
WHERE name='index_spree_prices_on_variant_id' AND type='index'
|
30211
|
+
UNION ALL
|
30212
|
+
SELECT sql
|
30213
|
+
FROM sqlite_temp_master
|
30214
|
+
WHERE name='index_spree_prices_on_variant_id' AND type='index'
|
30215
|
+
[0m
|
30216
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30217
|
+
FROM sqlite_master
|
30218
|
+
WHERE name='index_spree_prices_on_deleted_at' AND type='index'
|
30219
|
+
UNION ALL
|
30220
|
+
SELECT sql
|
30221
|
+
FROM sqlite_temp_master
|
30222
|
+
WHERE name='index_spree_prices_on_deleted_at' AND type='index'
|
30223
|
+
[0m
|
30224
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30225
|
+
FROM sqlite_master
|
30226
|
+
WHERE name='index_spree_prices_on_variant_id_and_currency' AND type='index'
|
30227
|
+
UNION ALL
|
30228
|
+
SELECT sql
|
30229
|
+
FROM sqlite_temp_master
|
30230
|
+
WHERE name='index_spree_prices_on_variant_id_and_currency' AND type='index'
|
30231
|
+
[0m
|
30232
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30233
|
+
FROM sqlite_master
|
30234
|
+
WHERE name='index_spree_product_option_types_on_position' AND type='index'
|
30235
|
+
UNION ALL
|
30236
|
+
SELECT sql
|
30237
|
+
FROM sqlite_temp_master
|
30238
|
+
WHERE name='index_spree_product_option_types_on_position' AND type='index'
|
30239
|
+
[0m
|
30240
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30241
|
+
FROM sqlite_master
|
30242
|
+
WHERE name='index_spree_product_option_types_on_product_id' AND type='index'
|
30243
|
+
UNION ALL
|
30244
|
+
SELECT sql
|
30245
|
+
FROM sqlite_temp_master
|
30246
|
+
WHERE name='index_spree_product_option_types_on_product_id' AND type='index'
|
30247
|
+
[0m
|
30248
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30249
|
+
FROM sqlite_master
|
30250
|
+
WHERE name='index_spree_product_option_types_on_option_type_id' AND type='index'
|
30251
|
+
UNION ALL
|
30252
|
+
SELECT sql
|
30253
|
+
FROM sqlite_temp_master
|
30254
|
+
WHERE name='index_spree_product_option_types_on_option_type_id' AND type='index'
|
30255
|
+
[0m
|
30256
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30257
|
+
FROM sqlite_master
|
30258
|
+
WHERE name='index_products_promotion_rules_on_promotion_rule_and_product' AND type='index'
|
30259
|
+
UNION ALL
|
30260
|
+
SELECT sql
|
30261
|
+
FROM sqlite_temp_master
|
30262
|
+
WHERE name='index_products_promotion_rules_on_promotion_rule_and_product' AND type='index'
|
30263
|
+
[0m
|
30264
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30265
|
+
FROM sqlite_master
|
30266
|
+
WHERE name='index_products_promotion_rules_on_product_id' AND type='index'
|
30267
|
+
UNION ALL
|
30268
|
+
SELECT sql
|
30269
|
+
FROM sqlite_temp_master
|
30270
|
+
WHERE name='index_products_promotion_rules_on_product_id' AND type='index'
|
30271
|
+
[0m
|
30272
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30273
|
+
FROM sqlite_master
|
30274
|
+
WHERE name='index_spree_product_properties_on_property_id' AND type='index'
|
30275
|
+
UNION ALL
|
30276
|
+
SELECT sql
|
30277
|
+
FROM sqlite_temp_master
|
30278
|
+
WHERE name='index_spree_product_properties_on_property_id' AND type='index'
|
30279
|
+
[0m
|
30280
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30281
|
+
FROM sqlite_master
|
30282
|
+
WHERE name='index_spree_product_properties_on_position' AND type='index'
|
30283
|
+
UNION ALL
|
30284
|
+
SELECT sql
|
30285
|
+
FROM sqlite_temp_master
|
30286
|
+
WHERE name='index_spree_product_properties_on_position' AND type='index'
|
30287
|
+
[0m
|
30288
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30289
|
+
FROM sqlite_master
|
30290
|
+
WHERE name='index_product_properties_on_product_id' AND type='index'
|
30291
|
+
UNION ALL
|
30292
|
+
SELECT sql
|
30293
|
+
FROM sqlite_temp_master
|
30294
|
+
WHERE name='index_product_properties_on_product_id' AND type='index'
|
30295
|
+
[0m
|
30296
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30297
|
+
FROM sqlite_master
|
30298
|
+
WHERE name='index_spree_products_on_discontinue_on' AND type='index'
|
30299
|
+
UNION ALL
|
30300
|
+
SELECT sql
|
30301
|
+
FROM sqlite_temp_master
|
30302
|
+
WHERE name='index_spree_products_on_discontinue_on' AND type='index'
|
30303
|
+
[0m
|
30304
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30305
|
+
FROM sqlite_master
|
30306
|
+
WHERE name='index_spree_products_on_slug' AND type='index'
|
30307
|
+
UNION ALL
|
30308
|
+
SELECT sql
|
30309
|
+
FROM sqlite_temp_master
|
30310
|
+
WHERE name='index_spree_products_on_slug' AND type='index'
|
30311
|
+
[0m
|
30312
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30313
|
+
FROM sqlite_master
|
30314
|
+
WHERE name='index_spree_products_on_tax_category_id' AND type='index'
|
30315
|
+
UNION ALL
|
30316
|
+
SELECT sql
|
30317
|
+
FROM sqlite_temp_master
|
30318
|
+
WHERE name='index_spree_products_on_tax_category_id' AND type='index'
|
30319
|
+
[0m
|
30320
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30321
|
+
FROM sqlite_master
|
30322
|
+
WHERE name='index_spree_products_on_shipping_category_id' AND type='index'
|
30323
|
+
UNION ALL
|
30324
|
+
SELECT sql
|
30325
|
+
FROM sqlite_temp_master
|
30326
|
+
WHERE name='index_spree_products_on_shipping_category_id' AND type='index'
|
30327
|
+
[0m
|
30328
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30329
|
+
FROM sqlite_master
|
30330
|
+
WHERE name='index_spree_products_on_name' AND type='index'
|
30331
|
+
UNION ALL
|
30332
|
+
SELECT sql
|
30333
|
+
FROM sqlite_temp_master
|
30334
|
+
WHERE name='index_spree_products_on_name' AND type='index'
|
30335
|
+
[0m
|
30336
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30337
|
+
FROM sqlite_master
|
30338
|
+
WHERE name='index_spree_products_on_deleted_at' AND type='index'
|
30339
|
+
UNION ALL
|
30340
|
+
SELECT sql
|
30341
|
+
FROM sqlite_temp_master
|
30342
|
+
WHERE name='index_spree_products_on_deleted_at' AND type='index'
|
30343
|
+
[0m
|
30344
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30345
|
+
FROM sqlite_master
|
30346
|
+
WHERE name='index_spree_products_on_available_on' AND type='index'
|
30347
|
+
UNION ALL
|
30348
|
+
SELECT sql
|
30349
|
+
FROM sqlite_temp_master
|
30350
|
+
WHERE name='index_spree_products_on_available_on' AND type='index'
|
30351
|
+
[0m
|
30352
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30353
|
+
FROM sqlite_master
|
30354
|
+
WHERE name='index_spree_products_taxons_on_position' AND type='index'
|
30355
|
+
UNION ALL
|
30356
|
+
SELECT sql
|
30357
|
+
FROM sqlite_temp_master
|
30358
|
+
WHERE name='index_spree_products_taxons_on_position' AND type='index'
|
30359
|
+
[0m
|
30360
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30361
|
+
FROM sqlite_master
|
30362
|
+
WHERE name='index_spree_products_taxons_on_taxon_id' AND type='index'
|
30363
|
+
UNION ALL
|
30364
|
+
SELECT sql
|
30365
|
+
FROM sqlite_temp_master
|
30366
|
+
WHERE name='index_spree_products_taxons_on_taxon_id' AND type='index'
|
30367
|
+
[0m
|
30368
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30369
|
+
FROM sqlite_master
|
30370
|
+
WHERE name='index_spree_products_taxons_on_product_id' AND type='index'
|
30371
|
+
UNION ALL
|
30372
|
+
SELECT sql
|
30373
|
+
FROM sqlite_temp_master
|
30374
|
+
WHERE name='index_spree_products_taxons_on_product_id' AND type='index'
|
30375
|
+
[0m
|
30376
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30377
|
+
FROM sqlite_master
|
30378
|
+
WHERE name='index_spree_promotion_action_line_items_on_variant_id' AND type='index'
|
30379
|
+
UNION ALL
|
30380
|
+
SELECT sql
|
30381
|
+
FROM sqlite_temp_master
|
30382
|
+
WHERE name='index_spree_promotion_action_line_items_on_variant_id' AND type='index'
|
30383
|
+
[0m
|
30384
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30385
|
+
FROM sqlite_master
|
30386
|
+
WHERE name='index_spree_promotion_action_line_items_on_promotion_action_id' AND type='index'
|
30387
|
+
UNION ALL
|
30388
|
+
SELECT sql
|
30389
|
+
FROM sqlite_temp_master
|
30390
|
+
WHERE name='index_spree_promotion_action_line_items_on_promotion_action_id' AND type='index'
|
30391
|
+
[0m
|
30392
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30393
|
+
FROM sqlite_master
|
30394
|
+
WHERE name='index_spree_promotion_actions_on_deleted_at' AND type='index'
|
30395
|
+
UNION ALL
|
30396
|
+
SELECT sql
|
30397
|
+
FROM sqlite_temp_master
|
30398
|
+
WHERE name='index_spree_promotion_actions_on_deleted_at' AND type='index'
|
30399
|
+
[0m
|
30400
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30401
|
+
FROM sqlite_master
|
30402
|
+
WHERE name='index_spree_promotion_actions_on_promotion_id' AND type='index'
|
30403
|
+
UNION ALL
|
30404
|
+
SELECT sql
|
30405
|
+
FROM sqlite_temp_master
|
30406
|
+
WHERE name='index_spree_promotion_actions_on_promotion_id' AND type='index'
|
30407
|
+
[0m
|
30408
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30409
|
+
FROM sqlite_master
|
30410
|
+
WHERE name='index_spree_promotion_actions_on_id_and_type' AND type='index'
|
30411
|
+
UNION ALL
|
30412
|
+
SELECT sql
|
30413
|
+
FROM sqlite_temp_master
|
30414
|
+
WHERE name='index_spree_promotion_actions_on_id_and_type' AND type='index'
|
30415
|
+
[0m
|
30416
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30417
|
+
FROM sqlite_master
|
30418
|
+
WHERE name='index_spree_promotion_rule_taxons_on_taxon_id' AND type='index'
|
30419
|
+
UNION ALL
|
30420
|
+
SELECT sql
|
30421
|
+
FROM sqlite_temp_master
|
30422
|
+
WHERE name='index_spree_promotion_rule_taxons_on_taxon_id' AND type='index'
|
30423
|
+
[0m
|
30424
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30425
|
+
FROM sqlite_master
|
30426
|
+
WHERE name='index_spree_promotion_rule_taxons_on_promotion_rule_id' AND type='index'
|
30427
|
+
UNION ALL
|
30428
|
+
SELECT sql
|
30429
|
+
FROM sqlite_temp_master
|
30430
|
+
WHERE name='index_spree_promotion_rule_taxons_on_promotion_rule_id' AND type='index'
|
30431
|
+
[0m
|
30432
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30433
|
+
FROM sqlite_master
|
30434
|
+
WHERE name='index_promotion_rules_users_on_user_id_and_promotion_rule_id' AND type='index'
|
30435
|
+
UNION ALL
|
30436
|
+
SELECT sql
|
30437
|
+
FROM sqlite_temp_master
|
30438
|
+
WHERE name='index_promotion_rules_users_on_user_id_and_promotion_rule_id' AND type='index'
|
30439
|
+
[0m
|
30440
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30441
|
+
FROM sqlite_master
|
30442
|
+
WHERE name='index_promotion_rules_users_on_promotion_rule_id' AND type='index'
|
30443
|
+
UNION ALL
|
30444
|
+
SELECT sql
|
30445
|
+
FROM sqlite_temp_master
|
30446
|
+
WHERE name='index_promotion_rules_users_on_promotion_rule_id' AND type='index'
|
30447
|
+
[0m
|
30448
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30449
|
+
FROM sqlite_master
|
30450
|
+
WHERE name='index_spree_promotion_rules_on_promotion_id' AND type='index'
|
30451
|
+
UNION ALL
|
30452
|
+
SELECT sql
|
30453
|
+
FROM sqlite_temp_master
|
30454
|
+
WHERE name='index_spree_promotion_rules_on_promotion_id' AND type='index'
|
30455
|
+
[0m
|
30456
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30457
|
+
FROM sqlite_master
|
30458
|
+
WHERE name='index_promotion_rules_on_user_id' AND type='index'
|
30459
|
+
UNION ALL
|
30460
|
+
SELECT sql
|
30461
|
+
FROM sqlite_temp_master
|
30462
|
+
WHERE name='index_promotion_rules_on_user_id' AND type='index'
|
30463
|
+
[0m
|
30464
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30465
|
+
FROM sqlite_master
|
30466
|
+
WHERE name='index_promotion_rules_on_product_group_id' AND type='index'
|
30467
|
+
UNION ALL
|
30468
|
+
SELECT sql
|
30469
|
+
FROM sqlite_temp_master
|
30470
|
+
WHERE name='index_promotion_rules_on_product_group_id' AND type='index'
|
30471
|
+
[0m
|
30472
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30473
|
+
FROM sqlite_master
|
30474
|
+
WHERE name='index_spree_promotions_on_promotion_category_id' AND type='index'
|
30475
|
+
UNION ALL
|
30476
|
+
SELECT sql
|
30477
|
+
FROM sqlite_temp_master
|
30478
|
+
WHERE name='index_spree_promotions_on_promotion_category_id' AND type='index'
|
30479
|
+
[0m
|
30480
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30481
|
+
FROM sqlite_master
|
30482
|
+
WHERE name='index_spree_promotions_on_advertise' AND type='index'
|
30483
|
+
UNION ALL
|
30484
|
+
SELECT sql
|
30485
|
+
FROM sqlite_temp_master
|
30486
|
+
WHERE name='index_spree_promotions_on_advertise' AND type='index'
|
30487
|
+
[0m
|
30488
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30489
|
+
FROM sqlite_master
|
30490
|
+
WHERE name='index_spree_promotions_on_starts_at' AND type='index'
|
30491
|
+
UNION ALL
|
30492
|
+
SELECT sql
|
30493
|
+
FROM sqlite_temp_master
|
30494
|
+
WHERE name='index_spree_promotions_on_starts_at' AND type='index'
|
30495
|
+
[0m
|
30496
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30497
|
+
FROM sqlite_master
|
30498
|
+
WHERE name='index_spree_promotions_on_expires_at' AND type='index'
|
30499
|
+
UNION ALL
|
30500
|
+
SELECT sql
|
30501
|
+
FROM sqlite_temp_master
|
30502
|
+
WHERE name='index_spree_promotions_on_expires_at' AND type='index'
|
30503
|
+
[0m
|
30504
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30505
|
+
FROM sqlite_master
|
30506
|
+
WHERE name='index_spree_promotions_on_code' AND type='index'
|
30507
|
+
UNION ALL
|
30508
|
+
SELECT sql
|
30509
|
+
FROM sqlite_temp_master
|
30510
|
+
WHERE name='index_spree_promotions_on_code' AND type='index'
|
30511
|
+
[0m
|
30512
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30513
|
+
FROM sqlite_master
|
30514
|
+
WHERE name='index_spree_promotions_on_id_and_type' AND type='index'
|
30515
|
+
UNION ALL
|
30516
|
+
SELECT sql
|
30517
|
+
FROM sqlite_temp_master
|
30518
|
+
WHERE name='index_spree_promotions_on_id_and_type' AND type='index'
|
30519
|
+
[0m
|
30520
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30521
|
+
FROM sqlite_master
|
30522
|
+
WHERE name='index_spree_properties_on_name' AND type='index'
|
30523
|
+
UNION ALL
|
30524
|
+
SELECT sql
|
30525
|
+
FROM sqlite_temp_master
|
30526
|
+
WHERE name='index_spree_properties_on_name' AND type='index'
|
30527
|
+
[0m
|
30528
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30529
|
+
FROM sqlite_master
|
30530
|
+
WHERE name='index_spree_property_prototypes_on_property_id' AND type='index'
|
30531
|
+
UNION ALL
|
30532
|
+
SELECT sql
|
30533
|
+
FROM sqlite_temp_master
|
30534
|
+
WHERE name='index_spree_property_prototypes_on_property_id' AND type='index'
|
30535
|
+
[0m
|
30536
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30537
|
+
FROM sqlite_master
|
30538
|
+
WHERE name='index_spree_property_prototypes_on_prototype_id' AND type='index'
|
30539
|
+
UNION ALL
|
30540
|
+
SELECT sql
|
30541
|
+
FROM sqlite_temp_master
|
30542
|
+
WHERE name='index_spree_property_prototypes_on_prototype_id' AND type='index'
|
30543
|
+
[0m
|
30544
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30545
|
+
FROM sqlite_master
|
30546
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
30547
|
+
UNION ALL
|
30548
|
+
SELECT sql
|
30549
|
+
FROM sqlite_temp_master
|
30550
|
+
WHERE name='index_property_prototypes_on_prototype_id_and_property_id' AND type='index'
|
30551
|
+
[0m
|
30552
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30553
|
+
FROM sqlite_master
|
30554
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id' AND type='index'
|
30555
|
+
UNION ALL
|
30556
|
+
SELECT sql
|
30557
|
+
FROM sqlite_temp_master
|
30558
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id' AND type='index'
|
30559
|
+
[0m
|
30560
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30561
|
+
FROM sqlite_master
|
30562
|
+
WHERE name='index_spree_prototype_taxons_on_taxon_id' AND type='index'
|
30563
|
+
UNION ALL
|
30564
|
+
SELECT sql
|
30565
|
+
FROM sqlite_temp_master
|
30566
|
+
WHERE name='index_spree_prototype_taxons_on_taxon_id' AND type='index'
|
30567
|
+
[0m
|
30568
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30569
|
+
FROM sqlite_master
|
30570
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id_and_taxon_id' AND type='index'
|
30571
|
+
UNION ALL
|
30572
|
+
SELECT sql
|
30573
|
+
FROM sqlite_temp_master
|
30574
|
+
WHERE name='index_spree_prototype_taxons_on_prototype_id_and_taxon_id' AND type='index'
|
30575
|
+
[0m
|
30576
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30577
|
+
FROM sqlite_master
|
30578
|
+
WHERE name='index_spree_purchase_orders_on_user_id' AND type='index'
|
30579
|
+
UNION ALL
|
30580
|
+
SELECT sql
|
30581
|
+
FROM sqlite_temp_master
|
30582
|
+
WHERE name='index_spree_purchase_orders_on_user_id' AND type='index'
|
30583
|
+
[0m
|
30584
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30585
|
+
FROM sqlite_master
|
30586
|
+
WHERE name='index_spree_purchase_orders_on_payment_method_id' AND type='index'
|
30587
|
+
UNION ALL
|
30588
|
+
SELECT sql
|
30589
|
+
FROM sqlite_temp_master
|
30590
|
+
WHERE name='index_spree_purchase_orders_on_payment_method_id' AND type='index'
|
30591
|
+
[0m
|
30592
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30593
|
+
FROM sqlite_master
|
30594
|
+
WHERE name='index_spree_refund_reasons_on_name' AND type='index'
|
30595
|
+
UNION ALL
|
30596
|
+
SELECT sql
|
30597
|
+
FROM sqlite_temp_master
|
30598
|
+
WHERE name='index_spree_refund_reasons_on_name' AND type='index'
|
30599
|
+
[0m
|
30600
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30601
|
+
FROM sqlite_master
|
30602
|
+
WHERE name='index_spree_refunds_on_reimbursement_id' AND type='index'
|
30603
|
+
UNION ALL
|
30604
|
+
SELECT sql
|
30605
|
+
FROM sqlite_temp_master
|
30606
|
+
WHERE name='index_spree_refunds_on_reimbursement_id' AND type='index'
|
30607
|
+
[0m
|
30608
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30609
|
+
FROM sqlite_master
|
30610
|
+
WHERE name='index_spree_refunds_on_payment_id' AND type='index'
|
30611
|
+
UNION ALL
|
30612
|
+
SELECT sql
|
30613
|
+
FROM sqlite_temp_master
|
30614
|
+
WHERE name='index_spree_refunds_on_payment_id' AND type='index'
|
30615
|
+
[0m
|
30616
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30617
|
+
FROM sqlite_master
|
30618
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
30619
|
+
UNION ALL
|
30620
|
+
SELECT sql
|
30621
|
+
FROM sqlite_temp_master
|
30622
|
+
WHERE name='index_refunds_on_refund_reason_id' AND type='index'
|
30623
|
+
[0m
|
30624
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30625
|
+
FROM sqlite_master
|
30626
|
+
WHERE name='index_reimbursement_credits_on_creditable_id_and_type' AND type='index'
|
30627
|
+
UNION ALL
|
30628
|
+
SELECT sql
|
30629
|
+
FROM sqlite_temp_master
|
30630
|
+
WHERE name='index_reimbursement_credits_on_creditable_id_and_type' AND type='index'
|
30631
|
+
[0m
|
30632
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30633
|
+
FROM sqlite_master
|
30634
|
+
WHERE name='index_spree_reimbursement_credits_on_reimbursement_id' AND type='index'
|
30635
|
+
UNION ALL
|
30636
|
+
SELECT sql
|
30637
|
+
FROM sqlite_temp_master
|
30638
|
+
WHERE name='index_spree_reimbursement_credits_on_reimbursement_id' AND type='index'
|
30639
|
+
[0m
|
30640
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30641
|
+
FROM sqlite_master
|
30642
|
+
WHERE name='index_spree_reimbursement_types_on_name' AND type='index'
|
30643
|
+
UNION ALL
|
30644
|
+
SELECT sql
|
30645
|
+
FROM sqlite_temp_master
|
30646
|
+
WHERE name='index_spree_reimbursement_types_on_name' AND type='index'
|
30647
|
+
[0m
|
30648
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30649
|
+
FROM sqlite_master
|
30650
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
30651
|
+
UNION ALL
|
30652
|
+
SELECT sql
|
30653
|
+
FROM sqlite_temp_master
|
30654
|
+
WHERE name='index_spree_reimbursement_types_on_type' AND type='index'
|
30655
|
+
[0m
|
30656
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30657
|
+
FROM sqlite_master
|
30658
|
+
WHERE name='index_spree_reimbursements_on_number' AND type='index'
|
30659
|
+
UNION ALL
|
30660
|
+
SELECT sql
|
30661
|
+
FROM sqlite_temp_master
|
30662
|
+
WHERE name='index_spree_reimbursements_on_number' AND type='index'
|
30663
|
+
[0m
|
30664
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30665
|
+
FROM sqlite_master
|
30666
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
30667
|
+
UNION ALL
|
30668
|
+
SELECT sql
|
30669
|
+
FROM sqlite_temp_master
|
30670
|
+
WHERE name='index_spree_reimbursements_on_order_id' AND type='index'
|
30671
|
+
[0m
|
30672
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30673
|
+
FROM sqlite_master
|
30674
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
30675
|
+
UNION ALL
|
30676
|
+
SELECT sql
|
30677
|
+
FROM sqlite_temp_master
|
30678
|
+
WHERE name='index_spree_reimbursements_on_customer_return_id' AND type='index'
|
30679
|
+
[0m
|
30680
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30681
|
+
FROM sqlite_master
|
30682
|
+
WHERE name='index_spree_return_authorization_reasons_on_name' AND type='index'
|
30683
|
+
UNION ALL
|
30684
|
+
SELECT sql
|
30685
|
+
FROM sqlite_temp_master
|
30686
|
+
WHERE name='index_spree_return_authorization_reasons_on_name' AND type='index'
|
30687
|
+
[0m
|
30688
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30689
|
+
FROM sqlite_master
|
30690
|
+
WHERE name='index_spree_return_authorizations_on_stock_location_id' AND type='index'
|
30691
|
+
UNION ALL
|
30692
|
+
SELECT sql
|
30693
|
+
FROM sqlite_temp_master
|
30694
|
+
WHERE name='index_spree_return_authorizations_on_stock_location_id' AND type='index'
|
30695
|
+
[0m
|
30696
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30697
|
+
FROM sqlite_master
|
30698
|
+
WHERE name='index_spree_return_authorizations_on_order_id' AND type='index'
|
30699
|
+
UNION ALL
|
30700
|
+
SELECT sql
|
30701
|
+
FROM sqlite_temp_master
|
30702
|
+
WHERE name='index_spree_return_authorizations_on_order_id' AND type='index'
|
30703
|
+
[0m
|
30704
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30705
|
+
FROM sqlite_master
|
30706
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
30707
|
+
UNION ALL
|
30708
|
+
SELECT sql
|
30709
|
+
FROM sqlite_temp_master
|
30710
|
+
WHERE name='index_spree_return_authorizations_on_number' AND type='index'
|
30711
|
+
[0m
|
30712
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30713
|
+
FROM sqlite_master
|
30714
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
30715
|
+
UNION ALL
|
30716
|
+
SELECT sql
|
30717
|
+
FROM sqlite_temp_master
|
30718
|
+
WHERE name='index_return_authorizations_on_return_authorization_reason_id' AND type='index'
|
30719
|
+
[0m
|
30720
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30721
|
+
FROM sqlite_master
|
30722
|
+
WHERE name='index_spree_return_items_on_override_reimbursement_type_id' AND type='index'
|
30723
|
+
UNION ALL
|
30724
|
+
SELECT sql
|
30725
|
+
FROM sqlite_temp_master
|
30726
|
+
WHERE name='index_spree_return_items_on_override_reimbursement_type_id' AND type='index'
|
30727
|
+
[0m
|
30728
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30729
|
+
FROM sqlite_master
|
30730
|
+
WHERE name='index_spree_return_items_on_preferred_reimbursement_type_id' AND type='index'
|
30731
|
+
UNION ALL
|
30732
|
+
SELECT sql
|
30733
|
+
FROM sqlite_temp_master
|
30734
|
+
WHERE name='index_spree_return_items_on_preferred_reimbursement_type_id' AND type='index'
|
30735
|
+
[0m
|
30736
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30737
|
+
FROM sqlite_master
|
30738
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
30739
|
+
UNION ALL
|
30740
|
+
SELECT sql
|
30741
|
+
FROM sqlite_temp_master
|
30742
|
+
WHERE name='index_spree_return_items_on_exchange_variant_id' AND type='index'
|
30743
|
+
[0m
|
30744
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30745
|
+
FROM sqlite_master
|
30746
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
30747
|
+
UNION ALL
|
30748
|
+
SELECT sql
|
30749
|
+
FROM sqlite_temp_master
|
30750
|
+
WHERE name='index_spree_return_items_on_reimbursement_id' AND type='index'
|
30751
|
+
[0m
|
30752
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30753
|
+
FROM sqlite_master
|
30754
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
30755
|
+
UNION ALL
|
30756
|
+
SELECT sql
|
30757
|
+
FROM sqlite_temp_master
|
30758
|
+
WHERE name='index_spree_return_items_on_inventory_unit_id' AND type='index'
|
30759
|
+
[0m
|
30760
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30761
|
+
FROM sqlite_master
|
30762
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
30763
|
+
UNION ALL
|
30764
|
+
SELECT sql
|
30765
|
+
FROM sqlite_temp_master
|
30766
|
+
WHERE name='index_spree_return_items_on_return_authorization_id' AND type='index'
|
30767
|
+
[0m
|
30768
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30769
|
+
FROM sqlite_master
|
30770
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
30771
|
+
UNION ALL
|
30772
|
+
SELECT sql
|
30773
|
+
FROM sqlite_temp_master
|
30774
|
+
WHERE name='index_return_items_on_customer_return_id' AND type='index'
|
30775
|
+
[0m
|
30776
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30777
|
+
FROM sqlite_master
|
30778
|
+
WHERE name='index_spree_role_users_on_role_id' AND type='index'
|
30779
|
+
UNION ALL
|
30780
|
+
SELECT sql
|
30781
|
+
FROM sqlite_temp_master
|
30782
|
+
WHERE name='index_spree_role_users_on_role_id' AND type='index'
|
30783
|
+
[0m
|
30784
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30785
|
+
FROM sqlite_master
|
30786
|
+
WHERE name='index_spree_role_users_on_user_id' AND type='index'
|
30787
|
+
UNION ALL
|
30788
|
+
SELECT sql
|
30789
|
+
FROM sqlite_temp_master
|
30790
|
+
WHERE name='index_spree_role_users_on_user_id' AND type='index'
|
30791
|
+
[0m
|
30792
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30793
|
+
FROM sqlite_master
|
30794
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
30795
|
+
UNION ALL
|
30796
|
+
SELECT sql
|
30797
|
+
FROM sqlite_temp_master
|
30798
|
+
WHERE name='index_spree_roles_on_name' AND type='index'
|
30799
|
+
[0m
|
30800
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30801
|
+
FROM sqlite_master
|
30802
|
+
WHERE name='index_spree_shipments_on_number' AND type='index'
|
30803
|
+
UNION ALL
|
30804
|
+
SELECT sql
|
30805
|
+
FROM sqlite_temp_master
|
30806
|
+
WHERE name='index_spree_shipments_on_number' AND type='index'
|
30807
|
+
[0m
|
30808
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30809
|
+
FROM sqlite_master
|
30810
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
30811
|
+
UNION ALL
|
30812
|
+
SELECT sql
|
30813
|
+
FROM sqlite_temp_master
|
30814
|
+
WHERE name='index_spree_shipments_on_address_id' AND type='index'
|
30815
|
+
[0m
|
30816
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30817
|
+
FROM sqlite_master
|
30818
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
30819
|
+
UNION ALL
|
30820
|
+
SELECT sql
|
30821
|
+
FROM sqlite_temp_master
|
30822
|
+
WHERE name='index_spree_shipments_on_stock_location_id' AND type='index'
|
30823
|
+
[0m
|
30824
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30825
|
+
FROM sqlite_master
|
30826
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
30827
|
+
UNION ALL
|
30828
|
+
SELECT sql
|
30829
|
+
FROM sqlite_temp_master
|
30830
|
+
WHERE name='index_spree_shipments_on_order_id' AND type='index'
|
30831
|
+
[0m
|
30832
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30833
|
+
FROM sqlite_master
|
30834
|
+
WHERE name='index_spree_shipping_categories_on_name' AND type='index'
|
30835
|
+
UNION ALL
|
30836
|
+
SELECT sql
|
30837
|
+
FROM sqlite_temp_master
|
30838
|
+
WHERE name='index_spree_shipping_categories_on_name' AND type='index'
|
30839
|
+
[0m
|
30840
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30841
|
+
FROM sqlite_master
|
30842
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_category_id' AND type='index'
|
30843
|
+
UNION ALL
|
30844
|
+
SELECT sql
|
30845
|
+
FROM sqlite_temp_master
|
30846
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_category_id' AND type='index'
|
30847
|
+
[0m
|
30848
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30849
|
+
FROM sqlite_master
|
30850
|
+
WHERE name='unique_spree_shipping_method_categories' AND type='index'
|
30851
|
+
UNION ALL
|
30852
|
+
SELECT sql
|
30853
|
+
FROM sqlite_temp_master
|
30854
|
+
WHERE name='unique_spree_shipping_method_categories' AND type='index'
|
30855
|
+
[0m
|
30856
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30857
|
+
FROM sqlite_master
|
30858
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_method_id' AND type='index'
|
30859
|
+
UNION ALL
|
30860
|
+
SELECT sql
|
30861
|
+
FROM sqlite_temp_master
|
30862
|
+
WHERE name='index_spree_shipping_method_categories_on_shipping_method_id' AND type='index'
|
30863
|
+
[0m
|
30864
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30865
|
+
FROM sqlite_master
|
30866
|
+
WHERE name='index_spree_shipping_method_zones_on_shipping_method_id' AND type='index'
|
30867
|
+
UNION ALL
|
30868
|
+
SELECT sql
|
30869
|
+
FROM sqlite_temp_master
|
30870
|
+
WHERE name='index_spree_shipping_method_zones_on_shipping_method_id' AND type='index'
|
30871
|
+
[0m
|
30872
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30873
|
+
FROM sqlite_master
|
30874
|
+
WHERE name='index_spree_shipping_method_zones_on_zone_id' AND type='index'
|
30875
|
+
UNION ALL
|
30876
|
+
SELECT sql
|
30877
|
+
FROM sqlite_temp_master
|
30878
|
+
WHERE name='index_spree_shipping_method_zones_on_zone_id' AND type='index'
|
30879
|
+
[0m
|
30880
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30881
|
+
FROM sqlite_master
|
30882
|
+
WHERE name='index_spree_shipping_methods_on_tax_category_id' AND type='index'
|
30883
|
+
UNION ALL
|
30884
|
+
SELECT sql
|
30885
|
+
FROM sqlite_temp_master
|
30886
|
+
WHERE name='index_spree_shipping_methods_on_tax_category_id' AND type='index'
|
30887
|
+
[0m
|
30888
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30889
|
+
FROM sqlite_master
|
30890
|
+
WHERE name='index_spree_shipping_methods_on_deleted_at' AND type='index'
|
30891
|
+
UNION ALL
|
30892
|
+
SELECT sql
|
30893
|
+
FROM sqlite_temp_master
|
30894
|
+
WHERE name='index_spree_shipping_methods_on_deleted_at' AND type='index'
|
30895
|
+
[0m
|
30896
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30897
|
+
FROM sqlite_master
|
30898
|
+
WHERE name='index_spree_shipping_rates_on_shipping_method_id' AND type='index'
|
30899
|
+
UNION ALL
|
30900
|
+
SELECT sql
|
30901
|
+
FROM sqlite_temp_master
|
30902
|
+
WHERE name='index_spree_shipping_rates_on_shipping_method_id' AND type='index'
|
30903
|
+
[0m
|
30904
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30905
|
+
FROM sqlite_master
|
30906
|
+
WHERE name='index_spree_shipping_rates_on_shipment_id' AND type='index'
|
30907
|
+
UNION ALL
|
30908
|
+
SELECT sql
|
30909
|
+
FROM sqlite_temp_master
|
30910
|
+
WHERE name='index_spree_shipping_rates_on_shipment_id' AND type='index'
|
30911
|
+
[0m
|
30912
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30913
|
+
FROM sqlite_master
|
30914
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
30915
|
+
UNION ALL
|
30916
|
+
SELECT sql
|
30917
|
+
FROM sqlite_temp_master
|
30918
|
+
WHERE name='index_spree_shipping_rates_on_tax_rate_id' AND type='index'
|
30919
|
+
[0m
|
30920
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30921
|
+
FROM sqlite_master
|
30922
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
30923
|
+
UNION ALL
|
30924
|
+
SELECT sql
|
30925
|
+
FROM sqlite_temp_master
|
30926
|
+
WHERE name='index_spree_shipping_rates_on_selected' AND type='index'
|
30927
|
+
[0m
|
30928
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30929
|
+
FROM sqlite_master
|
30930
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
30931
|
+
UNION ALL
|
30932
|
+
SELECT sql
|
30933
|
+
FROM sqlite_temp_master
|
30934
|
+
WHERE name='spree_shipping_rates_join_index' AND type='index'
|
30935
|
+
[0m
|
30936
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30937
|
+
FROM sqlite_master
|
30938
|
+
WHERE name='index_spree_state_changes_on_stateful_id_and_stateful_type' AND type='index'
|
30939
|
+
UNION ALL
|
30940
|
+
SELECT sql
|
30941
|
+
FROM sqlite_temp_master
|
30942
|
+
WHERE name='index_spree_state_changes_on_stateful_id_and_stateful_type' AND type='index'
|
30943
|
+
[0m
|
30944
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30945
|
+
FROM sqlite_master
|
30946
|
+
WHERE name='index_spree_states_on_country_id' AND type='index'
|
30947
|
+
UNION ALL
|
30948
|
+
SELECT sql
|
30949
|
+
FROM sqlite_temp_master
|
30950
|
+
WHERE name='index_spree_states_on_country_id' AND type='index'
|
30951
|
+
[0m
|
30952
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30953
|
+
FROM sqlite_master
|
30954
|
+
WHERE name='index_spree_stock_items_on_stock_location_id' AND type='index'
|
30955
|
+
UNION ALL
|
30956
|
+
SELECT sql
|
30957
|
+
FROM sqlite_temp_master
|
30958
|
+
WHERE name='index_spree_stock_items_on_stock_location_id' AND type='index'
|
30959
|
+
[0m
|
30960
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30961
|
+
FROM sqlite_master
|
30962
|
+
WHERE name='index_spree_stock_items_on_variant_id' AND type='index'
|
30963
|
+
UNION ALL
|
30964
|
+
SELECT sql
|
30965
|
+
FROM sqlite_temp_master
|
30966
|
+
WHERE name='index_spree_stock_items_on_variant_id' AND type='index'
|
30967
|
+
[0m
|
30968
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30969
|
+
FROM sqlite_master
|
30970
|
+
WHERE name='index_spree_stock_items_on_backorderable' AND type='index'
|
30971
|
+
UNION ALL
|
30972
|
+
SELECT sql
|
30973
|
+
FROM sqlite_temp_master
|
30974
|
+
WHERE name='index_spree_stock_items_on_backorderable' AND type='index'
|
30975
|
+
[0m
|
30976
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30977
|
+
FROM sqlite_master
|
30978
|
+
WHERE name='index_spree_stock_items_on_deleted_at' AND type='index'
|
30979
|
+
UNION ALL
|
30980
|
+
SELECT sql
|
30981
|
+
FROM sqlite_temp_master
|
30982
|
+
WHERE name='index_spree_stock_items_on_deleted_at' AND type='index'
|
30983
|
+
[0m
|
30984
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30985
|
+
FROM sqlite_master
|
30986
|
+
WHERE name='stock_item_by_loc_and_var_id' AND type='index'
|
30987
|
+
UNION ALL
|
30988
|
+
SELECT sql
|
30989
|
+
FROM sqlite_temp_master
|
30990
|
+
WHERE name='stock_item_by_loc_and_var_id' AND type='index'
|
30991
|
+
[0m
|
30992
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
30993
|
+
FROM sqlite_master
|
30994
|
+
WHERE name='index_spree_stock_locations_on_state_id' AND type='index'
|
30995
|
+
UNION ALL
|
30996
|
+
SELECT sql
|
30997
|
+
FROM sqlite_temp_master
|
30998
|
+
WHERE name='index_spree_stock_locations_on_state_id' AND type='index'
|
30999
|
+
[0m
|
31000
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31001
|
+
FROM sqlite_master
|
31002
|
+
WHERE name='index_spree_stock_locations_on_propagate_all_variants' AND type='index'
|
31003
|
+
UNION ALL
|
31004
|
+
SELECT sql
|
31005
|
+
FROM sqlite_temp_master
|
31006
|
+
WHERE name='index_spree_stock_locations_on_propagate_all_variants' AND type='index'
|
31007
|
+
[0m
|
31008
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31009
|
+
FROM sqlite_master
|
31010
|
+
WHERE name='index_spree_stock_locations_on_country_id' AND type='index'
|
31011
|
+
UNION ALL
|
31012
|
+
SELECT sql
|
31013
|
+
FROM sqlite_temp_master
|
31014
|
+
WHERE name='index_spree_stock_locations_on_country_id' AND type='index'
|
31015
|
+
[0m
|
31016
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31017
|
+
FROM sqlite_master
|
31018
|
+
WHERE name='index_spree_stock_locations_on_backorderable_default' AND type='index'
|
31019
|
+
UNION ALL
|
31020
|
+
SELECT sql
|
31021
|
+
FROM sqlite_temp_master
|
31022
|
+
WHERE name='index_spree_stock_locations_on_backorderable_default' AND type='index'
|
31023
|
+
[0m
|
31024
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31025
|
+
FROM sqlite_master
|
31026
|
+
WHERE name='index_spree_stock_locations_on_active' AND type='index'
|
31027
|
+
UNION ALL
|
31028
|
+
SELECT sql
|
31029
|
+
FROM sqlite_temp_master
|
31030
|
+
WHERE name='index_spree_stock_locations_on_active' AND type='index'
|
31031
|
+
[0m
|
31032
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31033
|
+
FROM sqlite_master
|
31034
|
+
WHERE name='index_stock_movements_on_originator_id_and_originator_type' AND type='index'
|
31035
|
+
UNION ALL
|
31036
|
+
SELECT sql
|
31037
|
+
FROM sqlite_temp_master
|
31038
|
+
WHERE name='index_stock_movements_on_originator_id_and_originator_type' AND type='index'
|
31039
|
+
[0m
|
31040
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31041
|
+
FROM sqlite_master
|
31042
|
+
WHERE name='index_spree_stock_movements_on_stock_item_id' AND type='index'
|
31043
|
+
UNION ALL
|
31044
|
+
SELECT sql
|
31045
|
+
FROM sqlite_temp_master
|
31046
|
+
WHERE name='index_spree_stock_movements_on_stock_item_id' AND type='index'
|
31047
|
+
[0m
|
31048
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31049
|
+
FROM sqlite_master
|
31050
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
31051
|
+
UNION ALL
|
31052
|
+
SELECT sql
|
31053
|
+
FROM sqlite_temp_master
|
31054
|
+
WHERE name='index_spree_stock_transfers_on_number' AND type='index'
|
31055
|
+
[0m
|
31056
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31057
|
+
FROM sqlite_master
|
31058
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
31059
|
+
UNION ALL
|
31060
|
+
SELECT sql
|
31061
|
+
FROM sqlite_temp_master
|
31062
|
+
WHERE name='index_spree_stock_transfers_on_destination_location_id' AND type='index'
|
31063
|
+
[0m
|
31064
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31065
|
+
FROM sqlite_master
|
31066
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
31067
|
+
UNION ALL
|
31068
|
+
SELECT sql
|
31069
|
+
FROM sqlite_temp_master
|
31070
|
+
WHERE name='index_spree_stock_transfers_on_source_location_id' AND type='index'
|
31071
|
+
[0m
|
31072
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31073
|
+
FROM sqlite_master
|
31074
|
+
WHERE name='spree_store_credit_events_originator' AND type='index'
|
31075
|
+
UNION ALL
|
31076
|
+
SELECT sql
|
31077
|
+
FROM sqlite_temp_master
|
31078
|
+
WHERE name='spree_store_credit_events_originator' AND type='index'
|
31079
|
+
[0m
|
31080
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31081
|
+
FROM sqlite_master
|
31082
|
+
WHERE name='index_spree_store_credit_events_on_store_credit_id' AND type='index'
|
31083
|
+
UNION ALL
|
31084
|
+
SELECT sql
|
31085
|
+
FROM sqlite_temp_master
|
31086
|
+
WHERE name='index_spree_store_credit_events_on_store_credit_id' AND type='index'
|
31087
|
+
[0m
|
31088
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31089
|
+
FROM sqlite_master
|
31090
|
+
WHERE name='index_spree_store_credit_types_on_priority' AND type='index'
|
31091
|
+
UNION ALL
|
31092
|
+
SELECT sql
|
31093
|
+
FROM sqlite_temp_master
|
31094
|
+
WHERE name='index_spree_store_credit_types_on_priority' AND type='index'
|
31095
|
+
[0m
|
31096
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31097
|
+
FROM sqlite_master
|
31098
|
+
WHERE name='spree_store_credits_originator' AND type='index'
|
31099
|
+
UNION ALL
|
31100
|
+
SELECT sql
|
31101
|
+
FROM sqlite_temp_master
|
31102
|
+
WHERE name='spree_store_credits_originator' AND type='index'
|
31103
|
+
[0m
|
31104
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31105
|
+
FROM sqlite_master
|
31106
|
+
WHERE name='index_spree_store_credits_on_type_id' AND type='index'
|
31107
|
+
UNION ALL
|
31108
|
+
SELECT sql
|
31109
|
+
FROM sqlite_temp_master
|
31110
|
+
WHERE name='index_spree_store_credits_on_type_id' AND type='index'
|
31111
|
+
[0m
|
31112
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31113
|
+
FROM sqlite_master
|
31114
|
+
WHERE name='index_spree_store_credits_on_user_id' AND type='index'
|
31115
|
+
UNION ALL
|
31116
|
+
SELECT sql
|
31117
|
+
FROM sqlite_temp_master
|
31118
|
+
WHERE name='index_spree_store_credits_on_user_id' AND type='index'
|
31119
|
+
[0m
|
31120
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31121
|
+
FROM sqlite_master
|
31122
|
+
WHERE name='index_spree_store_credits_on_deleted_at' AND type='index'
|
31123
|
+
UNION ALL
|
31124
|
+
SELECT sql
|
31125
|
+
FROM sqlite_temp_master
|
31126
|
+
WHERE name='index_spree_store_credits_on_deleted_at' AND type='index'
|
31127
|
+
[0m
|
31128
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31129
|
+
FROM sqlite_master
|
31130
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
31131
|
+
UNION ALL
|
31132
|
+
SELECT sql
|
31133
|
+
FROM sqlite_temp_master
|
31134
|
+
WHERE name='index_spree_stores_on_code' AND type='index'
|
31135
|
+
[0m
|
31136
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31137
|
+
FROM sqlite_master
|
31138
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
31139
|
+
UNION ALL
|
31140
|
+
SELECT sql
|
31141
|
+
FROM sqlite_temp_master
|
31142
|
+
WHERE name='index_spree_stores_on_url' AND type='index'
|
31143
|
+
[0m
|
31144
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31145
|
+
FROM sqlite_master
|
31146
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
31147
|
+
UNION ALL
|
31148
|
+
SELECT sql
|
31149
|
+
FROM sqlite_temp_master
|
31150
|
+
WHERE name='index_spree_stores_on_default' AND type='index'
|
31151
|
+
[0m
|
31152
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31153
|
+
FROM sqlite_master
|
31154
|
+
WHERE name='spree_taggings_idy' AND type='index'
|
31155
|
+
UNION ALL
|
31156
|
+
SELECT sql
|
31157
|
+
FROM sqlite_temp_master
|
31158
|
+
WHERE name='spree_taggings_idy' AND type='index'
|
31159
|
+
[0m
|
31160
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31161
|
+
FROM sqlite_master
|
31162
|
+
WHERE name='index_spree_taggings_on_tagger_id_and_tagger_type' AND type='index'
|
31163
|
+
UNION ALL
|
31164
|
+
SELECT sql
|
31165
|
+
FROM sqlite_temp_master
|
31166
|
+
WHERE name='index_spree_taggings_on_tagger_id_and_tagger_type' AND type='index'
|
31167
|
+
[0m
|
31168
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31169
|
+
FROM sqlite_master
|
31170
|
+
WHERE name='index_spree_taggings_on_context' AND type='index'
|
31171
|
+
UNION ALL
|
31172
|
+
SELECT sql
|
31173
|
+
FROM sqlite_temp_master
|
31174
|
+
WHERE name='index_spree_taggings_on_context' AND type='index'
|
31175
|
+
[0m
|
31176
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31177
|
+
FROM sqlite_master
|
31178
|
+
WHERE name='index_spree_taggings_on_tagger_id' AND type='index'
|
31179
|
+
UNION ALL
|
31180
|
+
SELECT sql
|
31181
|
+
FROM sqlite_temp_master
|
31182
|
+
WHERE name='index_spree_taggings_on_tagger_id' AND type='index'
|
31183
|
+
[0m
|
31184
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31185
|
+
FROM sqlite_master
|
31186
|
+
WHERE name='index_spree_taggings_on_taggable_type' AND type='index'
|
31187
|
+
UNION ALL
|
31188
|
+
SELECT sql
|
31189
|
+
FROM sqlite_temp_master
|
31190
|
+
WHERE name='index_spree_taggings_on_taggable_type' AND type='index'
|
31191
|
+
[0m
|
31192
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31193
|
+
FROM sqlite_master
|
31194
|
+
WHERE name='index_spree_taggings_on_taggable_id' AND type='index'
|
31195
|
+
UNION ALL
|
31196
|
+
SELECT sql
|
31197
|
+
FROM sqlite_temp_master
|
31198
|
+
WHERE name='index_spree_taggings_on_taggable_id' AND type='index'
|
31199
|
+
[0m
|
31200
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31201
|
+
FROM sqlite_master
|
31202
|
+
WHERE name='index_spree_taggings_on_tag_id' AND type='index'
|
31203
|
+
UNION ALL
|
31204
|
+
SELECT sql
|
31205
|
+
FROM sqlite_temp_master
|
31206
|
+
WHERE name='index_spree_taggings_on_tag_id' AND type='index'
|
31207
|
+
[0m
|
31208
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31209
|
+
FROM sqlite_master
|
31210
|
+
WHERE name='spree_taggings_idx' AND type='index'
|
31211
|
+
UNION ALL
|
31212
|
+
SELECT sql
|
31213
|
+
FROM sqlite_temp_master
|
31214
|
+
WHERE name='spree_taggings_idx' AND type='index'
|
31215
|
+
[0m
|
31216
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31217
|
+
FROM sqlite_master
|
31218
|
+
WHERE name='index_spree_tags_on_name' AND type='index'
|
31219
|
+
UNION ALL
|
31220
|
+
SELECT sql
|
31221
|
+
FROM sqlite_temp_master
|
31222
|
+
WHERE name='index_spree_tags_on_name' AND type='index'
|
31223
|
+
[0m
|
31224
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31225
|
+
FROM sqlite_master
|
31226
|
+
WHERE name='index_spree_tax_categories_on_is_default' AND type='index'
|
31227
|
+
UNION ALL
|
31228
|
+
SELECT sql
|
31229
|
+
FROM sqlite_temp_master
|
31230
|
+
WHERE name='index_spree_tax_categories_on_is_default' AND type='index'
|
31231
|
+
[0m
|
31232
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31233
|
+
FROM sqlite_master
|
31234
|
+
WHERE name='index_spree_tax_categories_on_deleted_at' AND type='index'
|
31235
|
+
UNION ALL
|
31236
|
+
SELECT sql
|
31237
|
+
FROM sqlite_temp_master
|
31238
|
+
WHERE name='index_spree_tax_categories_on_deleted_at' AND type='index'
|
31239
|
+
[0m
|
31240
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31241
|
+
FROM sqlite_master
|
31242
|
+
WHERE name='index_spree_tax_rates_on_zone_id' AND type='index'
|
31243
|
+
UNION ALL
|
31244
|
+
SELECT sql
|
31245
|
+
FROM sqlite_temp_master
|
31246
|
+
WHERE name='index_spree_tax_rates_on_zone_id' AND type='index'
|
31247
|
+
[0m
|
31248
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31249
|
+
FROM sqlite_master
|
31250
|
+
WHERE name='index_spree_tax_rates_on_tax_category_id' AND type='index'
|
31251
|
+
UNION ALL
|
31252
|
+
SELECT sql
|
31253
|
+
FROM sqlite_temp_master
|
31254
|
+
WHERE name='index_spree_tax_rates_on_tax_category_id' AND type='index'
|
31255
|
+
[0m
|
31256
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31257
|
+
FROM sqlite_master
|
31258
|
+
WHERE name='index_spree_tax_rates_on_show_rate_in_label' AND type='index'
|
31259
|
+
UNION ALL
|
31260
|
+
SELECT sql
|
31261
|
+
FROM sqlite_temp_master
|
31262
|
+
WHERE name='index_spree_tax_rates_on_show_rate_in_label' AND type='index'
|
31263
|
+
[0m
|
31264
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31265
|
+
FROM sqlite_master
|
31266
|
+
WHERE name='index_spree_tax_rates_on_included_in_price' AND type='index'
|
31267
|
+
UNION ALL
|
31268
|
+
SELECT sql
|
31269
|
+
FROM sqlite_temp_master
|
31270
|
+
WHERE name='index_spree_tax_rates_on_included_in_price' AND type='index'
|
31271
|
+
[0m
|
31272
|
+
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
|
31273
|
+
FROM sqlite_master
|
31274
|
+
WHERE name='index_spree_tax_rates_on_deleted_at' AND type='index'
|
31275
|
+
UNION ALL
|
31276
|
+
SELECT sql
|
31277
|
+
FROM sqlite_temp_master
|
31278
|
+
WHERE name='index_spree_tax_rates_on_deleted_at' AND type='index'
|
31279
|
+
[0m
|
31280
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31281
|
+
FROM sqlite_master
|
31282
|
+
WHERE name='index_spree_taxonomies_on_position' AND type='index'
|
31283
|
+
UNION ALL
|
31284
|
+
SELECT sql
|
31285
|
+
FROM sqlite_temp_master
|
31286
|
+
WHERE name='index_spree_taxonomies_on_position' AND type='index'
|
31287
|
+
[0m
|
31288
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31289
|
+
FROM sqlite_master
|
31290
|
+
WHERE name='index_spree_taxons_on_name' AND type='index'
|
31291
|
+
UNION ALL
|
31292
|
+
SELECT sql
|
31293
|
+
FROM sqlite_temp_master
|
31294
|
+
WHERE name='index_spree_taxons_on_name' AND type='index'
|
31295
|
+
[0m
|
31296
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31297
|
+
FROM sqlite_master
|
31298
|
+
WHERE name='index_spree_taxons_on_rgt' AND type='index'
|
31299
|
+
UNION ALL
|
31300
|
+
SELECT sql
|
31301
|
+
FROM sqlite_temp_master
|
31302
|
+
WHERE name='index_spree_taxons_on_rgt' AND type='index'
|
31303
|
+
[0m
|
31304
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31305
|
+
FROM sqlite_master
|
31306
|
+
WHERE name='index_spree_taxons_on_lft' AND type='index'
|
31307
|
+
UNION ALL
|
31308
|
+
SELECT sql
|
31309
|
+
FROM sqlite_temp_master
|
31310
|
+
WHERE name='index_spree_taxons_on_lft' AND type='index'
|
31311
|
+
[0m
|
31312
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31313
|
+
FROM sqlite_master
|
31314
|
+
WHERE name='index_spree_taxons_on_position' AND type='index'
|
31315
|
+
UNION ALL
|
31316
|
+
SELECT sql
|
31317
|
+
FROM sqlite_temp_master
|
31318
|
+
WHERE name='index_spree_taxons_on_position' AND type='index'
|
31319
|
+
[0m
|
31320
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31321
|
+
FROM sqlite_master
|
31322
|
+
WHERE name='index_taxons_on_taxonomy_id' AND type='index'
|
31323
|
+
UNION ALL
|
31324
|
+
SELECT sql
|
31325
|
+
FROM sqlite_temp_master
|
31326
|
+
WHERE name='index_taxons_on_taxonomy_id' AND type='index'
|
31327
|
+
[0m
|
31328
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31329
|
+
FROM sqlite_master
|
31330
|
+
WHERE name='index_taxons_on_permalink' AND type='index'
|
31331
|
+
UNION ALL
|
31332
|
+
SELECT sql
|
31333
|
+
FROM sqlite_temp_master
|
31334
|
+
WHERE name='index_taxons_on_permalink' AND type='index'
|
31335
|
+
[0m
|
31336
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31337
|
+
FROM sqlite_master
|
31338
|
+
WHERE name='index_taxons_on_parent_id' AND type='index'
|
31339
|
+
UNION ALL
|
31340
|
+
SELECT sql
|
31341
|
+
FROM sqlite_temp_master
|
31342
|
+
WHERE name='index_taxons_on_parent_id' AND type='index'
|
31343
|
+
[0m
|
31344
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31345
|
+
FROM sqlite_master
|
31346
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
31347
|
+
UNION ALL
|
31348
|
+
SELECT sql
|
31349
|
+
FROM sqlite_temp_master
|
31350
|
+
WHERE name='index_spree_trackers_on_active' AND type='index'
|
31351
|
+
[0m
|
31352
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31353
|
+
FROM sqlite_master
|
31354
|
+
WHERE name='index_spree_variants_on_discontinue_on' AND type='index'
|
31355
|
+
UNION ALL
|
31356
|
+
SELECT sql
|
31357
|
+
FROM sqlite_temp_master
|
31358
|
+
WHERE name='index_spree_variants_on_discontinue_on' AND type='index'
|
31359
|
+
[0m
|
31360
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31361
|
+
FROM sqlite_master
|
31362
|
+
WHERE name='index_spree_variants_on_track_inventory' AND type='index'
|
31363
|
+
UNION ALL
|
31364
|
+
SELECT sql
|
31365
|
+
FROM sqlite_temp_master
|
31366
|
+
WHERE name='index_spree_variants_on_track_inventory' AND type='index'
|
31367
|
+
[0m
|
31368
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31369
|
+
FROM sqlite_master
|
31370
|
+
WHERE name='index_spree_variants_on_position' AND type='index'
|
31371
|
+
UNION ALL
|
31372
|
+
SELECT sql
|
31373
|
+
FROM sqlite_temp_master
|
31374
|
+
WHERE name='index_spree_variants_on_position' AND type='index'
|
31375
|
+
[0m
|
31376
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31377
|
+
FROM sqlite_master
|
31378
|
+
WHERE name='index_spree_variants_on_is_master' AND type='index'
|
31379
|
+
UNION ALL
|
31380
|
+
SELECT sql
|
31381
|
+
FROM sqlite_temp_master
|
31382
|
+
WHERE name='index_spree_variants_on_is_master' AND type='index'
|
31383
|
+
[0m
|
31384
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31385
|
+
FROM sqlite_master
|
31386
|
+
WHERE name='index_spree_variants_on_deleted_at' AND type='index'
|
31387
|
+
UNION ALL
|
31388
|
+
SELECT sql
|
31389
|
+
FROM sqlite_temp_master
|
31390
|
+
WHERE name='index_spree_variants_on_deleted_at' AND type='index'
|
31391
|
+
[0m
|
31392
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31393
|
+
FROM sqlite_master
|
31394
|
+
WHERE name='index_spree_variants_on_tax_category_id' AND type='index'
|
31395
|
+
UNION ALL
|
31396
|
+
SELECT sql
|
31397
|
+
FROM sqlite_temp_master
|
31398
|
+
WHERE name='index_spree_variants_on_tax_category_id' AND type='index'
|
31399
|
+
[0m
|
31400
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31401
|
+
FROM sqlite_master
|
31402
|
+
WHERE name='index_spree_variants_on_sku' AND type='index'
|
31403
|
+
UNION ALL
|
31404
|
+
SELECT sql
|
31405
|
+
FROM sqlite_temp_master
|
31406
|
+
WHERE name='index_spree_variants_on_sku' AND type='index'
|
31407
|
+
[0m
|
31408
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31409
|
+
FROM sqlite_master
|
31410
|
+
WHERE name='index_spree_variants_on_product_id' AND type='index'
|
31411
|
+
UNION ALL
|
31412
|
+
SELECT sql
|
31413
|
+
FROM sqlite_temp_master
|
31414
|
+
WHERE name='index_spree_variants_on_product_id' AND type='index'
|
31415
|
+
[0m
|
31416
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31417
|
+
FROM sqlite_master
|
31418
|
+
WHERE name='index_spree_zone_members_on_zoneable_id_and_zoneable_type' AND type='index'
|
31419
|
+
UNION ALL
|
31420
|
+
SELECT sql
|
31421
|
+
FROM sqlite_temp_master
|
31422
|
+
WHERE name='index_spree_zone_members_on_zoneable_id_and_zoneable_type' AND type='index'
|
31423
|
+
[0m
|
31424
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31425
|
+
FROM sqlite_master
|
31426
|
+
WHERE name='index_spree_zone_members_on_zone_id' AND type='index'
|
31427
|
+
UNION ALL
|
31428
|
+
SELECT sql
|
31429
|
+
FROM sqlite_temp_master
|
31430
|
+
WHERE name='index_spree_zone_members_on_zone_id' AND type='index'
|
31431
|
+
[0m
|
31432
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31433
|
+
FROM sqlite_master
|
31434
|
+
WHERE name='index_spree_zones_on_kind' AND type='index'
|
31435
|
+
UNION ALL
|
31436
|
+
SELECT sql
|
31437
|
+
FROM sqlite_temp_master
|
31438
|
+
WHERE name='index_spree_zones_on_kind' AND type='index'
|
31439
|
+
[0m
|
31440
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
31441
|
+
FROM sqlite_master
|
31442
|
+
WHERE name='index_spree_zones_on_default_tax' AND type='index'
|
31443
|
+
UNION ALL
|
31444
|
+
SELECT sql
|
31445
|
+
FROM sqlite_temp_master
|
31446
|
+
WHERE name='index_spree_zones_on_default_tax' AND type='index'
|
31447
|
+
[0m
|
31448
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31449
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31450
|
+
[1m[36mSpree::PaymentMethod Load (0.4ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31451
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:32.961036"], ["updated_at", "2018-05-16 19:18:32.961036"], ["position", 2]]
|
31452
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31453
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31454
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_purchase_orders" ("po_number", "organization_name", "created_at", "updated_at", "payment_method_id") VALUES (?, ?, ?, ?, ?)[0m [["po_number", "PO-123"], ["organization_name", "Spree Commerce"], ["created_at", "2018-05-16 19:18:33.013653"], ["updated_at", "2018-05-16 19:18:33.013653"], ["payment_method_id", 2]]
|
31455
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31456
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31457
|
+
[1m[36mSpree::PaymentMethod Load (0.4ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31458
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:33.020588"], ["updated_at", "2018-05-16 19:18:33.020588"], ["position", 3]]
|
31459
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31460
|
+
[1m[36mSpree::Country Load (0.3ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."numcode" = ? LIMIT ?[0m [["numcode", 840], ["LIMIT", 1]]
|
31461
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31462
|
+
[1m[36mSpree::Country Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."name") = LOWER(?) LIMIT ?[0m [["name", "NAME_1"], ["LIMIT", 1]]
|
31463
|
+
[1m[36mSpree::Country Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."iso_name") = LOWER(?) LIMIT ?[0m [["iso_name", "ISO_NAME_1"], ["LIMIT", 1]]
|
31464
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["iso_name", "ISO_NAME_1"], ["iso", "US"], ["iso3", "USA"], ["name", "NAME_1"], ["numcode", 840], ["updated_at", "2018-05-16 19:18:33.166709"]]
|
31465
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31466
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31467
|
+
[1m[36mSpree::State Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."name") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["name", "STATE_NAME_1"], ["country_id", 1], ["LIMIT", 1]]
|
31468
|
+
[1m[36mSpree::State Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."abbr") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["abbr", "STATE_ABBR_1"], ["country_id", 1], ["LIMIT", 1]]
|
31469
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "STATE_NAME_1"], ["abbr", "STATE_ABBR_1"], ["country_id", 1], ["updated_at", "2018-05-16 19:18:33.176478"]]
|
31470
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31471
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31472
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "lastname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["lastname", "Doe"], ["address1", "10 Lovely Street"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "35005"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2018-05-16 19:18:33.243098"], ["updated_at", "2018-05-16 19:18:33.243098"]]
|
31473
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31474
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31475
|
+
[1m[36mSpree::Store Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE LOWER("spree_stores"."code") = LOWER(?) LIMIT ?[0m [["code", "spree_1"], ["LIMIT", 1]]
|
31476
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", "t"]]
|
31477
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store"], ["url", "www.example.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_1"], ["created_at", "2018-05-16 19:18:33.274455"], ["updated_at", "2018-05-16 19:18:33.274455"]]
|
31478
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31479
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31480
|
+
[1m[36mSpree::Order Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R416364021"], ["LIMIT", 1]]
|
31481
|
+
[1m[36mSpree::Order Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R416364021"], ["LIMIT", 1]]
|
31482
|
+
[1m[36mSpree::Order Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R416364021"], ["LIMIT", 1]]
|
31483
|
+
[1m[36mSpree::Order Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "y-haMnL5lrY0kLdUqH9O0g1526498313288"], ["LIMIT", 1]]
|
31484
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "bill_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R416364021"], ["state", "cart"], ["bill_address_id", 1], ["email", "email@example.com"], ["created_at", "2018-05-16 19:18:33.288480"], ["updated_at", "2018-05-16 19:18:33.288480"], ["currency", "USD"], ["guest_token", "y-haMnL5lrY0kLdUqH9O0g1526498313288"], ["store_id", 2]]
|
31485
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31486
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31487
|
+
[1m[36mSpree::Payment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PK1KLVEK"], ["LIMIT", 1]]
|
31488
|
+
[1m[36mSpree::Payment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PK1KLVEK"], ["LIMIT", 1]]
|
31489
|
+
[1m[36mSpree::Payment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PK1KLVEK"], ["LIMIT", 1]]
|
31490
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 45.75], ["order_id", 1], ["source_type", "Spree::PurchaseOrder"], ["source_id", 1], ["payment_method_id", 3], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2018-05-16 19:18:33.306094"], ["updated_at", "2018-05-16 19:18:33.306094"], ["number", "PK1KLVEK"]]
|
31491
|
+
[1m[36mSpree::Payment Load (0.4ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? AND ("spree_payments"."id" != ?) ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "checkout"], ["id", 1]]
|
31492
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2018-05-16 19:18:33.308434"], ["id", 1]]
|
31493
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31494
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
31495
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31496
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31497
|
+
[1m[36mSpree::PaymentMethod Load (0.5ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31498
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:33.351098"], ["updated_at", "2018-05-16 19:18:33.351098"], ["position", 2]]
|
31499
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31500
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31501
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_purchase_orders" ("po_number", "organization_name", "created_at", "updated_at", "payment_method_id") VALUES (?, ?, ?, ?, ?)[0m [["po_number", "PO-123"], ["organization_name", "Spree Commerce"], ["created_at", "2018-05-16 19:18:33.358843"], ["updated_at", "2018-05-16 19:18:33.358843"], ["payment_method_id", 2]]
|
31502
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31503
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31504
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31505
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:33.364101"], ["updated_at", "2018-05-16 19:18:33.364101"], ["position", 3]]
|
31506
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31507
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."numcode" = ? LIMIT ?[0m [["numcode", 840], ["LIMIT", 1]]
|
31508
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31509
|
+
[1m[36mSpree::Country Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."name") = LOWER(?) LIMIT ?[0m [["name", "NAME_2"], ["LIMIT", 1]]
|
31510
|
+
[1m[36mSpree::Country Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."iso_name") = LOWER(?) LIMIT ?[0m [["iso_name", "ISO_NAME_2"], ["LIMIT", 1]]
|
31511
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["iso_name", "ISO_NAME_2"], ["iso", "US"], ["iso3", "USA"], ["name", "NAME_2"], ["numcode", 840], ["updated_at", "2018-05-16 19:18:33.375229"]]
|
31512
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31513
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31514
|
+
[1m[36mSpree::State Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."name") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["name", "STATE_NAME_2"], ["country_id", 1], ["LIMIT", 1]]
|
31515
|
+
[1m[36mSpree::State Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."abbr") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["abbr", "STATE_ABBR_2"], ["country_id", 1], ["LIMIT", 1]]
|
31516
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "STATE_NAME_2"], ["abbr", "STATE_ABBR_2"], ["country_id", 1], ["updated_at", "2018-05-16 19:18:33.380079"]]
|
31517
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31518
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31519
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "lastname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["lastname", "Doe"], ["address1", "10 Lovely Street"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "35005"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2018-05-16 19:18:33.383153"], ["updated_at", "2018-05-16 19:18:33.383153"]]
|
31520
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31521
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31522
|
+
[1m[36mSpree::Store Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE LOWER("spree_stores"."code") = LOWER(?) LIMIT ?[0m [["code", "spree_2"], ["LIMIT", 1]]
|
31523
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", "t"]]
|
31524
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store"], ["url", "www.example.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_2"], ["created_at", "2018-05-16 19:18:33.389473"], ["updated_at", "2018-05-16 19:18:33.389473"]]
|
31525
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31526
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31527
|
+
[1m[36mSpree::Order Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R519377222"], ["LIMIT", 1]]
|
31528
|
+
[1m[36mSpree::Order Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R519377222"], ["LIMIT", 1]]
|
31529
|
+
[1m[36mSpree::Order Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R519377222"], ["LIMIT", 1]]
|
31530
|
+
[1m[36mSpree::Order Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "6zwg5gu2XF7xCgfnW3CBEg1526498313398"], ["LIMIT", 1]]
|
31531
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "bill_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R519377222"], ["state", "cart"], ["bill_address_id", 1], ["email", "email@example.com"], ["created_at", "2018-05-16 19:18:33.398691"], ["updated_at", "2018-05-16 19:18:33.398691"], ["currency", "USD"], ["guest_token", "6zwg5gu2XF7xCgfnW3CBEg1526498313398"], ["store_id", 2]]
|
31532
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31533
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31534
|
+
[1m[36mSpree::Payment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PO67NM2M"], ["LIMIT", 1]]
|
31535
|
+
[1m[36mSpree::Payment Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PO67NM2M"], ["LIMIT", 1]]
|
31536
|
+
[1m[36mSpree::Payment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PO67NM2M"], ["LIMIT", 1]]
|
31537
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 45.75], ["order_id", 1], ["source_type", "Spree::PurchaseOrder"], ["source_id", 1], ["payment_method_id", 3], ["state", "pending"], ["response_code", "12345"], ["created_at", "2018-05-16 19:18:33.407603"], ["updated_at", "2018-05-16 19:18:33.407603"], ["number", "PO67NM2M"]]
|
31538
|
+
[1m[36mSpree::Payment Load (0.5ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? AND ("spree_payments"."id" != ?) ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "checkout"], ["id", 1]]
|
31539
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2018-05-16 19:18:33.410145"], ["id", 1]]
|
31540
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31541
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
31542
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31543
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
31544
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31545
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31546
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_purchase_orders" ("po_number", "organization_name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["po_number", "PO-123"], ["organization_name", "Spree Commerce"], ["created_at", "2018-05-16 19:18:33.425215"], ["updated_at", "2018-05-16 19:18:33.425215"]]
|
31547
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31548
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
31549
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31550
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
31551
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31552
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
31553
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
31554
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31555
|
+
[1m[36mSpree::PaymentMethod Load (0.4ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31556
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:33.586472"], ["updated_at", "2018-05-16 19:18:33.586472"], ["position", 2]]
|
31557
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31558
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31559
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_purchase_orders" ("po_number", "organization_name", "created_at", "updated_at", "payment_method_id") VALUES (?, ?, ?, ?, ?)[0m [["po_number", "PO-123"], ["organization_name", "Spree Commerce"], ["created_at", "2018-05-16 19:18:33.593895"], ["updated_at", "2018-05-16 19:18:33.593895"], ["payment_method_id", 2]]
|
31560
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31561
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31562
|
+
[1m[36mSpree::PaymentMethod Load (0.3ms)[0m [1m[34mSELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE (1 = 1) AND ("spree_payment_methods"."position" IS NOT NULL) ORDER BY "spree_payment_methods"."position" DESC LIMIT ?[0m [["LIMIT", 1]]
|
31563
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "spree_payment_methods" ("type", "name", "created_at", "updated_at", "position") VALUES (?, ?, ?, ?, ?)[0m [["type", "Spree::PaymentMethod::PurchaseOrder"], ["name", "Purchase Order"], ["created_at", "2018-05-16 19:18:33.598663"], ["updated_at", "2018-05-16 19:18:33.598663"], ["position", 3]]
|
31564
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31565
|
+
[1m[36mSpree::Country Load (0.1ms)[0m [1m[34mSELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."numcode" = ? LIMIT ?[0m [["numcode", 840], ["LIMIT", 1]]
|
31566
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31567
|
+
[1m[36mSpree::Country Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."name") = LOWER(?) LIMIT ?[0m [["name", "NAME_3"], ["LIMIT", 1]]
|
31568
|
+
[1m[36mSpree::Country Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_countries" WHERE LOWER("spree_countries"."iso_name") = LOWER(?) LIMIT ?[0m [["iso_name", "ISO_NAME_3"], ["LIMIT", 1]]
|
31569
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_countries" ("iso_name", "iso", "iso3", "name", "numcode", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["iso_name", "ISO_NAME_3"], ["iso", "US"], ["iso3", "USA"], ["name", "NAME_3"], ["numcode", 840], ["updated_at", "2018-05-16 19:18:33.609282"]]
|
31570
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31571
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31572
|
+
[1m[36mSpree::State Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."name") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["name", "STATE_NAME_3"], ["country_id", 1], ["LIMIT", 1]]
|
31573
|
+
[1m[36mSpree::State Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_states" WHERE LOWER("spree_states"."abbr") = LOWER(?) AND "spree_states"."country_id" = ? LIMIT ?[0m [["abbr", "STATE_ABBR_3"], ["country_id", 1], ["LIMIT", 1]]
|
31574
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "spree_states" ("name", "abbr", "country_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "STATE_NAME_3"], ["abbr", "STATE_ABBR_3"], ["country_id", 1], ["updated_at", "2018-05-16 19:18:33.614042"]]
|
31575
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31576
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31577
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_addresses" ("firstname", "lastname", "address1", "address2", "city", "zipcode", "phone", "alternative_phone", "company", "state_id", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "John"], ["lastname", "Doe"], ["address1", "10 Lovely Street"], ["address2", "Northwest"], ["city", "Herndon"], ["zipcode", "35005"], ["phone", "555-555-0199"], ["alternative_phone", "555-555-0199"], ["company", "Company"], ["state_id", 1], ["country_id", 1], ["created_at", "2018-05-16 19:18:33.617409"], ["updated_at", "2018-05-16 19:18:33.617409"]]
|
31578
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31579
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31580
|
+
[1m[36mSpree::Store Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_stores" WHERE LOWER("spree_stores"."code") = LOWER(?) LIMIT ?[0m [["code", "spree_3"], ["LIMIT", 1]]
|
31581
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "spree_stores" WHERE "spree_stores"."default" = ?[0m [["default", "t"]]
|
31582
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_stores" ("name", "url", "mail_from_address", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Spree Test Store"], ["url", "www.example.com"], ["mail_from_address", "spree@example.org"], ["code", "spree_3"], ["created_at", "2018-05-16 19:18:33.622758"], ["updated_at", "2018-05-16 19:18:33.622758"]]
|
31583
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31584
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31585
|
+
[1m[36mSpree::Order Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R185026853"], ["LIMIT", 1]]
|
31586
|
+
[1m[36mSpree::Order Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R185026853"], ["LIMIT", 1]]
|
31587
|
+
[1m[36mSpree::Order Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."number" = ? LIMIT ?[0m [["number", "R185026853"], ["LIMIT", 1]]
|
31588
|
+
[1m[36mSpree::Order Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_orders" WHERE "spree_orders"."guest_token" = ? LIMIT ?[0m [["guest_token", "PDUW9D6TmbZ-988eqTDaCA1526498313631"], ["LIMIT", 1]]
|
31589
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "spree_orders" ("number", "state", "bill_address_id", "email", "created_at", "updated_at", "currency", "guest_token", "store_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "R185026853"], ["state", "cart"], ["bill_address_id", 1], ["email", "email@example.com"], ["created_at", "2018-05-16 19:18:33.631300"], ["updated_at", "2018-05-16 19:18:33.631300"], ["currency", "USD"], ["guest_token", "PDUW9D6TmbZ-988eqTDaCA1526498313631"], ["store_id", 2]]
|
31590
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31591
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31592
|
+
[1m[36mSpree::Payment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PLU9WGWH"], ["LIMIT", 1]]
|
31593
|
+
[1m[36mSpree::Payment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PLU9WGWH"], ["LIMIT", 1]]
|
31594
|
+
[1m[36mSpree::Payment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "spree_payments" WHERE "spree_payments"."number" = ? LIMIT ?[0m [["number", "PLU9WGWH"], ["LIMIT", 1]]
|
31595
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "spree_payments" ("amount", "order_id", "source_type", "source_id", "payment_method_id", "state", "response_code", "created_at", "updated_at", "number") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 45.75], ["order_id", 1], ["source_type", "Spree::PurchaseOrder"], ["source_id", 1], ["payment_method_id", 3], ["state", "checkout"], ["response_code", "12345"], ["created_at", "2018-05-16 19:18:33.640772"], ["updated_at", "2018-05-16 19:18:33.640772"], ["number", "PLU9WGWH"]]
|
31596
|
+
[1m[36mSpree::Payment Load (0.1ms)[0m [1m[34mSELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = ? AND "spree_payments"."state" = ? AND ("spree_payments"."id" != ?) ORDER BY "spree_payments"."created_at" ASC[0m [["order_id", 1], ["state", "checkout"], ["id", 1]]
|
31597
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "spree_orders" SET "updated_at" = ? WHERE "spree_orders"."id" = ?[0m [["updated_at", "2018-05-16 19:18:33.643853"], ["id", 1]]
|
31598
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
31599
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|