dm_core 4.2.3.2 → 4.2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dm_core/version.rb +1 -1
- data/spec/dummy/log/development.log +784 -0
- data/spec/dummy/log/test.log +429 -0
- metadata +2 -2
@@ -4732,3 +4732,787 @@ Adding themes to assets [true]
|
|
4732
4732
|
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150132')
|
4733
4733
|
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150133')[0m
|
4734
4734
|
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150134')
|
4735
|
+
Adding themes to assets [true]
|
4736
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "core_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "contact_email" varchar, "domain" varchar, "account_prefix" varchar, "default_site_id" integer, "created_at" datetime, "updated_at" datetime, "next_invoice_num" integer DEFAULT 1000) [0m
|
4737
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
4738
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_core_accounts_on_default_site_id" ON "core_accounts" ("default_site_id")[0m
|
4739
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "core_activities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "user_id" integer, "browser" varchar, "session_id" varchar, "ip_address" varchar, "controller" varchar, "action" varchar, "params" varchar, "slug" varchar, "lesson" varchar, "created_at" datetime)
|
4740
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_core_activities_on_account_id" ON "core_activities" ("account_id")[0m
|
4741
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4742
|
+
FROM sqlite_master
|
4743
|
+
WHERE name='index_core_activities_on_account_id' AND type='index'
|
4744
|
+
UNION ALL
|
4745
|
+
SELECT sql
|
4746
|
+
FROM sqlite_temp_master
|
4747
|
+
WHERE name='index_core_activities_on_account_id' AND type='index'
|
4748
|
+
|
4749
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_core_activities_on_user_id" ON "core_activities" ("user_id")[0m
|
4750
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "core_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "line1" varchar, "line2" varchar, "city" varchar, "state" varchar, "zip" varchar, "country_code" varchar(2), "addressable_id" integer, "addressable_type" varchar, "created_at" datetime, "updated_at" datetime)
|
4751
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_core_addresses_on_addressable_id" ON "core_addresses" ("addressable_id")[0m
|
4752
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4753
|
+
FROM sqlite_master
|
4754
|
+
WHERE name='index_core_addresses_on_addressable_id' AND type='index'
|
4755
|
+
UNION ALL
|
4756
|
+
SELECT sql
|
4757
|
+
FROM sqlite_temp_master
|
4758
|
+
WHERE name='index_core_addresses_on_addressable_id' AND type='index'
|
4759
|
+
|
4760
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_core_addresses_on_addressable_type_and_addressable_id" ON "core_addresses" ("addressable_type", "addressable_id")[0m
|
4761
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "core_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "row_order" integer, "account_id" integer, "created_on" datetime, "updated_on" datetime)
|
4762
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_core_categories_on_account_id" ON "core_categories" ("account_id")[0m
|
4763
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "core_category_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "core_category_id" integer, "locale" varchar, "name" varchar, "description" varchar, "created_at" datetime, "updated_at" datetime)
|
4764
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_category_translation" ON "core_category_translations" ("core_category_id")[0m
|
4765
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "core_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(50) DEFAULT '', "body" text, "commentable_id" integer, "commentable_type" varchar, "user_id" integer, "role" varchar DEFAULT 'comments', "account_id" integer, "created_at" datetime, "updated_at" datetime, "type" varchar, "ancestry" varchar, "ancestry_depth" integer DEFAULT 0)
|
4766
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_core_comments_on_account_id" ON "core_comments" ("account_id")[0m
|
4767
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4768
|
+
FROM sqlite_master
|
4769
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4770
|
+
UNION ALL
|
4771
|
+
SELECT sql
|
4772
|
+
FROM sqlite_temp_master
|
4773
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4774
|
+
|
4775
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_core_comments_on_commentable_id" ON "core_comments" ("commentable_id")[0m
|
4776
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4777
|
+
FROM sqlite_master
|
4778
|
+
WHERE name='index_core_comments_on_commentable_id' AND type='index'
|
4779
|
+
UNION ALL
|
4780
|
+
SELECT sql
|
4781
|
+
FROM sqlite_temp_master
|
4782
|
+
WHERE name='index_core_comments_on_commentable_id' AND type='index'
|
4783
|
+
|
4784
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4785
|
+
FROM sqlite_master
|
4786
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4787
|
+
UNION ALL
|
4788
|
+
SELECT sql
|
4789
|
+
FROM sqlite_temp_master
|
4790
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4791
|
+
[0m
|
4792
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_core_comments_on_commentable_type" ON "core_comments" ("commentable_type")
|
4793
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4794
|
+
FROM sqlite_master
|
4795
|
+
WHERE name='index_core_comments_on_commentable_type' AND type='index'
|
4796
|
+
UNION ALL
|
4797
|
+
SELECT sql
|
4798
|
+
FROM sqlite_temp_master
|
4799
|
+
WHERE name='index_core_comments_on_commentable_type' AND type='index'
|
4800
|
+
[0m
|
4801
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4802
|
+
FROM sqlite_master
|
4803
|
+
WHERE name='index_core_comments_on_commentable_id' AND type='index'
|
4804
|
+
UNION ALL
|
4805
|
+
SELECT sql
|
4806
|
+
FROM sqlite_temp_master
|
4807
|
+
WHERE name='index_core_comments_on_commentable_id' AND type='index'
|
4808
|
+
|
4809
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4810
|
+
FROM sqlite_master
|
4811
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4812
|
+
UNION ALL
|
4813
|
+
SELECT sql
|
4814
|
+
FROM sqlite_temp_master
|
4815
|
+
WHERE name='index_core_comments_on_account_id' AND type='index'
|
4816
|
+
[0m
|
4817
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_core_comments_on_user_id" ON "core_comments" ("user_id")
|
4818
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "core_custom_field_def_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "core_custom_field_def_id" integer, "locale" varchar, "label" varchar, "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
4819
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "core_custom_field_def_translations_index" ON "core_custom_field_def_translations" ("core_custom_field_def_id")
|
4820
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "core_custom_field_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "name" varchar, "field_type" varchar, "row_order" integer, "required" boolean DEFAULT 'f', "properties" varchar(2048), "created_at" datetime, "updated_at" datetime, "account_id" integer) [0m
|
4821
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_core_custom_field_defs_on_account_id" ON "core_custom_field_defs" ("account_id")
|
4822
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4823
|
+
FROM sqlite_master
|
4824
|
+
WHERE name='index_core_custom_field_defs_on_account_id' AND type='index'
|
4825
|
+
UNION ALL
|
4826
|
+
SELECT sql
|
4827
|
+
FROM sqlite_temp_master
|
4828
|
+
WHERE name='index_core_custom_field_defs_on_account_id' AND type='index'
|
4829
|
+
[0m
|
4830
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_core_custom_field_defs_on_owner_id_and_owner_type" ON "core_custom_field_defs" ("owner_id", "owner_type")
|
4831
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "core_custom_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar, "custom_field_def_id" integer, "field_data" varchar(4096), "created_at" datetime, "updated_at" datetime, "account_id" integer) [0m
|
4832
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_core_custom_fields_on_account_id" ON "core_custom_fields" ("account_id")
|
4833
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4834
|
+
FROM sqlite_master
|
4835
|
+
WHERE name='index_core_custom_fields_on_account_id' AND type='index'
|
4836
|
+
UNION ALL
|
4837
|
+
SELECT sql
|
4838
|
+
FROM sqlite_temp_master
|
4839
|
+
WHERE name='index_core_custom_fields_on_account_id' AND type='index'
|
4840
|
+
[0m
|
4841
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_core_custom_fields_on_custom_field_def_id" ON "core_custom_fields" ("custom_field_def_id")
|
4842
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4843
|
+
FROM sqlite_master
|
4844
|
+
WHERE name='index_core_custom_fields_on_custom_field_def_id' AND type='index'
|
4845
|
+
UNION ALL
|
4846
|
+
SELECT sql
|
4847
|
+
FROM sqlite_temp_master
|
4848
|
+
WHERE name='index_core_custom_fields_on_custom_field_def_id' AND type='index'
|
4849
|
+
[0m
|
4850
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4851
|
+
FROM sqlite_master
|
4852
|
+
WHERE name='index_core_custom_fields_on_account_id' AND type='index'
|
4853
|
+
UNION ALL
|
4854
|
+
SELECT sql
|
4855
|
+
FROM sqlite_temp_master
|
4856
|
+
WHERE name='index_core_custom_fields_on_account_id' AND type='index'
|
4857
|
+
|
4858
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_core_custom_fields_on_owner_id_and_owner_type" ON "core_custom_fields" ("owner_id", "owner_type")[0m
|
4859
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "core_payment_histories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer, "owner_type" varchar(30), "anchor_id" varchar(20), "order_ref" varchar, "item_ref" varchar, "item_name" varchar, "quantity" integer, "cost" varchar, "discount" varchar, "total_cents" integer, "total_currency" varchar(3), "payment_method" varchar, "payment_date" datetime, "bill_to_name" varchar, "item_details" text, "order_details" text, "status" varchar, "user_profile_id" integer, "created_on" datetime, "account_id" integer, "notify_data" text, "transaction_id" varchar)
|
4860
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_core_payment_histories_on_account_id" ON "core_payment_histories" ("account_id")[0m
|
4861
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4862
|
+
FROM sqlite_master
|
4863
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4864
|
+
UNION ALL
|
4865
|
+
SELECT sql
|
4866
|
+
FROM sqlite_temp_master
|
4867
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4868
|
+
|
4869
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_payment_histories_on_anchor_id" ON "core_payment_histories" ("anchor_id")[0m
|
4870
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4871
|
+
FROM sqlite_master
|
4872
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4873
|
+
UNION ALL
|
4874
|
+
SELECT sql
|
4875
|
+
FROM sqlite_temp_master
|
4876
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4877
|
+
|
4878
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4879
|
+
FROM sqlite_master
|
4880
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4881
|
+
UNION ALL
|
4882
|
+
SELECT sql
|
4883
|
+
FROM sqlite_temp_master
|
4884
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4885
|
+
[0m
|
4886
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_payment_histories_on_item_ref" ON "core_payment_histories" ("item_ref")
|
4887
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4888
|
+
FROM sqlite_master
|
4889
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4890
|
+
UNION ALL
|
4891
|
+
SELECT sql
|
4892
|
+
FROM sqlite_temp_master
|
4893
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4894
|
+
[0m
|
4895
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4896
|
+
FROM sqlite_master
|
4897
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4898
|
+
UNION ALL
|
4899
|
+
SELECT sql
|
4900
|
+
FROM sqlite_temp_master
|
4901
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4902
|
+
|
4903
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4904
|
+
FROM sqlite_master
|
4905
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4906
|
+
UNION ALL
|
4907
|
+
SELECT sql
|
4908
|
+
FROM sqlite_temp_master
|
4909
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4910
|
+
[0m
|
4911
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_payment_histories_on_order_ref" ON "core_payment_histories" ("order_ref")
|
4912
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4913
|
+
FROM sqlite_master
|
4914
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
4915
|
+
UNION ALL
|
4916
|
+
SELECT sql
|
4917
|
+
FROM sqlite_temp_master
|
4918
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
4919
|
+
[0m
|
4920
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4921
|
+
FROM sqlite_master
|
4922
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4923
|
+
UNION ALL
|
4924
|
+
SELECT sql
|
4925
|
+
FROM sqlite_temp_master
|
4926
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4927
|
+
|
4928
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4929
|
+
FROM sqlite_master
|
4930
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4931
|
+
UNION ALL
|
4932
|
+
SELECT sql
|
4933
|
+
FROM sqlite_temp_master
|
4934
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4935
|
+
[0m
|
4936
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4937
|
+
FROM sqlite_master
|
4938
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4939
|
+
UNION ALL
|
4940
|
+
SELECT sql
|
4941
|
+
FROM sqlite_temp_master
|
4942
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4943
|
+
|
4944
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_payment_histories_on_owner_id" ON "core_payment_histories" ("owner_id")[0m
|
4945
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4946
|
+
FROM sqlite_master
|
4947
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
4948
|
+
UNION ALL
|
4949
|
+
SELECT sql
|
4950
|
+
FROM sqlite_temp_master
|
4951
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
4952
|
+
|
4953
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4954
|
+
FROM sqlite_master
|
4955
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
4956
|
+
UNION ALL
|
4957
|
+
SELECT sql
|
4958
|
+
FROM sqlite_temp_master
|
4959
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
4960
|
+
[0m
|
4961
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4962
|
+
FROM sqlite_master
|
4963
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4964
|
+
UNION ALL
|
4965
|
+
SELECT sql
|
4966
|
+
FROM sqlite_temp_master
|
4967
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
4968
|
+
|
4969
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4970
|
+
FROM sqlite_master
|
4971
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4972
|
+
UNION ALL
|
4973
|
+
SELECT sql
|
4974
|
+
FROM sqlite_temp_master
|
4975
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
4976
|
+
[0m
|
4977
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4978
|
+
FROM sqlite_master
|
4979
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4980
|
+
UNION ALL
|
4981
|
+
SELECT sql
|
4982
|
+
FROM sqlite_temp_master
|
4983
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
4984
|
+
|
4985
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_payment_histories_on_owner_type" ON "core_payment_histories" ("owner_type")[0m
|
4986
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
4987
|
+
FROM sqlite_master
|
4988
|
+
WHERE name='index_payment_histories_on_owner_type' AND type='index'
|
4989
|
+
UNION ALL
|
4990
|
+
SELECT sql
|
4991
|
+
FROM sqlite_temp_master
|
4992
|
+
WHERE name='index_payment_histories_on_owner_type' AND type='index'
|
4993
|
+
|
4994
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
4995
|
+
FROM sqlite_master
|
4996
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
4997
|
+
UNION ALL
|
4998
|
+
SELECT sql
|
4999
|
+
FROM sqlite_temp_master
|
5000
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
5001
|
+
[0m
|
5002
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5003
|
+
FROM sqlite_master
|
5004
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
5005
|
+
UNION ALL
|
5006
|
+
SELECT sql
|
5007
|
+
FROM sqlite_temp_master
|
5008
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
5009
|
+
|
5010
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5011
|
+
FROM sqlite_master
|
5012
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
5013
|
+
UNION ALL
|
5014
|
+
SELECT sql
|
5015
|
+
FROM sqlite_temp_master
|
5016
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
5017
|
+
[0m
|
5018
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5019
|
+
FROM sqlite_master
|
5020
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
5021
|
+
UNION ALL
|
5022
|
+
SELECT sql
|
5023
|
+
FROM sqlite_temp_master
|
5024
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
5025
|
+
|
5026
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5027
|
+
FROM sqlite_master
|
5028
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
5029
|
+
UNION ALL
|
5030
|
+
SELECT sql
|
5031
|
+
FROM sqlite_temp_master
|
5032
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
5033
|
+
[0m
|
5034
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_core_payment_histories_on_transaction_id" ON "core_payment_histories" ("transaction_id")
|
5035
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5036
|
+
FROM sqlite_master
|
5037
|
+
WHERE name='index_core_payment_histories_on_transaction_id' AND type='index'
|
5038
|
+
UNION ALL
|
5039
|
+
SELECT sql
|
5040
|
+
FROM sqlite_temp_master
|
5041
|
+
WHERE name='index_core_payment_histories_on_transaction_id' AND type='index'
|
5042
|
+
[0m
|
5043
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5044
|
+
FROM sqlite_master
|
5045
|
+
WHERE name='index_payment_histories_on_owner_type' AND type='index'
|
5046
|
+
UNION ALL
|
5047
|
+
SELECT sql
|
5048
|
+
FROM sqlite_temp_master
|
5049
|
+
WHERE name='index_payment_histories_on_owner_type' AND type='index'
|
5050
|
+
|
5051
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5052
|
+
FROM sqlite_master
|
5053
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
5054
|
+
UNION ALL
|
5055
|
+
SELECT sql
|
5056
|
+
FROM sqlite_temp_master
|
5057
|
+
WHERE name='index_payment_histories_on_owner_id' AND type='index'
|
5058
|
+
[0m
|
5059
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5060
|
+
FROM sqlite_master
|
5061
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
5062
|
+
UNION ALL
|
5063
|
+
SELECT sql
|
5064
|
+
FROM sqlite_temp_master
|
5065
|
+
WHERE name='index_payment_histories_on_order_ref' AND type='index'
|
5066
|
+
|
5067
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5068
|
+
FROM sqlite_master
|
5069
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
5070
|
+
UNION ALL
|
5071
|
+
SELECT sql
|
5072
|
+
FROM sqlite_temp_master
|
5073
|
+
WHERE name='index_payment_histories_on_item_ref' AND type='index'
|
5074
|
+
[0m
|
5075
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5076
|
+
FROM sqlite_master
|
5077
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
5078
|
+
UNION ALL
|
5079
|
+
SELECT sql
|
5080
|
+
FROM sqlite_temp_master
|
5081
|
+
WHERE name='index_payment_histories_on_anchor_id' AND type='index'
|
5082
|
+
|
5083
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5084
|
+
FROM sqlite_master
|
5085
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
5086
|
+
UNION ALL
|
5087
|
+
SELECT sql
|
5088
|
+
FROM sqlite_temp_master
|
5089
|
+
WHERE name='index_core_payment_histories_on_account_id' AND type='index'
|
5090
|
+
[0m
|
5091
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_core_payment_histories_on_user_profile_id" ON "core_payment_histories" ("user_profile_id")
|
5092
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "core_system_email_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "core_system_email_id" integer, "locale" varchar, "subject" varchar, "body" text, "created_at" datetime, "updated_at" datetime) [0m
|
5093
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_core_system_email_translations_on_core_system_email_id" ON "core_system_email_translations" ("core_system_email_id")
|
5094
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "core_system_emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_type" varchar, "emailable_id" integer, "emailable_type" varchar, "created_at" datetime, "updated_at" datetime, "account_id" integer) [0m
|
5095
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_core_system_emails_on_account_id" ON "core_system_emails" ("account_id")
|
5096
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5097
|
+
FROM sqlite_master
|
5098
|
+
WHERE name='index_core_system_emails_on_account_id' AND type='index'
|
5099
|
+
UNION ALL
|
5100
|
+
SELECT sql
|
5101
|
+
FROM sqlite_temp_master
|
5102
|
+
WHERE name='index_core_system_emails_on_account_id' AND type='index'
|
5103
|
+
[0m
|
5104
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_core_system_emails_on_emailable_id" ON "core_system_emails" ("emailable_id")
|
5105
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
5106
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
|
5107
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "follows" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followable_id" integer NOT NULL, "followable_type" varchar NOT NULL, "follower_id" integer NOT NULL, "follower_type" varchar NOT NULL, "blocked" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
5108
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "fk_followables" ON "follows" ("followable_id", "followable_type")
|
5109
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5110
|
+
FROM sqlite_master
|
5111
|
+
WHERE name='fk_followables' AND type='index'
|
5112
|
+
UNION ALL
|
5113
|
+
SELECT sql
|
5114
|
+
FROM sqlite_temp_master
|
5115
|
+
WHERE name='fk_followables' AND type='index'
|
5116
|
+
[0m
|
5117
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
|
5118
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "globalize_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar(2), "english_name" varchar, "date_format" varchar, "currency_format" varchar, "currency_code" varchar(3), "thousands_sep" varchar(2), "decimal_sep" varchar(2), "currency_decimal_sep" varchar(2), "number_grouping_scheme" varchar, "continent" varchar, "locale" varchar) [0m
|
5119
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_globalize_countries_on_code" ON "globalize_countries" ("code")
|
5120
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5121
|
+
FROM sqlite_master
|
5122
|
+
WHERE name='index_globalize_countries_on_code' AND type='index'
|
5123
|
+
UNION ALL
|
5124
|
+
SELECT sql
|
5125
|
+
FROM sqlite_temp_master
|
5126
|
+
WHERE name='index_globalize_countries_on_code' AND type='index'
|
5127
|
+
[0m
|
5128
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_globalize_countries_on_locale" ON "globalize_countries" ("locale")
|
5129
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "globalize_languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "iso_639_1" varchar(2), "iso_639_2" varchar(3), "iso_639_3" varchar(3), "rfc_3066" varchar, "english_name" varchar, "english_name_locale" varchar, "english_name_modifier" varchar, "native_name" varchar, "native_name_locale" varchar, "native_name_modifier" varchar, "macro_language" boolean, "direction" varchar, "pluralization" varchar, "scope" varchar(1)) [0m
|
5130
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_globalize_languages_on_iso_639_1" ON "globalize_languages" ("iso_639_1")
|
5131
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5132
|
+
FROM sqlite_master
|
5133
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5134
|
+
UNION ALL
|
5135
|
+
SELECT sql
|
5136
|
+
FROM sqlite_temp_master
|
5137
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5138
|
+
[0m
|
5139
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_globalize_languages_on_iso_639_2" ON "globalize_languages" ("iso_639_2")
|
5140
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5141
|
+
FROM sqlite_master
|
5142
|
+
WHERE name='index_globalize_languages_on_iso_639_2' AND type='index'
|
5143
|
+
UNION ALL
|
5144
|
+
SELECT sql
|
5145
|
+
FROM sqlite_temp_master
|
5146
|
+
WHERE name='index_globalize_languages_on_iso_639_2' AND type='index'
|
5147
|
+
[0m
|
5148
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5149
|
+
FROM sqlite_master
|
5150
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5151
|
+
UNION ALL
|
5152
|
+
SELECT sql
|
5153
|
+
FROM sqlite_temp_master
|
5154
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5155
|
+
|
5156
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_globalize_languages_on_iso_639_3" ON "globalize_languages" ("iso_639_3")[0m
|
5157
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5158
|
+
FROM sqlite_master
|
5159
|
+
WHERE name='index_globalize_languages_on_iso_639_3' AND type='index'
|
5160
|
+
UNION ALL
|
5161
|
+
SELECT sql
|
5162
|
+
FROM sqlite_temp_master
|
5163
|
+
WHERE name='index_globalize_languages_on_iso_639_3' AND type='index'
|
5164
|
+
|
5165
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5166
|
+
FROM sqlite_master
|
5167
|
+
WHERE name='index_globalize_languages_on_iso_639_2' AND type='index'
|
5168
|
+
UNION ALL
|
5169
|
+
SELECT sql
|
5170
|
+
FROM sqlite_temp_master
|
5171
|
+
WHERE name='index_globalize_languages_on_iso_639_2' AND type='index'
|
5172
|
+
[0m
|
5173
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5174
|
+
FROM sqlite_master
|
5175
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5176
|
+
UNION ALL
|
5177
|
+
SELECT sql
|
5178
|
+
FROM sqlite_temp_master
|
5179
|
+
WHERE name='index_globalize_languages_on_iso_639_1' AND type='index'
|
5180
|
+
|
5181
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_globalize_languages_on_rfc_3066" ON "globalize_languages" ("rfc_3066")[0m
|
5182
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar NOT NULL, "group_id" integer, "group_type" varchar, "value" varchar, "created_at" datetime, "updated_at" datetime)
|
5183
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_preferences_on_group_id" ON "preferences" ("group_id")[0m
|
5184
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5185
|
+
FROM sqlite_master
|
5186
|
+
WHERE name='index_preferences_on_group_id' AND type='index'
|
5187
|
+
UNION ALL
|
5188
|
+
SELECT sql
|
5189
|
+
FROM sqlite_temp_master
|
5190
|
+
WHERE name='index_preferences_on_group_id' AND type='index'
|
5191
|
+
|
5192
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_preferences_on_owner_and_name_and_preference" ON "preferences" ("owner_id", "owner_type", "name", "group_id", "group_type")[0m
|
5193
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_id" integer, "resource_type" varchar, "created_at" datetime, "updated_at" datetime, "account_id" integer)
|
5194
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_roles_on_account_id" ON "roles" ("account_id")[0m
|
5195
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5196
|
+
FROM sqlite_master
|
5197
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5198
|
+
UNION ALL
|
5199
|
+
SELECT sql
|
5200
|
+
FROM sqlite_temp_master
|
5201
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5202
|
+
|
5203
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_roles_on_name_and_resource_type_and_resource_id" ON "roles" ("name", "resource_type", "resource_id")[0m
|
5204
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5205
|
+
FROM sqlite_master
|
5206
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
5207
|
+
UNION ALL
|
5208
|
+
SELECT sql
|
5209
|
+
FROM sqlite_temp_master
|
5210
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
5211
|
+
|
5212
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
5213
|
+
FROM sqlite_master
|
5214
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5215
|
+
UNION ALL
|
5216
|
+
SELECT sql
|
5217
|
+
FROM sqlite_temp_master
|
5218
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5219
|
+
[0m
|
5220
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_roles_on_name" ON "roles" ("name")
|
5221
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5222
|
+
FROM sqlite_master
|
5223
|
+
WHERE name='index_roles_on_name' AND type='index'
|
5224
|
+
UNION ALL
|
5225
|
+
SELECT sql
|
5226
|
+
FROM sqlite_temp_master
|
5227
|
+
WHERE name='index_roles_on_name' AND type='index'
|
5228
|
+
[0m
|
5229
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5230
|
+
FROM sqlite_master
|
5231
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
5232
|
+
UNION ALL
|
5233
|
+
SELECT sql
|
5234
|
+
FROM sqlite_temp_master
|
5235
|
+
WHERE name='index_roles_on_name_and_resource_type_and_resource_id' AND type='index'
|
5236
|
+
|
5237
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5238
|
+
FROM sqlite_master
|
5239
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5240
|
+
UNION ALL
|
5241
|
+
SELECT sql
|
5242
|
+
FROM sqlite_temp_master
|
5243
|
+
WHERE name='index_roles_on_account_id' AND type='index'
|
5244
|
+
[0m
|
5245
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_roles_on_resource_id" ON "roles" ("resource_id")
|
5246
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) [0m
|
5247
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
5248
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5249
|
+
FROM sqlite_master
|
5250
|
+
WHERE name='taggings_idx' AND type='index'
|
5251
|
+
UNION ALL
|
5252
|
+
SELECT sql
|
5253
|
+
FROM sqlite_temp_master
|
5254
|
+
WHERE name='taggings_idx' AND type='index'
|
5255
|
+
[0m
|
5256
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
5257
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5258
|
+
FROM sqlite_master
|
5259
|
+
WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
|
5260
|
+
UNION ALL
|
5261
|
+
SELECT sql
|
5262
|
+
FROM sqlite_temp_master
|
5263
|
+
WHERE name='index_taggings_on_taggable_id_and_taggable_type_and_context' AND type='index'
|
5264
|
+
[0m
|
5265
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5266
|
+
FROM sqlite_master
|
5267
|
+
WHERE name='taggings_idx' AND type='index'
|
5268
|
+
UNION ALL
|
5269
|
+
SELECT sql
|
5270
|
+
FROM sqlite_temp_master
|
5271
|
+
WHERE name='taggings_idx' AND type='index'
|
5272
|
+
|
5273
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_taggings_on_tagger_id" ON "taggings" ("tagger_id")[0m
|
5274
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)
|
5275
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")[0m
|
5276
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "user_profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "public_name" varchar(50) DEFAULT '', "first_name" varchar(50) DEFAULT '', "last_name" varchar(50) DEFAULT '', "address" varchar(70) DEFAULT '', "address2" varchar(70) DEFAULT '', "city" varchar(30) DEFAULT '', "state" varchar(30) DEFAULT '', "zipcode" varchar(10) DEFAULT '', "country_id" integer DEFAULT 0, "phone" varchar(20) DEFAULT '', "cell" varchar(20) DEFAULT '', "fax" varchar(20) DEFAULT '', "workphone" varchar(20) DEFAULT '', "website" varchar(50) DEFAULT '', "gender" varchar(1) DEFAULT '', "status" integer DEFAULT 0, "lock_version" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "account_id" integer, "email" varchar, "public_avatar" varchar, "public_avatar_file_size" integer, "public_avatar_content_type" varchar, "private_avatar" varchar, "private_avatar_file_size" integer, "private_avatar_content_type" varchar, "use_private_avatar_for_public" boolean DEFAULT 'f', "favored_locale" varchar)
|
5277
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_user_profiles_on_account_id" ON "user_profiles" ("account_id")[0m
|
5278
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5279
|
+
FROM sqlite_master
|
5280
|
+
WHERE name='index_user_profiles_on_account_id' AND type='index'
|
5281
|
+
UNION ALL
|
5282
|
+
SELECT sql
|
5283
|
+
FROM sqlite_temp_master
|
5284
|
+
WHERE name='index_user_profiles_on_account_id' AND type='index'
|
5285
|
+
|
5286
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_user_profiles_on_country_id" ON "user_profiles" ("country_id")[0m
|
5287
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5288
|
+
FROM sqlite_master
|
5289
|
+
WHERE name='index_user_profiles_on_country_id' AND type='index'
|
5290
|
+
UNION ALL
|
5291
|
+
SELECT sql
|
5292
|
+
FROM sqlite_temp_master
|
5293
|
+
WHERE name='index_user_profiles_on_country_id' AND type='index'
|
5294
|
+
|
5295
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5296
|
+
FROM sqlite_master
|
5297
|
+
WHERE name='index_user_profiles_on_account_id' AND type='index'
|
5298
|
+
UNION ALL
|
5299
|
+
SELECT sql
|
5300
|
+
FROM sqlite_temp_master
|
5301
|
+
WHERE name='index_user_profiles_on_account_id' AND type='index'
|
5302
|
+
[0m
|
5303
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_user_profiles_on_user_id" ON "user_profiles" ("user_id")
|
5304
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "user_site_profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_access_at" datetime, "created_at" datetime, "updated_at" datetime, "account_id" integer, "uuid" varchar(40)) [0m
|
5305
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_user_site_profiles_on_account_id" ON "user_site_profiles" ("account_id")
|
5306
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5307
|
+
FROM sqlite_master
|
5308
|
+
WHERE name='index_user_site_profiles_on_account_id' AND type='index'
|
5309
|
+
UNION ALL
|
5310
|
+
SELECT sql
|
5311
|
+
FROM sqlite_temp_master
|
5312
|
+
WHERE name='index_user_site_profiles_on_account_id' AND type='index'
|
5313
|
+
[0m
|
5314
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_user_site_profiles_on_user_id" ON "user_site_profiles" ("user_id")
|
5315
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5316
|
+
FROM sqlite_master
|
5317
|
+
WHERE name='index_user_site_profiles_on_user_id' AND type='index'
|
5318
|
+
UNION ALL
|
5319
|
+
SELECT sql
|
5320
|
+
FROM sqlite_temp_master
|
5321
|
+
WHERE name='index_user_site_profiles_on_user_id' AND type='index'
|
5322
|
+
[0m
|
5323
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5324
|
+
FROM sqlite_master
|
5325
|
+
WHERE name='index_user_site_profiles_on_account_id' AND type='index'
|
5326
|
+
UNION ALL
|
5327
|
+
SELECT sql
|
5328
|
+
FROM sqlite_temp_master
|
5329
|
+
WHERE name='index_user_site_profiles_on_account_id' AND type='index'
|
5330
|
+
|
5331
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_user_site_profiles_on_uuid" ON "user_site_profiles" ("uuid")[0m
|
5332
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "created_at" datetime, "updated_at" datetime, "account_id" integer)
|
5333
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_users_on_account_id" ON "users" ("account_id")[0m
|
5334
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5335
|
+
FROM sqlite_master
|
5336
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5337
|
+
UNION ALL
|
5338
|
+
SELECT sql
|
5339
|
+
FROM sqlite_temp_master
|
5340
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5341
|
+
|
5342
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_token")[0m
|
5343
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5344
|
+
FROM sqlite_master
|
5345
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
5346
|
+
UNION ALL
|
5347
|
+
SELECT sql
|
5348
|
+
FROM sqlite_temp_master
|
5349
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
5350
|
+
|
5351
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5352
|
+
FROM sqlite_master
|
5353
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5354
|
+
UNION ALL
|
5355
|
+
SELECT sql
|
5356
|
+
FROM sqlite_temp_master
|
5357
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5358
|
+
[0m
|
5359
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
5360
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5361
|
+
FROM sqlite_master
|
5362
|
+
WHERE name='index_users_on_email' AND type='index'
|
5363
|
+
UNION ALL
|
5364
|
+
SELECT sql
|
5365
|
+
FROM sqlite_temp_master
|
5366
|
+
WHERE name='index_users_on_email' AND type='index'
|
5367
|
+
[0m
|
5368
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5369
|
+
FROM sqlite_master
|
5370
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
5371
|
+
UNION ALL
|
5372
|
+
SELECT sql
|
5373
|
+
FROM sqlite_temp_master
|
5374
|
+
WHERE name='index_users_on_confirmation_token' AND type='index'
|
5375
|
+
|
5376
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5377
|
+
FROM sqlite_master
|
5378
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5379
|
+
UNION ALL
|
5380
|
+
SELECT sql
|
5381
|
+
FROM sqlite_temp_master
|
5382
|
+
WHERE name='index_users_on_account_id' AND type='index'
|
5383
|
+
[0m
|
5384
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
5385
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users_roles" ("user_id" integer, "role_id" integer) [0m
|
5386
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_users_roles_on_role_id" ON "users_roles" ("role_id")
|
5387
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5388
|
+
FROM sqlite_master
|
5389
|
+
WHERE name='index_users_roles_on_role_id' AND type='index'
|
5390
|
+
UNION ALL
|
5391
|
+
SELECT sql
|
5392
|
+
FROM sqlite_temp_master
|
5393
|
+
WHERE name='index_users_roles_on_role_id' AND type='index'
|
5394
|
+
[0m
|
5395
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_users_roles_on_user_id_and_role_id" ON "users_roles" ("user_id", "role_id")
|
5396
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "version_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "foreign_key_name" varchar(191) NOT NULL, "foreign_key_id" integer) [0m
|
5397
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_version_associations_on_foreign_key_id" ON "version_associations" ("foreign_key_id")
|
5398
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5399
|
+
FROM sqlite_master
|
5400
|
+
WHERE name='index_version_associations_on_foreign_key_id' AND type='index'
|
5401
|
+
UNION ALL
|
5402
|
+
SELECT sql
|
5403
|
+
FROM sqlite_temp_master
|
5404
|
+
WHERE name='index_version_associations_on_foreign_key_id' AND type='index'
|
5405
|
+
[0m
|
5406
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_version_associations_on_foreign_key" ON "version_associations" ("foreign_key_name", "foreign_key_id")
|
5407
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5408
|
+
FROM sqlite_master
|
5409
|
+
WHERE name='index_version_associations_on_foreign_key' AND type='index'
|
5410
|
+
UNION ALL
|
5411
|
+
SELECT sql
|
5412
|
+
FROM sqlite_temp_master
|
5413
|
+
WHERE name='index_version_associations_on_foreign_key' AND type='index'
|
5414
|
+
[0m
|
5415
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5416
|
+
FROM sqlite_master
|
5417
|
+
WHERE name='index_version_associations_on_foreign_key_id' AND type='index'
|
5418
|
+
UNION ALL
|
5419
|
+
SELECT sql
|
5420
|
+
FROM sqlite_temp_master
|
5421
|
+
WHERE name='index_version_associations_on_foreign_key_id' AND type='index'
|
5422
|
+
|
5423
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_version_associations_on_version_id" ON "version_associations" ("version_id")[0m
|
5424
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime, "object_changes" text(1073741823), "locale" varchar, "transaction_id" integer)
|
5425
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_versions_on_item_id" ON "versions" ("item_id")[0m
|
5426
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
5427
|
+
FROM sqlite_master
|
5428
|
+
WHERE name='index_versions_on_item_id' AND type='index'
|
5429
|
+
UNION ALL
|
5430
|
+
SELECT sql
|
5431
|
+
FROM sqlite_temp_master
|
5432
|
+
WHERE name='index_versions_on_item_id' AND type='index'
|
5433
|
+
|
5434
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
5435
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
5436
|
+
FROM sqlite_master
|
5437
|
+
WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
|
5438
|
+
UNION ALL
|
5439
|
+
SELECT sql
|
5440
|
+
FROM sqlite_temp_master
|
5441
|
+
WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
|
5442
|
+
|
5443
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5444
|
+
FROM sqlite_master
|
5445
|
+
WHERE name='index_versions_on_item_id' AND type='index'
|
5446
|
+
UNION ALL
|
5447
|
+
SELECT sql
|
5448
|
+
FROM sqlite_temp_master
|
5449
|
+
WHERE name='index_versions_on_item_id' AND type='index'
|
5450
|
+
[0m
|
5451
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_versions_on_transaction_id" ON "versions" ("transaction_id")
|
5452
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar, "voter_id" integer, "voter_type" varchar, "vote_flag" boolean, "vote_scope" varchar, "vote_weight" integer, "created_at" datetime, "updated_at" datetime) [0m
|
5453
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")
|
5454
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
5455
|
+
FROM sqlite_master
|
5456
|
+
WHERE name='index_votes_on_votable_id_and_votable_type_and_vote_scope' AND type='index'
|
5457
|
+
UNION ALL
|
5458
|
+
SELECT sql
|
5459
|
+
FROM sqlite_temp_master
|
5460
|
+
WHERE name='index_votes_on_votable_id_and_votable_type_and_vote_scope' AND type='index'
|
5461
|
+
[0m
|
5462
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")
|
5463
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
5464
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5465
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
5466
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150135')
|
5467
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121023202117')[0m
|
5468
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121028125329')
|
5469
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121028125831')[0m
|
5470
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121028153317')
|
5471
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121105205634')[0m
|
5472
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121110213512')
|
5473
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121110213513')[0m
|
5474
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130206121535')
|
5475
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130206223323')[0m
|
5476
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130207170247')
|
5477
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130321144726')[0m
|
5478
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130402203739')
|
5479
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130415095617')[0m
|
5480
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130429191051')
|
5481
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130513112751')[0m
|
5482
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130516143539')
|
5483
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130518155712')[0m
|
5484
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130620145610')
|
5485
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130625091108')[0m
|
5486
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130628112848')
|
5487
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130708150236')[0m
|
5488
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130914132041')
|
5489
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140105133446')[0m
|
5490
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140107112418')
|
5491
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140129110547')[0m
|
5492
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140201092656')
|
5493
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140203131320')[0m
|
5494
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140210195143')
|
5495
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140411190454')[0m
|
5496
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140501160009')
|
5497
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140501160010')[0m
|
5498
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140501160011')
|
5499
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140529164730')[0m
|
5500
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140709145503')
|
5501
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141216094639')[0m
|
5502
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160128094739')
|
5503
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160630095745')[0m
|
5504
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150111')
|
5505
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150113')[0m
|
5506
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150114')
|
5507
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150115')[0m
|
5508
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150116')
|
5509
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150117')[0m
|
5510
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150118')
|
5511
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150119')[0m
|
5512
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150128')
|
5513
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150129')[0m
|
5514
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150130')
|
5515
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150131')[0m
|
5516
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150132')
|
5517
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160821150133')[0m
|
5518
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160821150134')
|