shipit-engine 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1414076,3 +1414076,1064 @@ Completed 404 Not Found in 20ms (Views: 1.3ms | ActiveRecord: 0.3ms)
1414076
1414076
  [Redis] command=FLUSHDB args=
1414077
1414077
  [Redis] call_time=0.18 ms
1414078
1414078
   (0.1ms) rollback transaction
1414079
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1414080
+  (1.7ms) CREATE TABLE "api_clients" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permissions" text(65535), "creator_id" integer(4), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255) DEFAULT '', "stack_id" integer(4)) 
1414081
+  (0.1ms) select sqlite_version(*)
1414082
+  (0.9ms) CREATE INDEX "index_api_clients_on_creator_id" ON "api_clients" ("creator_id")
1414083
+  (0.9ms) CREATE TABLE "commits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "author_id" integer(4) NOT NULL, "committer_id" integer(4) NOT NULL, "sha" varchar(40) NOT NULL, "message" text(65535) NOT NULL, "created_at" datetime, "updated_at" datetime, "detached" boolean DEFAULT 'f' NOT NULL, "authored_at" datetime NOT NULL, "committed_at" datetime NOT NULL, "additions" integer(4), "deletions" integer(4))
1414084
+  (0.7ms) CREATE INDEX "index_commits_on_author_id" ON "commits" ("author_id")
1414085
+  (0.1ms) SELECT sql
1414086
+ FROM sqlite_master
1414087
+ WHERE name='index_commits_on_author_id' AND type='index'
1414088
+ UNION ALL
1414089
+ SELECT sql
1414090
+ FROM sqlite_temp_master
1414091
+ WHERE name='index_commits_on_author_id' AND type='index'
1414092
+
1414093
+  (0.7ms) CREATE INDEX "index_commits_on_committer_id" ON "commits" ("committer_id")
1414094
+  (0.1ms) SELECT sql
1414095
+ FROM sqlite_master
1414096
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414097
+ UNION ALL
1414098
+ SELECT sql
1414099
+ FROM sqlite_temp_master
1414100
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414101
+
1414102
+  (0.1ms)  SELECT sql
1414103
+ FROM sqlite_master
1414104
+ WHERE name='index_commits_on_author_id' AND type='index'
1414105
+ UNION ALL
1414106
+ SELECT sql
1414107
+ FROM sqlite_temp_master
1414108
+ WHERE name='index_commits_on_author_id' AND type='index'
1414109
+ 
1414110
+  (0.6ms) CREATE INDEX "index_commits_on_created_at" ON "commits" ("created_at")
1414111
+  (0.1ms)  SELECT sql
1414112
+ FROM sqlite_master
1414113
+ WHERE name='index_commits_on_created_at' AND type='index'
1414114
+ UNION ALL
1414115
+ SELECT sql
1414116
+ FROM sqlite_temp_master
1414117
+ WHERE name='index_commits_on_created_at' AND type='index'
1414118
+ 
1414119
+  (0.1ms) SELECT sql
1414120
+ FROM sqlite_master
1414121
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414122
+ UNION ALL
1414123
+ SELECT sql
1414124
+ FROM sqlite_temp_master
1414125
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414126
+
1414127
+  (0.1ms)  SELECT sql
1414128
+ FROM sqlite_master
1414129
+ WHERE name='index_commits_on_author_id' AND type='index'
1414130
+ UNION ALL
1414131
+ SELECT sql
1414132
+ FROM sqlite_temp_master
1414133
+ WHERE name='index_commits_on_author_id' AND type='index'
1414134
+ 
1414135
+  (0.8ms) CREATE INDEX "index_commits_on_stack_id" ON "commits" ("stack_id")
1414136
+  (0.9ms) CREATE TABLE "deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hook_id" integer(4) NOT NULL, "status" varchar(255) DEFAULT 'pending' NOT NULL, "url" varchar(4096) NOT NULL, "content_type" varchar(255) NOT NULL, "event" varchar(255) NOT NULL, "payload" text(16777215) NOT NULL, "response_code" integer(4), "response_headers" text(65535), "response_body" text(65535), "delivered_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414137
+  (0.8ms) CREATE TABLE "github_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(39))
1414138
+  (0.8ms) CREATE UNIQUE INDEX "index_github_hooks_on_organization_and_event" ON "github_hooks" ("organization", "event")
1414139
+  (0.1ms) SELECT sql
1414140
+ FROM sqlite_master
1414141
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414142
+ UNION ALL
1414143
+ SELECT sql
1414144
+ FROM sqlite_temp_master
1414145
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414146
+
1414147
+  (0.8ms) CREATE UNIQUE INDEX "index_github_hooks_on_stack_id_and_event" ON "github_hooks" ("stack_id", "event")
1414148
+  (0.8ms) CREATE TABLE "hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "url" varchar(4096) NOT NULL, "content_type" varchar(4) DEFAULT 'json' NOT NULL, "secret" varchar(255), "events" varchar(255) DEFAULT '' NOT NULL, "insecure_ssl" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414149
+  (0.8ms) CREATE INDEX "index_hooks_on_stack_id" ON "hooks" ("stack_id")
1414150
+  (0.6ms) CREATE TABLE "memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "team_id" integer(4), "user_id" integer(4), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414151
+  (0.8ms) CREATE UNIQUE INDEX "index_memberships_on_team_id_and_user_id" ON "memberships" ("team_id", "user_id")
1414152
+  (0.1ms) SELECT sql
1414153
+ FROM sqlite_master
1414154
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1414155
+ UNION ALL
1414156
+ SELECT sql
1414157
+ FROM sqlite_temp_master
1414158
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1414159
+
1414160
+  (0.8ms) CREATE INDEX "index_memberships_on_user_id" ON "memberships" ("user_id")
1414161
+  (0.7ms) CREATE TABLE "output_chunks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer(4), "text" text(16777215), "created_at" datetime, "updated_at" datetime)
1414162
+  (0.9ms) CREATE INDEX "index_output_chunks_on_task_id" ON "output_chunks" ("task_id")
1414163
+  (1.0ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(50) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime)
1414164
+  (0.8ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414165
+  (0.7ms) CREATE TABLE "statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "target_url" varchar(255), "description" text(65535), "context" varchar(255) DEFAULT 'default' NOT NULL, "commit_id" integer(4), "created_at" datetime, "updated_at" datetime)
1414166
+  (0.6ms) CREATE INDEX "index_statuses_on_commit_id" ON "statuses" ("commit_id")
1414167
+  (0.8ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "since_commit_id" integer(4) NOT NULL, "until_commit_id" integer(4) NOT NULL, "status" varchar(10) DEFAULT 'pending' NOT NULL, "created_at" datetime, "updated_at" datetime, "user_id" integer(4), "rolled_up" boolean DEFAULT 'f' NOT NULL, "type" varchar(255), "parent_id" integer(4), "additions" integer(4) DEFAULT 0, "deletions" integer(4) DEFAULT 0, "definition" text(65535), "gzip_output" blob, "rollback_once_aborted" boolean DEFAULT 'f' NOT NULL, "env" text, "confirmations" integer DEFAULT 0 NOT NULL)
1414168
+  (0.8ms) CREATE INDEX "index_tasks_on_rolled_up_and_created_at_and_status" ON "tasks" ("rolled_up", "created_at", "status")
1414169
+  (0.1ms) SELECT sql
1414170
+ FROM sqlite_master
1414171
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414172
+ UNION ALL
1414173
+ SELECT sql
1414174
+ FROM sqlite_temp_master
1414175
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414176
+
1414177
+  (0.7ms) CREATE INDEX "index_tasks_on_since_commit_id" ON "tasks" ("since_commit_id")
1414178
+  (0.1ms) SELECT sql
1414179
+ FROM sqlite_master
1414180
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414181
+ UNION ALL
1414182
+ SELECT sql
1414183
+ FROM sqlite_temp_master
1414184
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414185
+
1414186
+  (0.1ms)  SELECT sql
1414187
+ FROM sqlite_master
1414188
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414189
+ UNION ALL
1414190
+ SELECT sql
1414191
+ FROM sqlite_temp_master
1414192
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414193
+ 
1414194
+  (0.7ms) CREATE INDEX "index_tasks_on_stack_id" ON "tasks" ("stack_id")
1414195
+  (0.1ms)  SELECT sql
1414196
+ FROM sqlite_master
1414197
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414198
+ UNION ALL
1414199
+ SELECT sql
1414200
+ FROM sqlite_temp_master
1414201
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414202
+ 
1414203
+  (0.1ms) SELECT sql
1414204
+ FROM sqlite_master
1414205
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414206
+ UNION ALL
1414207
+ SELECT sql
1414208
+ FROM sqlite_temp_master
1414209
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414210
+
1414211
+  (0.1ms)  SELECT sql
1414212
+ FROM sqlite_master
1414213
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414214
+ UNION ALL
1414215
+ SELECT sql
1414216
+ FROM sqlite_temp_master
1414217
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414218
+ 
1414219
+  (0.9ms) CREATE INDEX "index_tasks_by_stack_and_status" ON "tasks" ("type", "stack_id", "status")
1414220
+  (0.1ms)  SELECT sql
1414221
+ FROM sqlite_master
1414222
+ WHERE name='index_tasks_by_stack_and_status' AND type='index'
1414223
+ UNION ALL
1414224
+ SELECT sql
1414225
+ FROM sqlite_temp_master
1414226
+ WHERE name='index_tasks_by_stack_and_status' AND type='index'
1414227
+ 
1414228
+  (0.1ms) SELECT sql
1414229
+ FROM sqlite_master
1414230
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414231
+ UNION ALL
1414232
+ SELECT sql
1414233
+ FROM sqlite_temp_master
1414234
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414235
+
1414236
+  (0.1ms)  SELECT sql
1414237
+ FROM sqlite_master
1414238
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414239
+ UNION ALL
1414240
+ SELECT sql
1414241
+ FROM sqlite_temp_master
1414242
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414243
+ 
1414244
+  (0.1ms) SELECT sql
1414245
+ FROM sqlite_master
1414246
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414247
+ UNION ALL
1414248
+ SELECT sql
1414249
+ FROM sqlite_temp_master
1414250
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414251
+
1414252
+  (0.9ms) CREATE INDEX "index_tasks_on_until_commit_id" ON "tasks" ("until_commit_id")
1414253
+  (0.1ms) SELECT sql
1414254
+ FROM sqlite_master
1414255
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414256
+ UNION ALL
1414257
+ SELECT sql
1414258
+ FROM sqlite_temp_master
1414259
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414260
+
1414261
+  (0.1ms)  SELECT sql
1414262
+ FROM sqlite_master
1414263
+ WHERE name='index_tasks_by_stack_and_status' AND type='index'
1414264
+ UNION ALL
1414265
+ SELECT sql
1414266
+ FROM sqlite_temp_master
1414267
+ WHERE name='index_tasks_by_stack_and_status' AND type='index'
1414268
+ 
1414269
+  (0.1ms) SELECT sql
1414270
+ FROM sqlite_master
1414271
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414272
+ UNION ALL
1414273
+ SELECT sql
1414274
+ FROM sqlite_temp_master
1414275
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414276
+
1414277
+  (0.1ms)  SELECT sql
1414278
+ FROM sqlite_master
1414279
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414280
+ UNION ALL
1414281
+ SELECT sql
1414282
+ FROM sqlite_temp_master
1414283
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414284
+ 
1414285
+  (0.1ms) SELECT sql
1414286
+ FROM sqlite_master
1414287
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414288
+ UNION ALL
1414289
+ SELECT sql
1414290
+ FROM sqlite_temp_master
1414291
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414292
+
1414293
+  (0.9ms) CREATE INDEX "index_tasks_on_user_id" ON "tasks" ("user_id")
1414294
+  (0.7ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(50), "name" varchar(255), "organization" varchar(39), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414295
+  (0.7ms) CREATE UNIQUE INDEX "index_teams_on_organization_and_slug" ON "teams" ("organization", "slug")
1414296
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "name" varchar(255) NOT NULL, "email" varchar(255), "login" varchar(39), "api_url" varchar(255), "created_at" datetime, "updated_at" datetime, "avatar_url" varchar(255))
1414297
+  (0.9ms) CREATE INDEX "index_users_on_login" ON "users" ("login")
1414298
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1414299
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1414300
+  (0.1ms) SELECT version FROM "schema_migrations"
1414301
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151113151323')
1414302
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1414303
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1414304
+ Migrating to CreateBaseline (20140226233935)
1414305
+  (0.1ms) begin transaction
1414306
+  (1.2ms) DROP TABLE "api_clients"
1414307
+  (0.2ms) CREATE TABLE "api_clients" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "permissions" text(65535), "creator_id" integer(4), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255) DEFAULT '', "stack_id" integer(4))
1414308
+  (0.1ms) select sqlite_version(*)
1414309
+  (0.1ms) CREATE INDEX "index_api_clients_on_creator_id" ON "api_clients" ("creator_id")
1414310
+  (1.1ms) DROP TABLE "commits"
1414311
+  (0.2ms) CREATE TABLE "commits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "author_id" integer(4) NOT NULL, "committer_id" integer(4) NOT NULL, "sha" varchar(40) NOT NULL, "message" text(65535) NOT NULL, "created_at" datetime, "updated_at" datetime, "detached" boolean DEFAULT 'f' NOT NULL, "authored_at" datetime NOT NULL, "committed_at" datetime NOT NULL, "additions" integer(4), "deletions" integer(4))
1414312
+  (0.1ms) CREATE INDEX "index_commits_on_author_id" ON "commits" ("author_id")
1414313
+  (0.1ms) SELECT sql
1414314
+ FROM sqlite_master
1414315
+ WHERE name='index_commits_on_author_id' AND type='index'
1414316
+ UNION ALL
1414317
+ SELECT sql
1414318
+ FROM sqlite_temp_master
1414319
+ WHERE name='index_commits_on_author_id' AND type='index'
1414320
+
1414321
+  (0.1ms) CREATE INDEX "index_commits_on_committer_id" ON "commits" ("committer_id")
1414322
+  (0.1ms) SELECT sql
1414323
+ FROM sqlite_master
1414324
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414325
+ UNION ALL
1414326
+ SELECT sql
1414327
+ FROM sqlite_temp_master
1414328
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414329
+
1414330
+  (0.1ms)  SELECT sql
1414331
+ FROM sqlite_master
1414332
+ WHERE name='index_commits_on_author_id' AND type='index'
1414333
+ UNION ALL
1414334
+ SELECT sql
1414335
+ FROM sqlite_temp_master
1414336
+ WHERE name='index_commits_on_author_id' AND type='index'
1414337
+ 
1414338
+  (0.1ms) CREATE INDEX "index_commits_on_created_at" ON "commits" ("created_at")
1414339
+  (0.1ms)  SELECT sql
1414340
+ FROM sqlite_master
1414341
+ WHERE name='index_commits_on_created_at' AND type='index'
1414342
+ UNION ALL
1414343
+ SELECT sql
1414344
+ FROM sqlite_temp_master
1414345
+ WHERE name='index_commits_on_created_at' AND type='index'
1414346
+ 
1414347
+  (0.1ms) SELECT sql
1414348
+ FROM sqlite_master
1414349
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414350
+ UNION ALL
1414351
+ SELECT sql
1414352
+ FROM sqlite_temp_master
1414353
+ WHERE name='index_commits_on_committer_id' AND type='index'
1414354
+
1414355
+  (0.1ms)  SELECT sql
1414356
+ FROM sqlite_master
1414357
+ WHERE name='index_commits_on_author_id' AND type='index'
1414358
+ UNION ALL
1414359
+ SELECT sql
1414360
+ FROM sqlite_temp_master
1414361
+ WHERE name='index_commits_on_author_id' AND type='index'
1414362
+ 
1414363
+  (0.1ms) CREATE INDEX "index_commits_on_stack_id" ON "commits" ("stack_id")
1414364
+  (0.1ms) DROP TABLE "deliveries"
1414365
+  (0.1ms) CREATE TABLE "deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hook_id" integer(4) NOT NULL, "status" varchar(255) DEFAULT 'pending' NOT NULL, "url" varchar(4096) NOT NULL, "content_type" varchar(255) NOT NULL, "event" varchar(255) NOT NULL, "payload" text(16777215) NOT NULL, "response_code" integer(4), "response_headers" text(65535), "response_body" text(65535), "delivered_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414366
+  (0.2ms) DROP TABLE "github_hooks"
1414367
+  (0.1ms) CREATE TABLE "github_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(255), "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(255))
1414368
+  (0.2ms) CREATE UNIQUE INDEX "index_github_hooks_on_organization_and_event" ON "github_hooks" ("organization", "event")
1414369
+  (0.1ms) SELECT sql
1414370
+ FROM sqlite_master
1414371
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414372
+ UNION ALL
1414373
+ SELECT sql
1414374
+ FROM sqlite_temp_master
1414375
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414376
+
1414377
+  (0.1ms) CREATE UNIQUE INDEX "index_github_hooks_on_stack_id_and_event" ON "github_hooks" ("stack_id", "event")
1414378
+  (0.2ms) DROP TABLE "hooks"
1414379
+  (0.1ms) CREATE TABLE "hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "url" varchar(4096) NOT NULL, "content_type" varchar(4) DEFAULT 'json' NOT NULL, "secret" varchar(255), "events" varchar(255) DEFAULT '' NOT NULL, "insecure_ssl" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414380
+  (0.1ms) CREATE INDEX "index_hooks_on_stack_id" ON "hooks" ("stack_id")
1414381
+  (0.2ms) DROP TABLE "memberships"
1414382
+  (0.1ms) CREATE TABLE "memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "team_id" integer(4), "user_id" integer(4), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414383
+  (0.1ms) CREATE UNIQUE INDEX "index_memberships_on_team_id_and_user_id" ON "memberships" ("team_id", "user_id")
1414384
+  (0.1ms) SELECT sql
1414385
+ FROM sqlite_master
1414386
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1414387
+ UNION ALL
1414388
+ SELECT sql
1414389
+ FROM sqlite_temp_master
1414390
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1414391
+
1414392
+  (0.1ms) CREATE INDEX "index_memberships_on_user_id" ON "memberships" ("user_id")
1414393
+  (0.1ms) DROP TABLE "output_chunks"
1414394
+  (0.1ms) CREATE TABLE "output_chunks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer(4), "text" text(16777215), "created_at" datetime, "updated_at" datetime) 
1414395
+  (0.1ms) CREATE INDEX "index_output_chunks_on_task_id" ON "output_chunks" ("task_id")
1414396
+  (0.1ms) DROP TABLE "stacks"
1414397
+  (0.1ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(255) NOT NULL, "repo_owner" varchar(255) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4))
1414398
+  (0.1ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414399
+  (0.2ms) DROP TABLE "statuses"
1414400
+  (0.1ms) CREATE TABLE "statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "target_url" varchar(255), "description" text(65535), "context" varchar(255) DEFAULT 'default' NOT NULL, "commit_id" integer(4), "created_at" datetime, "updated_at" datetime) 
1414401
+  (0.1ms) CREATE INDEX "index_statuses_on_commit_id" ON "statuses" ("commit_id")
1414402
+  (0.3ms) DROP TABLE "tasks"
1414403
+  (0.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "since_commit_id" integer(4) NOT NULL, "until_commit_id" integer(4) NOT NULL, "status" varchar(255) DEFAULT 'pending' NOT NULL, "created_at" datetime, "updated_at" datetime, "user_id" integer(4), "rolled_up" boolean DEFAULT 'f' NOT NULL, "type" varchar(255), "parent_id" integer(4), "additions" integer(4) DEFAULT 0, "deletions" integer(4) DEFAULT 0, "definition" text(65535))
1414404
+  (0.1ms) CREATE INDEX "index_tasks_on_rolled_up_and_created_at_and_status" ON "tasks" ("rolled_up", "created_at", "status")
1414405
+  (0.1ms) SELECT sql
1414406
+ FROM sqlite_master
1414407
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414408
+ UNION ALL
1414409
+ SELECT sql
1414410
+ FROM sqlite_temp_master
1414411
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414412
+
1414413
+  (0.1ms) CREATE INDEX "index_tasks_on_since_commit_id" ON "tasks" ("since_commit_id")
1414414
+  (0.1ms) SELECT sql
1414415
+ FROM sqlite_master
1414416
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414417
+ UNION ALL
1414418
+ SELECT sql
1414419
+ FROM sqlite_temp_master
1414420
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414421
+
1414422
+  (0.1ms)  SELECT sql
1414423
+ FROM sqlite_master
1414424
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414425
+ UNION ALL
1414426
+ SELECT sql
1414427
+ FROM sqlite_temp_master
1414428
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414429
+ 
1414430
+  (0.1ms) CREATE INDEX "index_tasks_on_stack_id" ON "tasks" ("stack_id")
1414431
+  (0.1ms)  SELECT sql
1414432
+ FROM sqlite_master
1414433
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414434
+ UNION ALL
1414435
+ SELECT sql
1414436
+ FROM sqlite_temp_master
1414437
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414438
+ 
1414439
+  (0.1ms) SELECT sql
1414440
+ FROM sqlite_master
1414441
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414442
+ UNION ALL
1414443
+ SELECT sql
1414444
+ FROM sqlite_temp_master
1414445
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414446
+
1414447
+  (0.1ms)  SELECT sql
1414448
+ FROM sqlite_master
1414449
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414450
+ UNION ALL
1414451
+ SELECT sql
1414452
+ FROM sqlite_temp_master
1414453
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414454
+ 
1414455
+  (0.1ms) CREATE INDEX "index_tasks_on_until_commit_id" ON "tasks" ("until_commit_id")
1414456
+  (0.1ms)  SELECT sql
1414457
+ FROM sqlite_master
1414458
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414459
+ UNION ALL
1414460
+ SELECT sql
1414461
+ FROM sqlite_temp_master
1414462
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414463
+ 
1414464
+  (0.1ms) SELECT sql
1414465
+ FROM sqlite_master
1414466
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414467
+ UNION ALL
1414468
+ SELECT sql
1414469
+ FROM sqlite_temp_master
1414470
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414471
+
1414472
+  (0.1ms)  SELECT sql
1414473
+ FROM sqlite_master
1414474
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414475
+ UNION ALL
1414476
+ SELECT sql
1414477
+ FROM sqlite_temp_master
1414478
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414479
+ 
1414480
+  (0.1ms) SELECT sql
1414481
+ FROM sqlite_master
1414482
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414483
+ UNION ALL
1414484
+ SELECT sql
1414485
+ FROM sqlite_temp_master
1414486
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414487
+
1414488
+  (0.1ms) CREATE INDEX "index_tasks_on_user_id" ON "tasks" ("user_id")
1414489
+  (0.1ms) DROP TABLE "teams"
1414490
+  (0.1ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(255), "name" varchar(255), "organization" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414491
+  (0.1ms) CREATE UNIQUE INDEX "index_teams_on_organization_and_slug" ON "teams" ("organization", "slug")
1414492
+  (0.1ms) DROP TABLE "users"
1414493
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "name" varchar(255) NOT NULL, "email" varchar(255), "login" varchar(255), "api_url" varchar(255), "created_at" datetime, "updated_at" datetime, "avatar_url" varchar(255))
1414494
+  (0.1ms) CREATE INDEX "index_users_on_login" ON "users" ("login")
1414495
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140226233935"]]
1414496
+  (2.3ms) commit transaction
1414497
+ Migrating to AddOutputColumnToTasks (20150515190352)
1414498
+  (0.1ms) begin transaction
1414499
+  (0.4ms) ALTER TABLE "tasks" ADD "gzip_output" blob(16777215)
1414500
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150515190352"]]
1414501
+  (0.6ms) commit transaction
1414502
+ Migrating to AddIgnoreCiToStack (20150518214944)
1414503
+  (0.1ms) begin transaction
1414504
+  (0.6ms) ALTER TABLE "stacks" ADD "ignore_ci" boolean
1414505
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150518214944"]]
1414506
+  (0.6ms) commit transaction
1414507
+ Migrating to AddInaccessibleSinceToStacks (20150630154640)
1414508
+  (0.0ms) begin transaction
1414509
+  (0.3ms) ALTER TABLE "stacks" ADD "inaccessible_since" datetime
1414510
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150630154640"]]
1414511
+  (0.5ms) commit transaction
1414512
+ Migrating to AddRollbackWhenCompleteOnTask (20150708143032)
1414513
+  (0.0ms) begin transaction
1414514
+  (0.3ms) ALTER TABLE "tasks" ADD "rollback_once_aborted" boolean DEFAULT 'f' NOT NULL
1414515
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150708143032"]]
1414516
+  (0.6ms) commit transaction
1414517
+ Migrating to AddEnvToTasks (20150814182557)
1414518
+  (0.0ms) begin transaction
1414519
+  (0.3ms) ALTER TABLE "tasks" ADD "env" text
1414520
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150814182557"]]
1414521
+  (0.5ms) commit transaction
1414522
+ Migrating to AddConfirmationsToTasks (20150918190012)
1414523
+  (0.0ms) begin transaction
1414524
+  (0.3ms) ALTER TABLE "tasks" ADD "confirmations" integer DEFAULT 0 NOT NULL
1414525
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150918190012"]]
1414526
+  (0.5ms) commit transaction
1414527
+ Migrating to SchemaConstraintsCleanup (20151102201634)
1414528
+  (0.0ms) begin transaction
1414529
+  (0.4ms) CREATE TEMPORARY TABLE "agithub_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(255), "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(255)) 
1414530
+  (0.1ms) SELECT sql
1414531
+ FROM sqlite_master
1414532
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1414533
+ UNION ALL
1414534
+ SELECT sql
1414535
+ FROM sqlite_temp_master
1414536
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1414537
+
1414538
+  (0.1ms)  SELECT sql
1414539
+ FROM sqlite_master
1414540
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414541
+ UNION ALL
1414542
+ SELECT sql
1414543
+ FROM sqlite_temp_master
1414544
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414545
+ 
1414546
+  (0.3ms) CREATE UNIQUE INDEX "tindex_agithub_hooks_on_stack_id_and_event" ON "agithub_hooks" ("stack_id", "event")
1414547
+  (0.1ms) CREATE UNIQUE INDEX "tindex_agithub_hooks_on_organization_and_event" ON "agithub_hooks" ("organization", "event")
1414548
+  (0.0ms) SELECT * FROM "github_hooks"
1414549
+  (0.3ms) DROP TABLE "github_hooks"
1414550
+  (0.1ms) CREATE TABLE "github_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(255))
1414551
+  (0.1ms)  SELECT sql
1414552
+ FROM sqlite_master
1414553
+ WHERE name='tindex_agithub_hooks_on_organization_and_event' AND type='index'
1414554
+ UNION ALL
1414555
+ SELECT sql
1414556
+ FROM sqlite_temp_master
1414557
+ WHERE name='tindex_agithub_hooks_on_organization_and_event' AND type='index'
1414558
+ 
1414559
+  (0.1ms) SELECT sql
1414560
+ FROM sqlite_master
1414561
+ WHERE name='tindex_agithub_hooks_on_stack_id_and_event' AND type='index'
1414562
+ UNION ALL
1414563
+ SELECT sql
1414564
+ FROM sqlite_temp_master
1414565
+ WHERE name='tindex_agithub_hooks_on_stack_id_and_event' AND type='index'
1414566
+
1414567
+  (0.4ms) CREATE UNIQUE INDEX "index_github_hooks_on_organization_and_event" ON "github_hooks" ("organization", "event")
1414568
+  (0.1ms) SELECT sql
1414569
+ FROM sqlite_master
1414570
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414571
+ UNION ALL
1414572
+ SELECT sql
1414573
+ FROM sqlite_temp_master
1414574
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414575
+
1414576
+  (0.1ms) CREATE UNIQUE INDEX "index_github_hooks_on_stack_id_and_event" ON "github_hooks" ("stack_id", "event")
1414577
+  (0.1ms) SELECT * FROM "agithub_hooks"
1414578
+  (0.2ms) DROP TABLE "agithub_hooks"
1414579
+  (0.1ms) CREATE TEMPORARY TABLE "agithub_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(255))
1414580
+  (0.1ms)  SELECT sql
1414581
+ FROM sqlite_master
1414582
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1414583
+ UNION ALL
1414584
+ SELECT sql
1414585
+ FROM sqlite_temp_master
1414586
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1414587
+ 
1414588
+  (0.1ms) SELECT sql
1414589
+ FROM sqlite_master
1414590
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414591
+ UNION ALL
1414592
+ SELECT sql
1414593
+ FROM sqlite_temp_master
1414594
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414595
+
1414596
+  (0.1ms) CREATE UNIQUE INDEX "tindex_agithub_hooks_on_stack_id_and_event" ON "agithub_hooks" ("stack_id", "event")
1414597
+  (0.1ms) CREATE UNIQUE INDEX "tindex_agithub_hooks_on_organization_and_event" ON "agithub_hooks" ("organization", "event")
1414598
+  (0.1ms) SELECT * FROM "github_hooks"
1414599
+  (0.2ms) DROP TABLE "github_hooks"
1414600
+  (0.1ms) CREATE TABLE "github_hooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4), "github_id" integer(4), "event" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime, "secret" varchar(255), "api_url" varchar(255), "type" varchar(255), "organization" varchar(39)) 
1414601
+  (0.1ms) SELECT sql
1414602
+ FROM sqlite_master
1414603
+ WHERE name='tindex_agithub_hooks_on_organization_and_event' AND type='index'
1414604
+ UNION ALL
1414605
+ SELECT sql
1414606
+ FROM sqlite_temp_master
1414607
+ WHERE name='tindex_agithub_hooks_on_organization_and_event' AND type='index'
1414608
+
1414609
+  (0.1ms)  SELECT sql
1414610
+ FROM sqlite_master
1414611
+ WHERE name='tindex_agithub_hooks_on_stack_id_and_event' AND type='index'
1414612
+ UNION ALL
1414613
+ SELECT sql
1414614
+ FROM sqlite_temp_master
1414615
+ WHERE name='tindex_agithub_hooks_on_stack_id_and_event' AND type='index'
1414616
+ 
1414617
+  (0.1ms) CREATE UNIQUE INDEX "index_github_hooks_on_organization_and_event" ON "github_hooks" ("organization", "event")
1414618
+  (0.1ms)  SELECT sql
1414619
+ FROM sqlite_master
1414620
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414621
+ UNION ALL
1414622
+ SELECT sql
1414623
+ FROM sqlite_temp_master
1414624
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1414625
+ 
1414626
+  (0.1ms) CREATE UNIQUE INDEX "index_github_hooks_on_stack_id_and_event" ON "github_hooks" ("stack_id", "event")
1414627
+  (0.0ms) SELECT * FROM "agithub_hooks"
1414628
+  (0.1ms) DROP TABLE "agithub_hooks"
1414629
+  (0.1ms) CREATE TEMPORARY TABLE "astacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(255) NOT NULL, "repo_owner" varchar(255) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime) 
1414630
+  (0.1ms) SELECT sql
1414631
+ FROM sqlite_master
1414632
+ WHERE name='stack_unicity' AND type='index'
1414633
+ UNION ALL
1414634
+ SELECT sql
1414635
+ FROM sqlite_temp_master
1414636
+ WHERE name='stack_unicity' AND type='index'
1414637
+
1414638
+  (0.1ms) CREATE UNIQUE INDEX "tstack_unicity" ON "astacks" ("repo_owner", "repo_name", "environment")
1414639
+  (0.1ms) SELECT * FROM "stacks"
1414640
+  (0.1ms) DROP TABLE "stacks"
1414641
+  (0.2ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(255) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime)
1414642
+  (0.1ms)  SELECT sql
1414643
+ FROM sqlite_master
1414644
+ WHERE name='tstack_unicity' AND type='index'
1414645
+ UNION ALL
1414646
+ SELECT sql
1414647
+ FROM sqlite_temp_master
1414648
+ WHERE name='tstack_unicity' AND type='index'
1414649
+ 
1414650
+  (0.1ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414651
+  (0.1ms) SELECT * FROM "astacks"
1414652
+  (0.1ms) DROP TABLE "astacks"
1414653
+  (0.1ms) CREATE TEMPORARY TABLE "astacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(255) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime) 
1414654
+  (0.1ms) SELECT sql
1414655
+ FROM sqlite_master
1414656
+ WHERE name='stack_unicity' AND type='index'
1414657
+ UNION ALL
1414658
+ SELECT sql
1414659
+ FROM sqlite_temp_master
1414660
+ WHERE name='stack_unicity' AND type='index'
1414661
+
1414662
+  (0.1ms) CREATE UNIQUE INDEX "tstack_unicity" ON "astacks" ("repo_owner", "repo_name", "environment")
1414663
+  (0.1ms) SELECT * FROM "stacks"
1414664
+  (0.1ms) DROP TABLE "stacks"
1414665
+  (0.1ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime)
1414666
+  (0.1ms)  SELECT sql
1414667
+ FROM sqlite_master
1414668
+ WHERE name='tstack_unicity' AND type='index'
1414669
+ UNION ALL
1414670
+ SELECT sql
1414671
+ FROM sqlite_temp_master
1414672
+ WHERE name='tstack_unicity' AND type='index'
1414673
+ 
1414674
+  (0.1ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414675
+  (0.1ms) SELECT * FROM "astacks"
1414676
+  (0.1ms) DROP TABLE "astacks"
1414677
+  (0.2ms) CREATE TEMPORARY TABLE "astacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(255) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime) 
1414678
+  (0.1ms) SELECT sql
1414679
+ FROM sqlite_master
1414680
+ WHERE name='stack_unicity' AND type='index'
1414681
+ UNION ALL
1414682
+ SELECT sql
1414683
+ FROM sqlite_temp_master
1414684
+ WHERE name='stack_unicity' AND type='index'
1414685
+
1414686
+  (0.1ms) CREATE UNIQUE INDEX "tstack_unicity" ON "astacks" ("repo_owner", "repo_name", "environment")
1414687
+  (0.2ms) SELECT * FROM "stacks"
1414688
+  (0.2ms) DROP TABLE "stacks"
1414689
+  (0.3ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(50) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime)
1414690
+  (0.1ms)  SELECT sql
1414691
+ FROM sqlite_master
1414692
+ WHERE name='tstack_unicity' AND type='index'
1414693
+ UNION ALL
1414694
+ SELECT sql
1414695
+ FROM sqlite_temp_master
1414696
+ WHERE name='tstack_unicity' AND type='index'
1414697
+ 
1414698
+  (0.2ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414699
+  (0.1ms) SELECT * FROM "astacks"
1414700
+  (0.2ms) DROP TABLE "astacks"
1414701
+  (0.3ms) CREATE TEMPORARY TABLE "atasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "since_commit_id" integer(4) NOT NULL, "until_commit_id" integer(4) NOT NULL, "status" varchar(255) DEFAULT 'pending' NOT NULL, "created_at" datetime, "updated_at" datetime, "user_id" integer(4), "rolled_up" boolean DEFAULT 'f' NOT NULL, "type" varchar(255), "parent_id" integer(4), "additions" integer(4) DEFAULT 0, "deletions" integer(4) DEFAULT 0, "definition" text(65535), "gzip_output" blob, "rollback_once_aborted" boolean DEFAULT 'f' NOT NULL, "env" text, "confirmations" integer DEFAULT 0 NOT NULL) 
1414702
+  (0.1ms) SELECT sql
1414703
+ FROM sqlite_master
1414704
+ WHERE name='index_tasks_on_user_id' AND type='index'
1414705
+ UNION ALL
1414706
+ SELECT sql
1414707
+ FROM sqlite_temp_master
1414708
+ WHERE name='index_tasks_on_user_id' AND type='index'
1414709
+
1414710
+  (0.1ms)  SELECT sql
1414711
+ FROM sqlite_master
1414712
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414713
+ UNION ALL
1414714
+ SELECT sql
1414715
+ FROM sqlite_temp_master
1414716
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414717
+ 
1414718
+  (0.1ms) SELECT sql
1414719
+ FROM sqlite_master
1414720
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414721
+ UNION ALL
1414722
+ SELECT sql
1414723
+ FROM sqlite_temp_master
1414724
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414725
+
1414726
+  (0.1ms)  SELECT sql
1414727
+ FROM sqlite_master
1414728
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414729
+ UNION ALL
1414730
+ SELECT sql
1414731
+ FROM sqlite_temp_master
1414732
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414733
+ 
1414734
+  (0.1ms) SELECT sql
1414735
+ FROM sqlite_master
1414736
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414737
+ UNION ALL
1414738
+ SELECT sql
1414739
+ FROM sqlite_temp_master
1414740
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414741
+
1414742
+  (0.1ms) CREATE INDEX "tindex_atasks_on_user_id" ON "atasks" ("user_id")
1414743
+  (0.1ms) CREATE INDEX "tindex_atasks_on_until_commit_id" ON "atasks" ("until_commit_id")
1414744
+  (0.1ms) CREATE INDEX "tindex_atasks_on_stack_id" ON "atasks" ("stack_id")
1414745
+  (0.1ms) CREATE INDEX "tindex_atasks_on_since_commit_id" ON "atasks" ("since_commit_id")
1414746
+  (0.1ms) CREATE INDEX "tindex_atasks_on_rolled_up_and_created_at_and_status" ON "atasks" ("rolled_up", "created_at", "status")
1414747
+  (0.1ms) SELECT * FROM "tasks"
1414748
+  (0.2ms) DROP TABLE "tasks"
1414749
+  (0.1ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stack_id" integer(4) NOT NULL, "since_commit_id" integer(4) NOT NULL, "until_commit_id" integer(4) NOT NULL, "status" varchar(10) DEFAULT 'pending' NOT NULL, "created_at" datetime, "updated_at" datetime, "user_id" integer(4), "rolled_up" boolean DEFAULT 'f' NOT NULL, "type" varchar(255), "parent_id" integer(4), "additions" integer(4) DEFAULT 0, "deletions" integer(4) DEFAULT 0, "definition" text(65535), "gzip_output" blob, "rollback_once_aborted" boolean DEFAULT 'f' NOT NULL, "env" text, "confirmations" integer DEFAULT 0 NOT NULL)
1414750
+  (0.1ms)  SELECT sql
1414751
+ FROM sqlite_master
1414752
+ WHERE name='tindex_atasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414753
+ UNION ALL
1414754
+ SELECT sql
1414755
+ FROM sqlite_temp_master
1414756
+ WHERE name='tindex_atasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414757
+ 
1414758
+  (0.1ms) SELECT sql
1414759
+ FROM sqlite_master
1414760
+ WHERE name='tindex_atasks_on_since_commit_id' AND type='index'
1414761
+ UNION ALL
1414762
+ SELECT sql
1414763
+ FROM sqlite_temp_master
1414764
+ WHERE name='tindex_atasks_on_since_commit_id' AND type='index'
1414765
+
1414766
+  (0.1ms)  SELECT sql
1414767
+ FROM sqlite_master
1414768
+ WHERE name='tindex_atasks_on_stack_id' AND type='index'
1414769
+ UNION ALL
1414770
+ SELECT sql
1414771
+ FROM sqlite_temp_master
1414772
+ WHERE name='tindex_atasks_on_stack_id' AND type='index'
1414773
+ 
1414774
+  (0.1ms) SELECT sql
1414775
+ FROM sqlite_master
1414776
+ WHERE name='tindex_atasks_on_until_commit_id' AND type='index'
1414777
+ UNION ALL
1414778
+ SELECT sql
1414779
+ FROM sqlite_temp_master
1414780
+ WHERE name='tindex_atasks_on_until_commit_id' AND type='index'
1414781
+
1414782
+  (0.1ms)  SELECT sql
1414783
+ FROM sqlite_master
1414784
+ WHERE name='tindex_atasks_on_user_id' AND type='index'
1414785
+ UNION ALL
1414786
+ SELECT sql
1414787
+ FROM sqlite_temp_master
1414788
+ WHERE name='tindex_atasks_on_user_id' AND type='index'
1414789
+ 
1414790
+  (0.1ms) CREATE INDEX "index_tasks_on_rolled_up_and_created_at_and_status" ON "tasks" ("rolled_up", "created_at", "status")
1414791
+  (0.1ms)  SELECT sql
1414792
+ FROM sqlite_master
1414793
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414794
+ UNION ALL
1414795
+ SELECT sql
1414796
+ FROM sqlite_temp_master
1414797
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414798
+ 
1414799
+  (0.1ms) CREATE INDEX "index_tasks_on_since_commit_id" ON "tasks" ("since_commit_id")
1414800
+  (0.1ms)  SELECT sql
1414801
+ FROM sqlite_master
1414802
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414803
+ UNION ALL
1414804
+ SELECT sql
1414805
+ FROM sqlite_temp_master
1414806
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414807
+ 
1414808
+  (0.1ms) SELECT sql
1414809
+ FROM sqlite_master
1414810
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414811
+ UNION ALL
1414812
+ SELECT sql
1414813
+ FROM sqlite_temp_master
1414814
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414815
+
1414816
+  (0.1ms) CREATE INDEX "index_tasks_on_stack_id" ON "tasks" ("stack_id")
1414817
+  (0.1ms) SELECT sql
1414818
+ FROM sqlite_master
1414819
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414820
+ UNION ALL
1414821
+ SELECT sql
1414822
+ FROM sqlite_temp_master
1414823
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414824
+
1414825
+  (0.1ms)  SELECT sql
1414826
+ FROM sqlite_master
1414827
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414828
+ UNION ALL
1414829
+ SELECT sql
1414830
+ FROM sqlite_temp_master
1414831
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414832
+ 
1414833
+  (0.1ms) SELECT sql
1414834
+ FROM sqlite_master
1414835
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414836
+ UNION ALL
1414837
+ SELECT sql
1414838
+ FROM sqlite_temp_master
1414839
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414840
+
1414841
+  (0.1ms) CREATE INDEX "index_tasks_on_until_commit_id" ON "tasks" ("until_commit_id")
1414842
+  (0.1ms) SELECT sql
1414843
+ FROM sqlite_master
1414844
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414845
+ UNION ALL
1414846
+ SELECT sql
1414847
+ FROM sqlite_temp_master
1414848
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1414849
+
1414850
+  (0.1ms)  SELECT sql
1414851
+ FROM sqlite_master
1414852
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414853
+ UNION ALL
1414854
+ SELECT sql
1414855
+ FROM sqlite_temp_master
1414856
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1414857
+ 
1414858
+  (0.1ms) SELECT sql
1414859
+ FROM sqlite_master
1414860
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414861
+ UNION ALL
1414862
+ SELECT sql
1414863
+ FROM sqlite_temp_master
1414864
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1414865
+
1414866
+  (0.1ms)  SELECT sql
1414867
+ FROM sqlite_master
1414868
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414869
+ UNION ALL
1414870
+ SELECT sql
1414871
+ FROM sqlite_temp_master
1414872
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1414873
+ 
1414874
+  (0.1ms) CREATE INDEX "index_tasks_on_user_id" ON "tasks" ("user_id")
1414875
+  (0.1ms) SELECT * FROM "atasks"
1414876
+  (0.2ms) DROP TABLE "atasks"
1414877
+  (0.1ms) CREATE TEMPORARY TABLE "ateams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(255), "name" varchar(255), "organization" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414878
+  (0.1ms) SELECT sql
1414879
+ FROM sqlite_master
1414880
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1414881
+ UNION ALL
1414882
+ SELECT sql
1414883
+ FROM sqlite_temp_master
1414884
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1414885
+
1414886
+  (0.1ms) CREATE UNIQUE INDEX "tindex_ateams_on_organization_and_slug" ON "ateams" ("organization", "slug")
1414887
+  (0.1ms) SELECT * FROM "teams"
1414888
+  (0.1ms) DROP TABLE "teams"
1414889
+  (0.1ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(255), "name" varchar(255), "organization" varchar(39), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414890
+  (0.1ms)  SELECT sql
1414891
+ FROM sqlite_master
1414892
+ WHERE name='tindex_ateams_on_organization_and_slug' AND type='index'
1414893
+ UNION ALL
1414894
+ SELECT sql
1414895
+ FROM sqlite_temp_master
1414896
+ WHERE name='tindex_ateams_on_organization_and_slug' AND type='index'
1414897
+ 
1414898
+  (0.1ms) CREATE UNIQUE INDEX "index_teams_on_organization_and_slug" ON "teams" ("organization", "slug")
1414899
+  (0.0ms) SELECT * FROM "ateams"
1414900
+  (0.1ms) DROP TABLE "ateams"
1414901
+  (0.1ms) CREATE TEMPORARY TABLE "ateams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(255), "name" varchar(255), "organization" varchar(39), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414902
+  (0.1ms) SELECT sql
1414903
+ FROM sqlite_master
1414904
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1414905
+ UNION ALL
1414906
+ SELECT sql
1414907
+ FROM sqlite_temp_master
1414908
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1414909
+
1414910
+  (0.2ms) CREATE UNIQUE INDEX "tindex_ateams_on_organization_and_slug" ON "ateams" ("organization", "slug")
1414911
+  (0.1ms) SELECT * FROM "teams"
1414912
+  (0.2ms) DROP TABLE "teams"
1414913
+  (0.2ms) CREATE TABLE "teams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "api_url" varchar(255), "slug" varchar(50), "name" varchar(255), "organization" varchar(39), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1414914
+  (0.1ms)  SELECT sql
1414915
+ FROM sqlite_master
1414916
+ WHERE name='tindex_ateams_on_organization_and_slug' AND type='index'
1414917
+ UNION ALL
1414918
+ SELECT sql
1414919
+ FROM sqlite_temp_master
1414920
+ WHERE name='tindex_ateams_on_organization_and_slug' AND type='index'
1414921
+ 
1414922
+  (0.2ms) CREATE UNIQUE INDEX "index_teams_on_organization_and_slug" ON "teams" ("organization", "slug")
1414923
+  (0.1ms) SELECT * FROM "ateams"
1414924
+  (0.1ms) DROP TABLE "ateams"
1414925
+  (0.1ms) CREATE TEMPORARY TABLE "ausers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "name" varchar(255) NOT NULL, "email" varchar(255), "login" varchar(255), "api_url" varchar(255), "created_at" datetime, "updated_at" datetime, "avatar_url" varchar(255)) 
1414926
+  (0.1ms) SELECT sql
1414927
+ FROM sqlite_master
1414928
+ WHERE name='index_users_on_login' AND type='index'
1414929
+ UNION ALL
1414930
+ SELECT sql
1414931
+ FROM sqlite_temp_master
1414932
+ WHERE name='index_users_on_login' AND type='index'
1414933
+
1414934
+  (0.1ms) CREATE INDEX "tindex_ausers_on_login" ON "ausers" ("login")
1414935
+  (0.2ms) SELECT * FROM "users"
1414936
+  (0.2ms) DROP TABLE "users"
1414937
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "github_id" integer(4), "name" varchar(255) NOT NULL, "email" varchar(255), "login" varchar(39), "api_url" varchar(255), "created_at" datetime, "updated_at" datetime, "avatar_url" varchar(255))
1414938
+  (0.1ms)  SELECT sql
1414939
+ FROM sqlite_master
1414940
+ WHERE name='tindex_ausers_on_login' AND type='index'
1414941
+ UNION ALL
1414942
+ SELECT sql
1414943
+ FROM sqlite_temp_master
1414944
+ WHERE name='tindex_ausers_on_login' AND type='index'
1414945
+ 
1414946
+  (0.1ms) CREATE INDEX "index_users_on_login" ON "users" ("login")
1414947
+  (0.1ms) SELECT * FROM "ausers"
1414948
+  (0.1ms) DROP TABLE "ausers"
1414949
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151102201634"]]
1414950
+  (1.7ms) commit transaction
1414951
+ Migrating to ConvertStacksLockReasonToText (20151103144716)
1414952
+  (0.1ms) begin transaction
1414953
+  (0.3ms) CREATE TEMPORARY TABLE "astacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(50) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(255), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime)
1414954
+  (0.1ms)  SELECT sql
1414955
+ FROM sqlite_master
1414956
+ WHERE name='stack_unicity' AND type='index'
1414957
+ UNION ALL
1414958
+ SELECT sql
1414959
+ FROM sqlite_temp_master
1414960
+ WHERE name='stack_unicity' AND type='index'
1414961
+ 
1414962
+  (0.1ms) CREATE UNIQUE INDEX "tstack_unicity" ON "astacks" ("repo_owner", "repo_name", "environment")
1414963
+  (0.1ms) SELECT * FROM "stacks"
1414964
+  (0.3ms) DROP TABLE "stacks"
1414965
+  (0.2ms) CREATE TABLE "stacks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "repo_name" varchar(100) NOT NULL, "repo_owner" varchar(39) NOT NULL, "environment" varchar(50) DEFAULT 'production' NOT NULL, "created_at" datetime, "updated_at" datetime, "branch" varchar(255) DEFAULT 'master' NOT NULL, "deploy_url" varchar(255), "lock_reason" varchar(4096), "tasks_count" integer(4) DEFAULT 0 NOT NULL, "continuous_deployment" boolean DEFAULT 'f' NOT NULL, "undeployed_commits_count" integer(4) DEFAULT 0 NOT NULL, "cached_deploy_spec" text(65535), "lock_author_id" integer(4), "ignore_ci" boolean, "inaccessible_since" datetime) 
1414966
+  (0.1ms) SELECT sql
1414967
+ FROM sqlite_master
1414968
+ WHERE name='tstack_unicity' AND type='index'
1414969
+ UNION ALL
1414970
+ SELECT sql
1414971
+ FROM sqlite_temp_master
1414972
+ WHERE name='tstack_unicity' AND type='index'
1414973
+
1414974
+  (0.3ms) CREATE UNIQUE INDEX "stack_unicity" ON "stacks" ("repo_owner", "repo_name", "environment")
1414975
+  (0.1ms) SELECT * FROM "astacks"
1414976
+  (0.1ms) DROP TABLE "astacks"
1414977
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151103144716"]]
1414978
+  (0.8ms) commit transaction
1414979
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1414980
+  (0.1ms)  SELECT sql
1414981
+ FROM sqlite_master
1414982
+ WHERE name='index_api_clients_on_creator_id' AND type='index'
1414983
+ UNION ALL
1414984
+ SELECT sql
1414985
+ FROM sqlite_temp_master
1414986
+ WHERE name='index_api_clients_on_creator_id' AND type='index'
1414987
+ 
1414988
+  (0.1ms) SELECT sql
1414989
+ FROM sqlite_master
1414990
+ WHERE name='index_commits_on_stack_id' AND type='index'
1414991
+ UNION ALL
1414992
+ SELECT sql
1414993
+ FROM sqlite_temp_master
1414994
+ WHERE name='index_commits_on_stack_id' AND type='index'
1414995
+
1414996
+  (0.1ms)  SELECT sql
1414997
+ FROM sqlite_master
1414998
+ WHERE name='index_commits_on_created_at' AND type='index'
1414999
+ UNION ALL
1415000
+ SELECT sql
1415001
+ FROM sqlite_temp_master
1415002
+ WHERE name='index_commits_on_created_at' AND type='index'
1415003
+ 
1415004
+  (0.1ms) SELECT sql
1415005
+ FROM sqlite_master
1415006
+ WHERE name='index_commits_on_committer_id' AND type='index'
1415007
+ UNION ALL
1415008
+ SELECT sql
1415009
+ FROM sqlite_temp_master
1415010
+ WHERE name='index_commits_on_committer_id' AND type='index'
1415011
+
1415012
+  (0.1ms)  SELECT sql
1415013
+ FROM sqlite_master
1415014
+ WHERE name='index_commits_on_author_id' AND type='index'
1415015
+ UNION ALL
1415016
+ SELECT sql
1415017
+ FROM sqlite_temp_master
1415018
+ WHERE name='index_commits_on_author_id' AND type='index'
1415019
+ 
1415020
+  (0.1ms) SELECT sql
1415021
+ FROM sqlite_master
1415022
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1415023
+ UNION ALL
1415024
+ SELECT sql
1415025
+ FROM sqlite_temp_master
1415026
+ WHERE name='index_github_hooks_on_stack_id_and_event' AND type='index'
1415027
+
1415028
+  (0.1ms)  SELECT sql
1415029
+ FROM sqlite_master
1415030
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1415031
+ UNION ALL
1415032
+ SELECT sql
1415033
+ FROM sqlite_temp_master
1415034
+ WHERE name='index_github_hooks_on_organization_and_event' AND type='index'
1415035
+ 
1415036
+  (0.1ms) SELECT sql
1415037
+ FROM sqlite_master
1415038
+ WHERE name='index_hooks_on_stack_id' AND type='index'
1415039
+ UNION ALL
1415040
+ SELECT sql
1415041
+ FROM sqlite_temp_master
1415042
+ WHERE name='index_hooks_on_stack_id' AND type='index'
1415043
+
1415044
+  (0.1ms)  SELECT sql
1415045
+ FROM sqlite_master
1415046
+ WHERE name='index_memberships_on_user_id' AND type='index'
1415047
+ UNION ALL
1415048
+ SELECT sql
1415049
+ FROM sqlite_temp_master
1415050
+ WHERE name='index_memberships_on_user_id' AND type='index'
1415051
+ 
1415052
+  (0.1ms) SELECT sql
1415053
+ FROM sqlite_master
1415054
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1415055
+ UNION ALL
1415056
+ SELECT sql
1415057
+ FROM sqlite_temp_master
1415058
+ WHERE name='index_memberships_on_team_id_and_user_id' AND type='index'
1415059
+
1415060
+  (0.1ms)  SELECT sql
1415061
+ FROM sqlite_master
1415062
+ WHERE name='index_output_chunks_on_task_id' AND type='index'
1415063
+ UNION ALL
1415064
+ SELECT sql
1415065
+ FROM sqlite_temp_master
1415066
+ WHERE name='index_output_chunks_on_task_id' AND type='index'
1415067
+ 
1415068
+  (0.1ms) SELECT sql
1415069
+ FROM sqlite_master
1415070
+ WHERE name='stack_unicity' AND type='index'
1415071
+ UNION ALL
1415072
+ SELECT sql
1415073
+ FROM sqlite_temp_master
1415074
+ WHERE name='stack_unicity' AND type='index'
1415075
+
1415076
+  (0.1ms)  SELECT sql
1415077
+ FROM sqlite_master
1415078
+ WHERE name='index_statuses_on_commit_id' AND type='index'
1415079
+ UNION ALL
1415080
+ SELECT sql
1415081
+ FROM sqlite_temp_master
1415082
+ WHERE name='index_statuses_on_commit_id' AND type='index'
1415083
+ 
1415084
+  (0.1ms) SELECT sql
1415085
+ FROM sqlite_master
1415086
+ WHERE name='index_tasks_on_user_id' AND type='index'
1415087
+ UNION ALL
1415088
+ SELECT sql
1415089
+ FROM sqlite_temp_master
1415090
+ WHERE name='index_tasks_on_user_id' AND type='index'
1415091
+
1415092
+  (0.1ms)  SELECT sql
1415093
+ FROM sqlite_master
1415094
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1415095
+ UNION ALL
1415096
+ SELECT sql
1415097
+ FROM sqlite_temp_master
1415098
+ WHERE name='index_tasks_on_until_commit_id' AND type='index'
1415099
+ 
1415100
+  (0.1ms) SELECT sql
1415101
+ FROM sqlite_master
1415102
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1415103
+ UNION ALL
1415104
+ SELECT sql
1415105
+ FROM sqlite_temp_master
1415106
+ WHERE name='index_tasks_on_stack_id' AND type='index'
1415107
+
1415108
+  (0.1ms)  SELECT sql
1415109
+ FROM sqlite_master
1415110
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1415111
+ UNION ALL
1415112
+ SELECT sql
1415113
+ FROM sqlite_temp_master
1415114
+ WHERE name='index_tasks_on_since_commit_id' AND type='index'
1415115
+ 
1415116
+  (0.1ms) SELECT sql
1415117
+ FROM sqlite_master
1415118
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1415119
+ UNION ALL
1415120
+ SELECT sql
1415121
+ FROM sqlite_temp_master
1415122
+ WHERE name='index_tasks_on_rolled_up_and_created_at_and_status' AND type='index'
1415123
+
1415124
+  (0.1ms)  SELECT sql
1415125
+ FROM sqlite_master
1415126
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1415127
+ UNION ALL
1415128
+ SELECT sql
1415129
+ FROM sqlite_temp_master
1415130
+ WHERE name='index_teams_on_organization_and_slug' AND type='index'
1415131
+ 
1415132
+  (0.1ms) SELECT sql
1415133
+ FROM sqlite_master
1415134
+ WHERE name='index_users_on_login' AND type='index'
1415135
+ UNION ALL
1415136
+ SELECT sql
1415137
+ FROM sqlite_temp_master
1415138
+ WHERE name='index_users_on_login' AND type='index'
1415139
+