active_record_doctor 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +48 -0
- data/Rakefile +28 -0
- data/lib/active_record_doctor.rb +4 -0
- data/lib/active_record_doctor/printers.rb +4 -0
- data/lib/active_record_doctor/printers/io_printer.rb +15 -0
- data/lib/active_record_doctor/railtie.rb +7 -0
- data/lib/active_record_doctor/tasks.rb +4 -0
- data/lib/active_record_doctor/tasks/unindexed_foreign_keys.rb +50 -0
- data/lib/active_record_doctor/version.rb +3 -0
- data/lib/generators/active_record_doctor/add_indexes/USAGE +2 -0
- data/lib/generators/active_record_doctor/add_indexes/add_indexes_generator.rb +48 -0
- data/lib/tasks/active_record_doctor_tasks.rake +7 -0
- data/test/active_record_doctor/printers/io_printer_test.rb +20 -0
- data/test/active_record_doctor/tasks/unindexed_foreign_keys_test.rb +19 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/employer.rb +2 -0
- data/test/dummy/app/models/profile.rb +2 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20160213101213_create_users.rb +14 -0
- data/test/dummy/db/migrate/20160213101232_create_profiles.rb +10 -0
- data/test/dummy/db/migrate/20160213102131_create_employers.rb +9 -0
- data/test/dummy/db/schema.rb +41 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +654 -0
- data/test/dummy/log/test.log +10337 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/support/spy_printer.rb +11 -0
- data/test/test_helper.rb +20 -0
- metadata +182 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20160213102131) do
|
15
|
+
|
16
|
+
create_table "employers", force: :cascade do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.datetime "created_at", null: false
|
19
|
+
t.datetime "updated_at", null: false
|
20
|
+
end
|
21
|
+
|
22
|
+
create_table "profiles", force: :cascade do |t|
|
23
|
+
t.string "first_name"
|
24
|
+
t.string "last_name"
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
end
|
28
|
+
|
29
|
+
create_table "users", force: :cascade do |t|
|
30
|
+
t.string "email"
|
31
|
+
t.integer "profile_id"
|
32
|
+
t.integer "employer_id"
|
33
|
+
t.string "country_code", null: false
|
34
|
+
t.datetime "created_at", null: false
|
35
|
+
t.datetime "updated_at", null: false
|
36
|
+
end
|
37
|
+
|
38
|
+
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
39
|
+
add_index "users", ["employer_id", "country_code"], name: "index_users_on_employer_id_and_country_code"
|
40
|
+
|
41
|
+
end
|
Binary file
|
@@ -0,0 +1,654 @@
|
|
1
|
+
[1m[36m (33.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (26.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
+
Migrating to CreateUsers (20160213101213)
|
7
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "profile_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
9
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
10
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_profile_id" ON "users" ("profile_id")[0m
|
11
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
12
|
+
FROM sqlite_master
|
13
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
14
|
+
UNION ALL
|
15
|
+
SELECT sql
|
16
|
+
FROM sqlite_temp_master
|
17
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
18
|
+
|
19
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
20
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101213"]]
|
21
|
+
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
22
|
+
Migrating to CreateProfiles (20160213101232)
|
23
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
25
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101232"]]
|
26
|
+
[1m[36m (24.8ms)[0m [1mcommit transaction[0m
|
27
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
28
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
29
|
+
FROM sqlite_master
|
30
|
+
WHERE name='index_users_on_email' AND type='index'
|
31
|
+
UNION ALL
|
32
|
+
SELECT sql
|
33
|
+
FROM sqlite_temp_master
|
34
|
+
WHERE name='index_users_on_email' AND type='index'
|
35
|
+
[0m
|
36
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
37
|
+
FROM sqlite_master
|
38
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
39
|
+
UNION ALL
|
40
|
+
SELECT sql
|
41
|
+
FROM sqlite_temp_master
|
42
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
43
|
+
|
44
|
+
[1m[36m (38.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
45
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
46
|
+
[1m[36m (33.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
47
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
48
|
+
Migrating to CreateUsers (20160213101213)
|
49
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "profile_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
51
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_profile_id" ON "users" ("profile_id")[0m
|
52
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53
|
+
FROM sqlite_master
|
54
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
55
|
+
UNION ALL
|
56
|
+
SELECT sql
|
57
|
+
FROM sqlite_temp_master
|
58
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
59
|
+
|
60
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
61
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101213"]]
|
62
|
+
[1m[36m (27.8ms)[0m [1mcommit transaction[0m
|
63
|
+
Migrating to CreateProfiles (20160213101232)
|
64
|
+
[1m[35m (0.0ms)[0m begin transaction
|
65
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
66
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101232"]]
|
67
|
+
[1m[36m (25.3ms)[0m [1mcommit transaction[0m
|
68
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
69
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
70
|
+
FROM sqlite_master
|
71
|
+
WHERE name='index_users_on_email' AND type='index'
|
72
|
+
UNION ALL
|
73
|
+
SELECT sql
|
74
|
+
FROM sqlite_temp_master
|
75
|
+
WHERE name='index_users_on_email' AND type='index'
|
76
|
+
[0m
|
77
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
78
|
+
FROM sqlite_master
|
79
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
80
|
+
UNION ALL
|
81
|
+
SELECT sql
|
82
|
+
FROM sqlite_temp_master
|
83
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
84
|
+
|
85
|
+
[1m[36m (33.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
86
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
87
|
+
[1m[36m (32.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
88
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
89
|
+
Migrating to CreateUsers (20160213101213)
|
90
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
91
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "profile_id" integer, "employer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
92
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_employer_id" ON "users" ("employer_id")[0m
|
93
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
94
|
+
FROM sqlite_master
|
95
|
+
WHERE name='index_users_on_employer_id' AND type='index'
|
96
|
+
UNION ALL
|
97
|
+
SELECT sql
|
98
|
+
FROM sqlite_temp_master
|
99
|
+
WHERE name='index_users_on_employer_id' AND type='index'
|
100
|
+
|
101
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
102
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101213"]]
|
103
|
+
[1m[36m (27.1ms)[0m [1mcommit transaction[0m
|
104
|
+
Migrating to CreateProfiles (20160213101232)
|
105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
106
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
107
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101232"]]
|
108
|
+
[1m[36m (40.6ms)[0m [1mcommit transaction[0m
|
109
|
+
Migrating to CreateEmployers (20160213102131)
|
110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
111
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "employers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
112
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213102131"]]
|
113
|
+
[1m[36m (16.0ms)[0m [1mcommit transaction[0m
|
114
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
115
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
116
|
+
FROM sqlite_master
|
117
|
+
WHERE name='index_users_on_email' AND type='index'
|
118
|
+
UNION ALL
|
119
|
+
SELECT sql
|
120
|
+
FROM sqlite_temp_master
|
121
|
+
WHERE name='index_users_on_email' AND type='index'
|
122
|
+
[0m
|
123
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
124
|
+
FROM sqlite_master
|
125
|
+
WHERE name='index_users_on_employer_id' AND type='index'
|
126
|
+
UNION ALL
|
127
|
+
SELECT sql
|
128
|
+
FROM sqlite_temp_master
|
129
|
+
WHERE name='index_users_on_employer_id' AND type='index'
|
130
|
+
|
131
|
+
[1m[36m (33.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
132
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
133
|
+
[1m[36m (35.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
134
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
135
|
+
Migrating to CreateUsers (20160213101213)
|
136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
137
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "profile_id" integer, "employer_id" integer, "country_code" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
138
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
139
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
140
|
+
FROM sqlite_master
|
141
|
+
WHERE name='index_users_on_email' AND type='index'
|
142
|
+
UNION ALL
|
143
|
+
SELECT sql
|
144
|
+
FROM sqlite_temp_master
|
145
|
+
WHERE name='index_users_on_email' AND type='index'
|
146
|
+
|
147
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_employer_and_country_code" ON "users" ("employer", "country_code")[0m
|
148
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101213"]]
|
149
|
+
[1m[36m (21.4ms)[0m [1mcommit transaction[0m
|
150
|
+
Migrating to CreateProfiles (20160213101232)
|
151
|
+
[1m[35m (0.0ms)[0m begin transaction
|
152
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
153
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101232"]]
|
154
|
+
[1m[36m (35.6ms)[0m [1mcommit transaction[0m
|
155
|
+
Migrating to CreateEmployers (20160213102131)
|
156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
157
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "employers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
158
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213102131"]]
|
159
|
+
[1m[36m (29.8ms)[0m [1mcommit transaction[0m
|
160
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
161
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
162
|
+
FROM sqlite_master
|
163
|
+
WHERE name='index_users_on_employer_and_country_code' AND type='index'
|
164
|
+
UNION ALL
|
165
|
+
SELECT sql
|
166
|
+
FROM sqlite_temp_master
|
167
|
+
WHERE name='index_users_on_employer_and_country_code' AND type='index'
|
168
|
+
[0m
|
169
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
170
|
+
FROM sqlite_master
|
171
|
+
WHERE name='index_users_on_email' AND type='index'
|
172
|
+
UNION ALL
|
173
|
+
SELECT sql
|
174
|
+
FROM sqlite_temp_master
|
175
|
+
WHERE name='index_users_on_email' AND type='index'
|
176
|
+
|
177
|
+
[1m[36m (27.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
178
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
179
|
+
[1m[36m (21.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
180
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
181
|
+
Migrating to CreateUsers (20160213101213)
|
182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
183
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "profile_id" integer, "employer_id" integer, "country_code" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
184
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
185
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
186
|
+
FROM sqlite_master
|
187
|
+
WHERE name='index_users_on_email' AND type='index'
|
188
|
+
UNION ALL
|
189
|
+
SELECT sql
|
190
|
+
FROM sqlite_temp_master
|
191
|
+
WHERE name='index_users_on_email' AND type='index'
|
192
|
+
|
193
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_employer_id_and_country_code" ON "users" ("employer_id", "country_code")[0m
|
194
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101213"]]
|
195
|
+
[1m[36m (29.8ms)[0m [1mcommit transaction[0m
|
196
|
+
Migrating to CreateProfiles (20160213101232)
|
197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
198
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
199
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213101232"]]
|
200
|
+
[1m[36m (32.3ms)[0m [1mcommit transaction[0m
|
201
|
+
Migrating to CreateEmployers (20160213102131)
|
202
|
+
[1m[35m (0.0ms)[0m begin transaction
|
203
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "employers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
204
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160213102131"]]
|
205
|
+
[1m[36m (32.9ms)[0m [1mcommit transaction[0m
|
206
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
207
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
208
|
+
FROM sqlite_master
|
209
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
210
|
+
UNION ALL
|
211
|
+
SELECT sql
|
212
|
+
FROM sqlite_temp_master
|
213
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
214
|
+
[0m
|
215
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
216
|
+
FROM sqlite_master
|
217
|
+
WHERE name='index_users_on_email' AND type='index'
|
218
|
+
UNION ALL
|
219
|
+
SELECT sql
|
220
|
+
FROM sqlite_temp_master
|
221
|
+
WHERE name='index_users_on_email' AND type='index'
|
222
|
+
|
223
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
224
|
+
FROM sqlite_master
|
225
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
226
|
+
UNION ALL
|
227
|
+
SELECT sql
|
228
|
+
FROM sqlite_temp_master
|
229
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
230
|
+
[0m
|
231
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
232
|
+
FROM sqlite_master
|
233
|
+
WHERE name='index_users_on_email' AND type='index'
|
234
|
+
UNION ALL
|
235
|
+
SELECT sql
|
236
|
+
FROM sqlite_temp_master
|
237
|
+
WHERE name='index_users_on_email' AND type='index'
|
238
|
+
|
239
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
240
|
+
FROM sqlite_master
|
241
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
242
|
+
UNION ALL
|
243
|
+
SELECT sql
|
244
|
+
FROM sqlite_temp_master
|
245
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
246
|
+
[0m
|
247
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
248
|
+
FROM sqlite_master
|
249
|
+
WHERE name='index_users_on_email' AND type='index'
|
250
|
+
UNION ALL
|
251
|
+
SELECT sql
|
252
|
+
FROM sqlite_temp_master
|
253
|
+
WHERE name='index_users_on_email' AND type='index'
|
254
|
+
|
255
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
256
|
+
FROM sqlite_master
|
257
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
258
|
+
UNION ALL
|
259
|
+
SELECT sql
|
260
|
+
FROM sqlite_temp_master
|
261
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
262
|
+
[0m
|
263
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
264
|
+
FROM sqlite_master
|
265
|
+
WHERE name='index_users_on_email' AND type='index'
|
266
|
+
UNION ALL
|
267
|
+
SELECT sql
|
268
|
+
FROM sqlite_temp_master
|
269
|
+
WHERE name='index_users_on_email' AND type='index'
|
270
|
+
|
271
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
272
|
+
FROM sqlite_master
|
273
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
274
|
+
UNION ALL
|
275
|
+
SELECT sql
|
276
|
+
FROM sqlite_temp_master
|
277
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
278
|
+
[0m
|
279
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
280
|
+
FROM sqlite_master
|
281
|
+
WHERE name='index_users_on_email' AND type='index'
|
282
|
+
UNION ALL
|
283
|
+
SELECT sql
|
284
|
+
FROM sqlite_temp_master
|
285
|
+
WHERE name='index_users_on_email' AND type='index'
|
286
|
+
|
287
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
288
|
+
FROM sqlite_master
|
289
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
290
|
+
UNION ALL
|
291
|
+
SELECT sql
|
292
|
+
FROM sqlite_temp_master
|
293
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
294
|
+
[0m
|
295
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
296
|
+
FROM sqlite_master
|
297
|
+
WHERE name='index_users_on_email' AND type='index'
|
298
|
+
UNION ALL
|
299
|
+
SELECT sql
|
300
|
+
FROM sqlite_temp_master
|
301
|
+
WHERE name='index_users_on_email' AND type='index'
|
302
|
+
|
303
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
304
|
+
FROM sqlite_master
|
305
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
306
|
+
UNION ALL
|
307
|
+
SELECT sql
|
308
|
+
FROM sqlite_temp_master
|
309
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
310
|
+
[0m
|
311
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
312
|
+
FROM sqlite_master
|
313
|
+
WHERE name='index_users_on_email' AND type='index'
|
314
|
+
UNION ALL
|
315
|
+
SELECT sql
|
316
|
+
FROM sqlite_temp_master
|
317
|
+
WHERE name='index_users_on_email' AND type='index'
|
318
|
+
|
319
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
320
|
+
FROM sqlite_master
|
321
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
322
|
+
UNION ALL
|
323
|
+
SELECT sql
|
324
|
+
FROM sqlite_temp_master
|
325
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
326
|
+
[0m
|
327
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
328
|
+
FROM sqlite_master
|
329
|
+
WHERE name='index_users_on_email' AND type='index'
|
330
|
+
UNION ALL
|
331
|
+
SELECT sql
|
332
|
+
FROM sqlite_temp_master
|
333
|
+
WHERE name='index_users_on_email' AND type='index'
|
334
|
+
|
335
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
336
|
+
FROM sqlite_master
|
337
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
338
|
+
UNION ALL
|
339
|
+
SELECT sql
|
340
|
+
FROM sqlite_temp_master
|
341
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
342
|
+
[0m
|
343
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
344
|
+
FROM sqlite_master
|
345
|
+
WHERE name='index_users_on_email' AND type='index'
|
346
|
+
UNION ALL
|
347
|
+
SELECT sql
|
348
|
+
FROM sqlite_temp_master
|
349
|
+
WHERE name='index_users_on_email' AND type='index'
|
350
|
+
|
351
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
352
|
+
FROM sqlite_master
|
353
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
354
|
+
UNION ALL
|
355
|
+
SELECT sql
|
356
|
+
FROM sqlite_temp_master
|
357
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
358
|
+
[0m
|
359
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
360
|
+
FROM sqlite_master
|
361
|
+
WHERE name='index_users_on_email' AND type='index'
|
362
|
+
UNION ALL
|
363
|
+
SELECT sql
|
364
|
+
FROM sqlite_temp_master
|
365
|
+
WHERE name='index_users_on_email' AND type='index'
|
366
|
+
|
367
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
368
|
+
FROM sqlite_master
|
369
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
370
|
+
UNION ALL
|
371
|
+
SELECT sql
|
372
|
+
FROM sqlite_temp_master
|
373
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
374
|
+
[0m
|
375
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
376
|
+
FROM sqlite_master
|
377
|
+
WHERE name='index_users_on_email' AND type='index'
|
378
|
+
UNION ALL
|
379
|
+
SELECT sql
|
380
|
+
FROM sqlite_temp_master
|
381
|
+
WHERE name='index_users_on_email' AND type='index'
|
382
|
+
|
383
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
384
|
+
FROM sqlite_master
|
385
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
386
|
+
UNION ALL
|
387
|
+
SELECT sql
|
388
|
+
FROM sqlite_temp_master
|
389
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
390
|
+
[0m
|
391
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
392
|
+
FROM sqlite_master
|
393
|
+
WHERE name='index_users_on_email' AND type='index'
|
394
|
+
UNION ALL
|
395
|
+
SELECT sql
|
396
|
+
FROM sqlite_temp_master
|
397
|
+
WHERE name='index_users_on_email' AND type='index'
|
398
|
+
|
399
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
400
|
+
FROM sqlite_master
|
401
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
402
|
+
UNION ALL
|
403
|
+
SELECT sql
|
404
|
+
FROM sqlite_temp_master
|
405
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
406
|
+
[0m
|
407
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
408
|
+
FROM sqlite_master
|
409
|
+
WHERE name='index_users_on_email' AND type='index'
|
410
|
+
UNION ALL
|
411
|
+
SELECT sql
|
412
|
+
FROM sqlite_temp_master
|
413
|
+
WHERE name='index_users_on_email' AND type='index'
|
414
|
+
|
415
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
416
|
+
FROM sqlite_master
|
417
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
418
|
+
UNION ALL
|
419
|
+
SELECT sql
|
420
|
+
FROM sqlite_temp_master
|
421
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
422
|
+
[0m
|
423
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
424
|
+
FROM sqlite_master
|
425
|
+
WHERE name='index_users_on_email' AND type='index'
|
426
|
+
UNION ALL
|
427
|
+
SELECT sql
|
428
|
+
FROM sqlite_temp_master
|
429
|
+
WHERE name='index_users_on_email' AND type='index'
|
430
|
+
|
431
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
432
|
+
FROM sqlite_master
|
433
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
434
|
+
UNION ALL
|
435
|
+
SELECT sql
|
436
|
+
FROM sqlite_temp_master
|
437
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
438
|
+
[0m
|
439
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
440
|
+
FROM sqlite_master
|
441
|
+
WHERE name='index_users_on_email' AND type='index'
|
442
|
+
UNION ALL
|
443
|
+
SELECT sql
|
444
|
+
FROM sqlite_temp_master
|
445
|
+
WHERE name='index_users_on_email' AND type='index'
|
446
|
+
|
447
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
448
|
+
FROM sqlite_master
|
449
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
450
|
+
UNION ALL
|
451
|
+
SELECT sql
|
452
|
+
FROM sqlite_temp_master
|
453
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
454
|
+
[0m
|
455
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
456
|
+
FROM sqlite_master
|
457
|
+
WHERE name='index_users_on_email' AND type='index'
|
458
|
+
UNION ALL
|
459
|
+
SELECT sql
|
460
|
+
FROM sqlite_temp_master
|
461
|
+
WHERE name='index_users_on_email' AND type='index'
|
462
|
+
|
463
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
464
|
+
FROM sqlite_master
|
465
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
466
|
+
UNION ALL
|
467
|
+
SELECT sql
|
468
|
+
FROM sqlite_temp_master
|
469
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
470
|
+
[0m
|
471
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
472
|
+
FROM sqlite_master
|
473
|
+
WHERE name='index_users_on_email' AND type='index'
|
474
|
+
UNION ALL
|
475
|
+
SELECT sql
|
476
|
+
FROM sqlite_temp_master
|
477
|
+
WHERE name='index_users_on_email' AND type='index'
|
478
|
+
|
479
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
480
|
+
Migrating to IndexForeignKeysInUsers (20160402143434)
|
481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
482
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
483
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
484
|
+
FROM sqlite_master
|
485
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
486
|
+
UNION ALL
|
487
|
+
SELECT sql
|
488
|
+
FROM sqlite_temp_master
|
489
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
490
|
+
|
491
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
492
|
+
FROM sqlite_master
|
493
|
+
WHERE name='index_users_on_email' AND type='index'
|
494
|
+
UNION ALL
|
495
|
+
SELECT sql
|
496
|
+
FROM sqlite_temp_master
|
497
|
+
WHERE name='index_users_on_email' AND type='index'
|
498
|
+
[0m
|
499
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_users_on_profile_id" ON "users" ("profile_id")
|
500
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160402143434"]]
|
501
|
+
[1m[35m (21.3ms)[0m commit transaction
|
502
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
503
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
504
|
+
FROM sqlite_master
|
505
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
506
|
+
UNION ALL
|
507
|
+
SELECT sql
|
508
|
+
FROM sqlite_temp_master
|
509
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
510
|
+
|
511
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
512
|
+
FROM sqlite_master
|
513
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
514
|
+
UNION ALL
|
515
|
+
SELECT sql
|
516
|
+
FROM sqlite_temp_master
|
517
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
518
|
+
[0m
|
519
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
520
|
+
FROM sqlite_master
|
521
|
+
WHERE name='index_users_on_email' AND type='index'
|
522
|
+
UNION ALL
|
523
|
+
SELECT sql
|
524
|
+
FROM sqlite_temp_master
|
525
|
+
WHERE name='index_users_on_email' AND type='index'
|
526
|
+
|
527
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
528
|
+
FROM sqlite_master
|
529
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
530
|
+
UNION ALL
|
531
|
+
SELECT sql
|
532
|
+
FROM sqlite_temp_master
|
533
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
534
|
+
[0m
|
535
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
536
|
+
FROM sqlite_master
|
537
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
538
|
+
UNION ALL
|
539
|
+
SELECT sql
|
540
|
+
FROM sqlite_temp_master
|
541
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
542
|
+
|
543
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
544
|
+
FROM sqlite_master
|
545
|
+
WHERE name='index_users_on_email' AND type='index'
|
546
|
+
UNION ALL
|
547
|
+
SELECT sql
|
548
|
+
FROM sqlite_temp_master
|
549
|
+
WHERE name='index_users_on_email' AND type='index'
|
550
|
+
[0m
|
551
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
552
|
+
FROM sqlite_master
|
553
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
554
|
+
UNION ALL
|
555
|
+
SELECT sql
|
556
|
+
FROM sqlite_temp_master
|
557
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
558
|
+
|
559
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
560
|
+
FROM sqlite_master
|
561
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
562
|
+
UNION ALL
|
563
|
+
SELECT sql
|
564
|
+
FROM sqlite_temp_master
|
565
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
566
|
+
[0m
|
567
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
568
|
+
FROM sqlite_master
|
569
|
+
WHERE name='index_users_on_email' AND type='index'
|
570
|
+
UNION ALL
|
571
|
+
SELECT sql
|
572
|
+
FROM sqlite_temp_master
|
573
|
+
WHERE name='index_users_on_email' AND type='index'
|
574
|
+
|
575
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
576
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
577
|
+
Migrating to IndexForeignKeysInUsers (20160402143434)
|
578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
579
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
580
|
+
FROM sqlite_master
|
581
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
582
|
+
UNION ALL
|
583
|
+
SELECT sql
|
584
|
+
FROM sqlite_temp_master
|
585
|
+
WHERE name='index_users_on_profile_id' AND type='index'
|
586
|
+
|
587
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
588
|
+
FROM sqlite_master
|
589
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
590
|
+
UNION ALL
|
591
|
+
SELECT sql
|
592
|
+
FROM sqlite_temp_master
|
593
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
594
|
+
[0m
|
595
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
596
|
+
FROM sqlite_master
|
597
|
+
WHERE name='index_users_on_email' AND type='index'
|
598
|
+
UNION ALL
|
599
|
+
SELECT sql
|
600
|
+
FROM sqlite_temp_master
|
601
|
+
WHERE name='index_users_on_email' AND type='index'
|
602
|
+
|
603
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_users_on_profile_id"[0m
|
604
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20160402143434"]]
|
605
|
+
[1m[36m (25.1ms)[0m [1mcommit transaction[0m
|
606
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
607
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
608
|
+
FROM sqlite_master
|
609
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
610
|
+
UNION ALL
|
611
|
+
SELECT sql
|
612
|
+
FROM sqlite_temp_master
|
613
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
614
|
+
[0m
|
615
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
616
|
+
FROM sqlite_master
|
617
|
+
WHERE name='index_users_on_email' AND type='index'
|
618
|
+
UNION ALL
|
619
|
+
SELECT sql
|
620
|
+
FROM sqlite_temp_master
|
621
|
+
WHERE name='index_users_on_email' AND type='index'
|
622
|
+
|
623
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
624
|
+
FROM sqlite_master
|
625
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
626
|
+
UNION ALL
|
627
|
+
SELECT sql
|
628
|
+
FROM sqlite_temp_master
|
629
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
630
|
+
[0m
|
631
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
632
|
+
FROM sqlite_master
|
633
|
+
WHERE name='index_users_on_email' AND type='index'
|
634
|
+
UNION ALL
|
635
|
+
SELECT sql
|
636
|
+
FROM sqlite_temp_master
|
637
|
+
WHERE name='index_users_on_email' AND type='index'
|
638
|
+
|
639
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
640
|
+
FROM sqlite_master
|
641
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
642
|
+
UNION ALL
|
643
|
+
SELECT sql
|
644
|
+
FROM sqlite_temp_master
|
645
|
+
WHERE name='index_users_on_employer_id_and_country_code' AND type='index'
|
646
|
+
[0m
|
647
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
648
|
+
FROM sqlite_master
|
649
|
+
WHERE name='index_users_on_email' AND type='index'
|
650
|
+
UNION ALL
|
651
|
+
SELECT sql
|
652
|
+
FROM sqlite_temp_master
|
653
|
+
WHERE name='index_users_on_email' AND type='index'
|
654
|
+
|