localtower 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -14177,3 +14177,516 @@ FOREIGN KEY ("post_id")
14177
14177
   (8.1ms) DROP TABLE if exists USERS cascade;
14178
14178
   (8.6ms) DROP TABLE if exists POSTS cascade;
14179
14179
   (7.2ms) DROP TABLE if exists USER_POSTS cascade;
14180
+  (3.9ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14181
+  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14182
+  (11.6ms) DROP TABLE if exists USERS cascade;
14183
+  (8.7ms) DROP TABLE if exists POSTS cascade;
14184
+  (9.5ms) DROP TABLE if exists FOLLOWINGS cascade;
14185
+  (26.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14186
+  (19.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14187
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14188
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14189
+ Migrating to ChangeTheModelPostAtTime1489425767 (20170313172250)
14190
+  (0.3ms) BEGIN
14191
+  (8.1ms) CREATE TABLE "posts" ("id" serial primary key)
14192
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172250"]]
14193
+  (5.9ms) COMMIT
14194
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14195
+  (0.3ms) BEGIN
14196
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-13 17:22:53 UTC], ["updated_at", 2017-03-13 17:22:53 UTC]]
14197
+  (0.5ms) COMMIT
14198
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14199
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14200
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14201
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14202
+ Migrating to ChangeTheModelUserAtTime1489425773 (20170313172256)
14203
+  (0.3ms) BEGIN
14204
+  (11.5ms) CREATE TABLE "users" ("id" serial primary key)
14205
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172256"]]
14206
+  (0.5ms) COMMIT
14207
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14208
+  (0.2ms) BEGIN
14209
+  (0.2ms) COMMIT
14210
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14211
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14212
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14213
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14214
+ Migrating to ChangeTheModelPostAtTime1489425779 (20170313172302)
14215
+  (0.3ms) BEGIN
14216
+  (5.3ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
14217
+  (0.9ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
14218
+  (4.5ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
14219
+  (0.3ms) ALTER TABLE "posts" ADD "content" text
14220
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
14221
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172302"]]
14222
+  (1.6ms) COMMIT
14223
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14224
+  (0.2ms) BEGIN
14225
+  (0.2ms) COMMIT
14226
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14227
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14228
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14229
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14230
+ Migrating to ChangeTheModelPostAtTime1489425785 (20170313172308)
14231
+  (0.2ms) BEGIN
14232
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172308"]]
14233
+  (0.4ms) COMMIT
14234
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14235
+  (0.3ms) BEGIN
14236
+  (0.2ms) COMMIT
14237
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14238
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14239
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14240
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14241
+ Migrating to ChangeTheModelPostAtTime1489425791 (20170313172314)
14242
+  (0.2ms) BEGIN
14243
+  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
14244
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172314"]]
14245
+  (8.4ms) COMMIT
14246
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14247
+  (0.3ms) BEGIN
14248
+  (0.2ms) COMMIT
14249
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14250
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14251
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14252
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14253
+ Migrating to ChangeTheModelPostAtTime1489425797 (20170313172320)
14254
+  (0.2ms) BEGIN
14255
+  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
14256
+  (0.7ms) ALTER TABLE "posts" DROP "title"
14257
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172320"]]
14258
+  (8.4ms) COMMIT
14259
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14260
+  (0.4ms) BEGIN
14261
+  (0.3ms) COMMIT
14262
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14263
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14264
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14265
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14266
+ Migrating to ChangeTheModelPostAtTime1489425803 (20170313172325)
14267
+  (0.3ms) BEGIN
14268
+  (10.2ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
14269
+  (0.7ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
14270
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172325"]]
14271
+  (0.7ms) COMMIT
14272
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14273
+  (0.2ms) BEGIN
14274
+  (0.2ms) COMMIT
14275
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14276
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14277
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14278
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14279
+ Migrating to ChangeTheModelPostAtTime1489425808 (20170313172331)
14280
+  (0.3ms) BEGIN
14281
+  (9.8ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
14282
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172331"]]
14283
+  (0.6ms) COMMIT
14284
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14285
+  (0.2ms) BEGIN
14286
+  (0.2ms) COMMIT
14287
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14288
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14289
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14290
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14291
+ Migrating to ChangeTheModelPostAtTime1489425813 (20170313172336)
14292
+  (0.3ms) BEGIN
14293
+  (0.9ms) DROP INDEX "index_posts_on_views_by_users"
14294
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172336"]]
14295
+  (1.5ms) COMMIT
14296
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14297
+  (0.2ms) BEGIN
14298
+  (0.2ms) COMMIT
14299
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14300
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14301
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14302
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
14303
+ Migrating to ChangeTheModelPostAtTime1489425819 (20170313172341)
14304
+  (0.3ms) BEGIN
14305
+  (2.3ms) DROP TABLE "posts" CASCADE
14306
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172341"]]
14307
+  (9.2ms) COMMIT
14308
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14309
+  (0.3ms) BEGIN
14310
+  (0.2ms) COMMIT
14311
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14312
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14313
+  (7.8ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14314
+  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14315
+  (6.8ms) DROP TABLE if exists USERS cascade;
14316
+  (13.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14317
+  (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14318
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14319
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14320
+ Migrating to CreatePosts (20170313172347)
14321
+  (0.3ms) BEGIN
14322
+  (4.2ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14323
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14324
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172347"]]
14325
+  (0.6ms) COMMIT
14326
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14327
+  (0.2ms) BEGIN
14328
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-13 17:23:49 UTC], ["updated_at", 2017-03-13 17:23:49 UTC]]
14329
+  (0.6ms) COMMIT
14330
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14331
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14332
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14333
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14334
+ Migrating to CreateUsers (20170313172352)
14335
+  (0.3ms) BEGIN
14336
+  (5.3ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14337
+  (1.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14338
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172352"]]
14339
+  (6.2ms) COMMIT
14340
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14341
+  (3.7ms) BEGIN
14342
+  (0.2ms) COMMIT
14343
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14344
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14345
+  (12.8ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14346
+  (12.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14347
+  (1.5ms) DROP TABLE if exists POSTS cascade;
14348
+  (1.3ms) DROP TABLE if exists USERS cascade;
14349
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14350
+  (3.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14351
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14352
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14353
+ Migrating to CreatePosts (20170313172359)
14354
+  (0.3ms) BEGIN
14355
+  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14356
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14357
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172359"]]
14358
+  (0.5ms) COMMIT
14359
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14360
+  (0.3ms) BEGIN
14361
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-13 17:24:03 UTC], ["updated_at", 2017-03-13 17:24:03 UTC]]
14362
+  (0.4ms) COMMIT
14363
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14364
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14365
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14366
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14367
+ Migrating to CreateUsers (20170313172406)
14368
+  (0.3ms) BEGIN
14369
+  (5.0ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14370
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14371
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172406"]]
14372
+  (0.6ms) COMMIT
14373
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14374
+  (0.2ms) BEGIN
14375
+  (0.2ms) COMMIT
14376
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
14377
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14378
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14379
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
14380
+ Migrating to ChangeTheModelPostAtTime1489425849 (20170313172412)
14381
+  (0.3ms) BEGIN
14382
+  (0.8ms) ALTER TABLE "posts" ADD "user_id" integer
14383
+  (3.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
14384
+  (54.7ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
14385
+ FOREIGN KEY ("user_id")
14386
+ REFERENCES "users" ("id")
14387
+ 
14388
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172412"]]
14389
+  (0.5ms) COMMIT
14390
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14391
+  (0.3ms) BEGIN
14392
+  (0.2ms) COMMIT
14393
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14394
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14395
+  (8.8ms) DROP TABLE if exists USERS cascade;
14396
+  (10.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14397
+  (5.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14398
+  (5.2ms) DROP TABLE if exists POSTS cascade;
14399
+  (16.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14400
+  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14401
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14402
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14403
+ Migrating to CreatePosts (20170313172419)
14404
+  (0.3ms) BEGIN
14405
+  (24.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14406
+  (5.5ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14407
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172419"]]
14408
+  (0.4ms) COMMIT
14409
+ Migrating to CreateUsers (20170313172422)
14410
+  (0.2ms) BEGIN
14411
+  (2.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14412
+  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14413
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172422"]]
14414
+  (0.4ms) COMMIT
14415
+ Migrating to CreateUserPosts (20170313172426)
14416
+  (0.3ms) BEGIN
14417
+  (14.4ms) CREATE TABLE "user_posts" ("id" serial primary key, "user_id" integer, "post_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
14418
+ FOREIGN KEY ("user_id")
14419
+ REFERENCES "users" ("id")
14420
+ , CONSTRAINT "fk_rails_38a7c4b06f"
14421
+ FOREIGN KEY ("post_id")
14422
+ REFERENCES "posts" ("id")
14423
+ )
14424
+  (11.9ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
14425
+  (12.0ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
14426
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313172426"]]
14427
+  (0.7ms) COMMIT
14428
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14429
+  (0.2ms) BEGIN
14430
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-13 17:24:29 UTC], ["updated_at", 2017-03-13 17:24:29 UTC]]
14431
+  (6.2ms) COMMIT
14432
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14433
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14434
+  (6.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14435
+  (13.0ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14436
+  (12.7ms) DROP TABLE if exists USERS cascade;
14437
+  (8.0ms) DROP TABLE if exists POSTS cascade;
14438
+  (12.3ms) DROP TABLE if exists USER_POSTS cascade;
14439
+  (32.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14440
+  (19.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14441
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14442
+ ActiveRecord::SchemaMigration Load (6.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14443
+ Migrating to ChangeTheModelPostAtTime1489521466 (20170314195749)
14444
+  (6.6ms) BEGIN
14445
+  (23.0ms) CREATE TABLE "posts" ("id" serial primary key)
14446
+ SQL (28.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195749"]]
14447
+  (0.7ms) COMMIT
14448
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14449
+  (0.2ms) BEGIN
14450
+ SQL (1.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-14 19:57:53 UTC], ["updated_at", 2017-03-14 19:57:53 UTC]]
14451
+  (0.4ms) COMMIT
14452
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14453
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14454
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14455
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14456
+ Migrating to ChangeTheModelUserAtTime1489521473 (20170314195756)
14457
+  (0.2ms) BEGIN
14458
+  (2.9ms) CREATE TABLE "users" ("id" serial primary key)
14459
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195756"]]
14460
+  (0.5ms) COMMIT
14461
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14462
+  (0.2ms) BEGIN
14463
+  (0.2ms) COMMIT
14464
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14465
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14466
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14467
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14468
+ Migrating to ChangeTheModelPostAtTime1489521479 (20170314195802)
14469
+  (0.2ms) BEGIN
14470
+  (20.1ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
14471
+  (3.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
14472
+  (3.4ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
14473
+  (0.3ms) ALTER TABLE "posts" ADD "content" text
14474
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
14475
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195802"]]
14476
+  (1.6ms) COMMIT
14477
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14478
+  (0.2ms) BEGIN
14479
+  (0.2ms) COMMIT
14480
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14481
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14482
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14483
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14484
+ Migrating to ChangeTheModelPostAtTime1489521485 (20170314195807)
14485
+  (0.2ms) BEGIN
14486
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195807"]]
14487
+  (8.6ms) COMMIT
14488
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14489
+  (0.2ms) BEGIN
14490
+  (0.2ms) COMMIT
14491
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14492
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14493
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14494
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14495
+ Migrating to ChangeTheModelPostAtTime1489521490 (20170314195812)
14496
+  (0.2ms) BEGIN
14497
+  (1.0ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
14498
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195812"]]
14499
+  (0.5ms) COMMIT
14500
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14501
+  (0.1ms) BEGIN
14502
+  (0.2ms) COMMIT
14503
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14504
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14505
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14506
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14507
+ Migrating to ChangeTheModelPostAtTime1489521495 (20170314195818)
14508
+  (0.2ms) BEGIN
14509
+  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
14510
+  (0.5ms) ALTER TABLE "posts" DROP "title"
14511
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195818"]]
14512
+  (8.7ms) COMMIT
14513
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14514
+  (0.2ms) BEGIN
14515
+  (0.2ms) COMMIT
14516
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14517
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14518
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14519
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14520
+ Migrating to ChangeTheModelPostAtTime1489521500 (20170314195823)
14521
+  (0.2ms) BEGIN
14522
+  (9.7ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
14523
+  (1.0ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
14524
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195823"]]
14525
+  (0.7ms) COMMIT
14526
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14527
+  (0.2ms) BEGIN
14528
+  (0.2ms) COMMIT
14529
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14530
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14531
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14532
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14533
+ Migrating to ChangeTheModelPostAtTime1489521505 (20170314195828)
14534
+  (0.2ms) BEGIN
14535
+  (9.9ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
14536
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195828"]]
14537
+  (0.7ms) COMMIT
14538
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14539
+  (0.2ms) BEGIN
14540
+  (0.3ms) COMMIT
14541
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14542
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14543
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14544
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14545
+ Migrating to ChangeTheModelPostAtTime1489521510 (20170314195833)
14546
+  (0.2ms) BEGIN
14547
+  (0.6ms) DROP INDEX "index_posts_on_views_by_users"
14548
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195833"]]
14549
+  (8.5ms) COMMIT
14550
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14551
+  (0.2ms) BEGIN
14552
+  (0.2ms) COMMIT
14553
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14554
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14555
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14556
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14557
+ Migrating to ChangeTheModelPostAtTime1489521515 (20170314195838)
14558
+  (0.3ms) BEGIN
14559
+  (1.3ms) DROP TABLE "posts" CASCADE
14560
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195838"]]
14561
+  (9.8ms) COMMIT
14562
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14563
+  (0.2ms) BEGIN
14564
+  (0.2ms) COMMIT
14565
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14566
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14567
+  (18.8ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14568
+  (6.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14569
+  (1.9ms) DROP TABLE if exists USERS cascade;
14570
+  (10.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14571
+  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14572
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14573
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14574
+ Migrating to CreatePosts (20170314195843)
14575
+  (0.2ms) BEGIN
14576
+  (2.6ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14577
+  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14578
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195843"]]
14579
+  (0.5ms) COMMIT
14580
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14581
+  (0.2ms) BEGIN
14582
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-14 19:58:46 UTC], ["updated_at", 2017-03-14 19:58:46 UTC]]
14583
+  (0.3ms) COMMIT
14584
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14585
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14586
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14587
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14588
+ Migrating to CreateUsers (20170314195849)
14589
+  (0.2ms) BEGIN
14590
+  (12.4ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14591
+  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14592
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195849"]]
14593
+  (0.5ms) COMMIT
14594
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14595
+  (0.2ms) BEGIN
14596
+  (0.1ms) COMMIT
14597
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14598
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14599
+  (7.5ms) DROP TABLE if exists USERS cascade;
14600
+  (8.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14601
+  (7.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14602
+  (2.8ms) DROP TABLE if exists POSTS cascade;
14603
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14604
+  (2.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14605
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14606
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14607
+ Migrating to CreatePosts (20170314195854)
14608
+  (0.2ms) BEGIN
14609
+  (4.0ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14610
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14611
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195854"]]
14612
+  (0.6ms) COMMIT
14613
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14614
+  (0.2ms) BEGIN
14615
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-14 19:58:57 UTC], ["updated_at", 2017-03-14 19:58:57 UTC]]
14616
+  (0.5ms) COMMIT
14617
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
14618
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14619
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14620
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14621
+ Migrating to CreateUsers (20170314195859)
14622
+  (0.2ms) BEGIN
14623
+  (13.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14624
+  (1.4ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14625
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195859"]]
14626
+  (0.6ms) COMMIT
14627
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14628
+  (0.3ms) BEGIN
14629
+  (0.2ms) COMMIT
14630
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14631
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14632
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14633
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14634
+ Migrating to ChangeTheModelPostAtTime1489521542 (20170314195904)
14635
+  (0.2ms) BEGIN
14636
+  (0.5ms) ALTER TABLE "posts" ADD "user_id" integer
14637
+  (9.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
14638
+  (2.7ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
14639
+ FOREIGN KEY ("user_id")
14640
+ REFERENCES "users" ("id")
14641
+ 
14642
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195904"]]
14643
+  (0.8ms) COMMIT
14644
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14645
+  (0.2ms) BEGIN
14646
+  (0.2ms) COMMIT
14647
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
14648
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14649
+  (7.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14650
+  (7.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14651
+  (8.9ms) DROP TABLE if exists POSTS cascade;
14652
+  (2.1ms) DROP TABLE if exists USERS cascade;
14653
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14654
+  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14655
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14656
+ ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14657
+ Migrating to CreatePosts (20170314195910)
14658
+  (0.3ms) BEGIN
14659
+  (6.2ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14660
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14661
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195910"]]
14662
+  (0.6ms) COMMIT
14663
+ Migrating to CreateUsers (20170314195912)
14664
+  (0.4ms) BEGIN
14665
+  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14666
+  (1.0ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14667
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195912"]]
14668
+  (0.6ms) COMMIT
14669
+ Migrating to CreateUserPosts (20170314195915)
14670
+  (0.4ms) BEGIN
14671
+  (3.7ms) CREATE TABLE "user_posts" ("id" serial primary key, "user_id" integer, "post_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
14672
+ FOREIGN KEY ("user_id")
14673
+ REFERENCES "users" ("id")
14674
+ , CONSTRAINT "fk_rails_38a7c4b06f"
14675
+ FOREIGN KEY ("post_id")
14676
+ REFERENCES "posts" ("id")
14677
+ )
14678
+  (1.1ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
14679
+  (1.7ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
14680
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170314195915"]]
14681
+  (0.6ms) COMMIT
14682
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
14683
+  (0.2ms) BEGIN
14684
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-14 19:59:17 UTC], ["updated_at", 2017-03-14 19:59:17 UTC]]
14685
+  (0.5ms) COMMIT
14686
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14687
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14688
+  (7.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14689
+  (13.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14690
+  (2.6ms) DROP TABLE if exists USERS cascade;
14691
+  (2.5ms) DROP TABLE if exists POSTS cascade;
14692
+  (2.5ms) DROP TABLE if exists USER_POSTS cascade;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localtower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Le Nouaille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-13 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -164,11 +164,6 @@ files:
164
164
  - lib/localtower/tools.rb
165
165
  - lib/localtower/version.rb
166
166
  - lib/tasks/localtower_tasks.rake
167
- - public/1_schema.png
168
- - public/2_models_1.png
169
- - public/2_models_2.png
170
- - public/3_relations.png
171
- - public/4_migrations.png
172
167
  - public/css/app.css
173
168
  - public/js/app.js
174
169
  - public/js/masonry.pkgd.min.js
@@ -209,6 +204,15 @@ files:
209
204
  - public/light-bootstrap-dashboard-master/assets/js/demo.js
210
205
  - public/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js
211
206
  - public/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js
207
+ - public/screenshots/v0.1.1/1_schema.png
208
+ - public/screenshots/v0.1.1/2_models_1.png
209
+ - public/screenshots/v0.1.1/2_models_2.png
210
+ - public/screenshots/v0.1.1/3_relations.png
211
+ - public/screenshots/v0.1.1/4_migrations.png
212
+ - public/screenshots/v0.1.6/1_schema.png
213
+ - public/screenshots/v0.1.6/2_models_1.png
214
+ - public/screenshots/v0.1.6/3_relations.png
215
+ - public/screenshots/v0.1.6/4_migrations.png
212
216
  - spec/dummy/Gemfile
213
217
  - spec/dummy/Gemfile.lock
214
218
  - spec/dummy/README.md