localtower 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -13148,3 +13148,1032 @@ FOREIGN KEY ("post_id")
13148
13148
   (7.0ms) DROP TABLE if exists USERS cascade;
13149
13149
   (2.1ms) DROP TABLE if exists POSTS cascade;
13150
13150
   (1.3ms) DROP TABLE if exists USER_POSTS cascade;
13151
+  (12.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13152
+  (8.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13153
+  (14.1ms) DROP TABLE if exists POSTS cascade;
13154
+  (7.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13155
+  (20.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13156
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13157
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13158
+ Migrating to ChangeTheModelPostAtTime1489186883 (20170310230126)
13159
+  (0.2ms) BEGIN
13160
+  (14.3ms) CREATE TABLE "posts" ("id" serial primary key)
13161
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230126"]]
13162
+  (6.5ms) COMMIT
13163
+ 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]]
13164
+  (0.3ms) BEGIN
13165
+ 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-10 23:01:29 UTC], ["updated_at", 2017-03-10 23:01:29 UTC]]
13166
+  (0.4ms) COMMIT
13167
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13168
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13169
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13170
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13171
+ Migrating to ChangeTheModelUserAtTime1489186889 (20170310230132)
13172
+  (0.3ms) BEGIN
13173
+  (10.5ms) CREATE TABLE "users" ("id" serial primary key)
13174
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230132"]]
13175
+  (0.6ms) COMMIT
13176
+ 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]]
13177
+  (0.2ms) BEGIN
13178
+  (0.2ms) COMMIT
13179
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13180
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13181
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13182
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13183
+ Migrating to ChangeTheModelPostAtTime1489186894 (20170310230137)
13184
+  (0.3ms) BEGIN
13185
+  (20.2ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
13186
+  (1.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
13187
+  (5.1ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
13188
+  (0.4ms) ALTER TABLE "posts" ADD "content" text
13189
+  (0.4ms) ALTER TABLE "posts" ADD "title" character varying
13190
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230137"]]
13191
+  (1.4ms) COMMIT
13192
+ 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]]
13193
+  (0.2ms) BEGIN
13194
+  (0.2ms) COMMIT
13195
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13196
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13197
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13198
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13199
+ Migrating to ChangeTheModelPostAtTime1489186901 (20170310230144)
13200
+  (0.3ms) BEGIN
13201
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230144"]]
13202
+  (7.6ms) COMMIT
13203
+ 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]]
13204
+  (0.2ms) BEGIN
13205
+  (0.1ms) COMMIT
13206
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13207
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13208
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13209
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13210
+ Migrating to ChangeTheModelPostAtTime1489186907 (20170310230150)
13211
+  (0.3ms) BEGIN
13212
+  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
13213
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230150"]]
13214
+  (5.2ms) COMMIT
13215
+ 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]]
13216
+  (0.2ms) BEGIN
13217
+  (0.1ms) COMMIT
13218
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13219
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13220
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13221
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13222
+ Migrating to ChangeTheModelPostAtTime1489186913 (20170310230156)
13223
+  (0.3ms) BEGIN
13224
+  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
13225
+  (0.8ms) ALTER TABLE "posts" DROP "title"
13226
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230156"]]
13227
+  (8.6ms) COMMIT
13228
+ 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]]
13229
+  (0.2ms) BEGIN
13230
+  (0.2ms) COMMIT
13231
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13232
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13233
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13234
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13235
+ Migrating to ChangeTheModelPostAtTime1489186919 (20170310230202)
13236
+  (0.2ms) BEGIN
13237
+  (6.6ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
13238
+  (0.6ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
13239
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230202"]]
13240
+  (0.7ms) COMMIT
13241
+ 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]]
13242
+  (0.2ms) BEGIN
13243
+  (0.2ms) COMMIT
13244
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13245
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13246
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13247
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13248
+ Migrating to ChangeTheModelPostAtTime1489186925 (20170310230208)
13249
+  (0.3ms) BEGIN
13250
+  (9.6ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
13251
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230208"]]
13252
+  (0.6ms) COMMIT
13253
+ 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]]
13254
+  (0.2ms) BEGIN
13255
+  (0.2ms) COMMIT
13256
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13257
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13258
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13259
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13260
+ Migrating to ChangeTheModelPostAtTime1489186931 (20170310230214)
13261
+  (0.2ms) BEGIN
13262
+  (0.8ms) DROP INDEX "index_posts_on_views_by_users"
13263
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230214"]]
13264
+  (9.3ms) COMMIT
13265
+ ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
13266
+  (0.2ms) BEGIN
13267
+  (0.2ms) COMMIT
13268
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13269
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13270
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13271
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13272
+ Migrating to ChangeTheModelPostAtTime1489186936 (20170310230219)
13273
+  (0.2ms) BEGIN
13274
+  (1.3ms) DROP TABLE "posts" CASCADE
13275
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230219"]]
13276
+  (9.9ms) COMMIT
13277
+ 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]]
13278
+  (0.2ms) BEGIN
13279
+  (0.2ms) COMMIT
13280
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13281
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13282
+  (7.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13283
+  (7.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13284
+  (7.3ms) DROP TABLE if exists USERS cascade;
13285
+  (11.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13286
+  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13287
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13288
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13289
+ Migrating to CreatePosts (20170310230225)
13290
+  (0.2ms) BEGIN
13291
+  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13292
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13293
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230225"]]
13294
+  (0.5ms) COMMIT
13295
+ 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]]
13296
+  (0.2ms) BEGIN
13297
+ 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-10 23:02:27 UTC], ["updated_at", 2017-03-10 23:02:27 UTC]]
13298
+  (0.5ms) COMMIT
13299
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13300
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13301
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13302
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13303
+ Migrating to CreateUsers (20170310230230)
13304
+  (0.5ms) BEGIN
13305
+  (13.4ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13306
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13307
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230230"]]
13308
+  (0.7ms) COMMIT
13309
+ 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]]
13310
+  (0.2ms) BEGIN
13311
+  (0.2ms) COMMIT
13312
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13313
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13314
+  (7.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13315
+  (7.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13316
+  (8.2ms) DROP TABLE if exists POSTS cascade;
13317
+  (1.9ms) DROP TABLE if exists USERS cascade;
13318
+  (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13319
+  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13320
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13321
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13322
+ Migrating to CreatePosts (20170310230236)
13323
+  (0.2ms) BEGIN
13324
+  (4.0ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13325
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13326
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230236"]]
13327
+  (0.5ms) COMMIT
13328
+ 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]]
13329
+  (0.3ms) BEGIN
13330
+ 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-10 23:02:39 UTC], ["updated_at", 2017-03-10 23:02:39 UTC]]
13331
+  (0.4ms) COMMIT
13332
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13333
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13334
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13335
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13336
+ Migrating to CreateUsers (20170310230242)
13337
+  (0.2ms) BEGIN
13338
+  (12.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13339
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13340
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230242"]]
13341
+  (0.6ms) COMMIT
13342
+ 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]]
13343
+  (0.2ms) BEGIN
13344
+  (0.2ms) COMMIT
13345
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13346
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13347
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045);
13348
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
13349
+ Migrating to ChangeTheModelPostAtTime1489186964 (20170310230247)
13350
+  (0.3ms) BEGIN
13351
+  (0.8ms) ALTER TABLE "posts" ADD "user_id" integer
13352
+  (1.4ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
13353
+  (4.3ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
13354
+ FOREIGN KEY ("user_id")
13355
+ REFERENCES "users" ("id")
13356
+ 
13357
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230247"]]
13358
+  (0.5ms) COMMIT
13359
+ 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]]
13360
+  (0.3ms) BEGIN
13361
+  (0.2ms) COMMIT
13362
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13363
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13364
+  (7.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13365
+  (13.0ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13366
+  (2.8ms) DROP TABLE if exists POSTS cascade;
13367
+  (2.0ms) DROP TABLE if exists USERS cascade;
13368
+  (13.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13369
+  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13370
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13371
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13372
+ Migrating to CreatePosts (20170310230253)
13373
+  (0.3ms) BEGIN
13374
+  (3.9ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13375
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13376
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230253"]]
13377
+  (0.5ms) COMMIT
13378
+ Migrating to CreateUsers (20170310230256)
13379
+  (0.4ms) BEGIN
13380
+  (4.1ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13381
+  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13382
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230256"]]
13383
+  (1.2ms) COMMIT
13384
+ Migrating to CreateUserPosts (20170310230259)
13385
+  (1.1ms) BEGIN
13386
+  (4.8ms) 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"
13387
+ FOREIGN KEY ("user_id")
13388
+ REFERENCES "users" ("id")
13389
+ , CONSTRAINT "fk_rails_38a7c4b06f"
13390
+ FOREIGN KEY ("post_id")
13391
+ REFERENCES "posts" ("id")
13392
+ )
13393
+  (0.9ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
13394
+  (0.9ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
13395
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170310230259"]]
13396
+  (0.5ms) COMMIT
13397
+ 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]]
13398
+  (0.3ms) BEGIN
13399
+ 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-10 23:03:01 UTC], ["updated_at", 2017-03-10 23:03:01 UTC]]
13400
+  (0.4ms) COMMIT
13401
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13402
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13403
+  (7.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13404
+  (12.9ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13405
+  (2.9ms) DROP TABLE if exists USERS cascade;
13406
+  (3.4ms) DROP TABLE if exists POSTS cascade;
13407
+  (2.5ms) DROP TABLE if exists USER_POSTS cascade;
13408
+  (40.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13409
+  (20.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13410
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13411
+ ActiveRecord::SchemaMigration Load (6.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13412
+ Migrating to ChangeTheModelPostAtTime1489422361 (20170313162606)
13413
+  (5.9ms) BEGIN
13414
+  (20.8ms) CREATE TABLE "posts" ("id" serial primary key)
13415
+ SQL (24.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162606"]]
13416
+  (5.7ms) COMMIT
13417
+ 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]]
13418
+  (0.2ms) BEGIN
13419
+ SQL (6.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-13 16:26:09 UTC], ["updated_at", 2017-03-13 16:26:09 UTC]]
13420
+  (6.2ms) COMMIT
13421
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13422
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13423
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13424
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13425
+ Migrating to ChangeTheModelUserAtTime1489422369 (20170313162613)
13426
+  (0.3ms) BEGIN
13427
+  (27.6ms) CREATE TABLE "users" ("id" serial primary key)
13428
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162613"]]
13429
+  (6.8ms) COMMIT
13430
+ 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]]
13431
+  (0.2ms) BEGIN
13432
+  (0.2ms) COMMIT
13433
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13434
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13435
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13436
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13437
+ Migrating to ChangeTheModelPostAtTime1489422377 (20170313162621)
13438
+  (0.3ms) BEGIN
13439
+  (24.3ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
13440
+  (1.9ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
13441
+  (6.0ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
13442
+  (0.4ms) ALTER TABLE "posts" ADD "content" text
13443
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
13444
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162621"]]
13445
+  (2.7ms) COMMIT
13446
+ 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]]
13447
+  (0.2ms) BEGIN
13448
+  (0.2ms) COMMIT
13449
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13450
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13451
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13452
+ ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13453
+ Migrating to ChangeTheModelPostAtTime1489422384 (20170313162627)
13454
+  (0.4ms) BEGIN
13455
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162627"]]
13456
+  (8.6ms) COMMIT
13457
+ 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]]
13458
+  (0.3ms) BEGIN
13459
+  (0.2ms) COMMIT
13460
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13461
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13462
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13463
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13464
+ Migrating to ChangeTheModelPostAtTime1489422391 (20170313162634)
13465
+  (0.2ms) BEGIN
13466
+  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
13467
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162634"]]
13468
+  (8.5ms) COMMIT
13469
+ 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]]
13470
+  (0.2ms) BEGIN
13471
+  (0.2ms) COMMIT
13472
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13473
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13474
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13475
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13476
+ Migrating to ChangeTheModelPostAtTime1489422397 (20170313162640)
13477
+  (0.3ms) BEGIN
13478
+  (0.6ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
13479
+  (0.7ms) ALTER TABLE "posts" DROP "title"
13480
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162640"]]
13481
+  (8.6ms) COMMIT
13482
+ 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]]
13483
+  (0.4ms) BEGIN
13484
+  (0.2ms) COMMIT
13485
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13486
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13487
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13488
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13489
+ Migrating to ChangeTheModelPostAtTime1489422403 (20170313162646)
13490
+  (0.2ms) BEGIN
13491
+  (9.8ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
13492
+  (0.8ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
13493
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162646"]]
13494
+  (0.6ms) COMMIT
13495
+ 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]]
13496
+  (0.2ms) BEGIN
13497
+  (0.2ms) COMMIT
13498
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13499
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13500
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13501
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13502
+ Migrating to ChangeTheModelPostAtTime1489422409 (20170313162653)
13503
+  (0.3ms) BEGIN
13504
+  (9.2ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
13505
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162653"]]
13506
+  (1.2ms) COMMIT
13507
+ 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]]
13508
+  (0.2ms) BEGIN
13509
+  (0.2ms) COMMIT
13510
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13511
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13512
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13513
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13514
+ Migrating to ChangeTheModelPostAtTime1489422416 (20170313162701)
13515
+  (0.3ms) BEGIN
13516
+  (1.8ms) DROP INDEX "index_posts_on_views_by_users"
13517
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162701"]]
13518
+  (1.0ms) COMMIT
13519
+ 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]]
13520
+  (0.2ms) BEGIN
13521
+  (0.2ms) COMMIT
13522
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13523
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13524
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13525
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13526
+ Migrating to ChangeTheModelPostAtTime1489422424 (20170313162708)
13527
+  (0.3ms) BEGIN
13528
+  (2.5ms) DROP TABLE "posts" CASCADE
13529
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162708"]]
13530
+  (9.8ms) COMMIT
13531
+ 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]]
13532
+  (0.2ms) BEGIN
13533
+  (0.2ms) COMMIT
13534
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13535
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13536
+  (11.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13537
+  (7.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13538
+  (5.9ms) DROP TABLE if exists USERS cascade;
13539
+  (8.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13540
+  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13541
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13542
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13543
+ Migrating to CreatePosts (20170313162715)
13544
+  (0.2ms) BEGIN
13545
+  (4.0ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13546
+  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13547
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162715"]]
13548
+  (0.6ms) COMMIT
13549
+ 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]]
13550
+  (0.2ms) BEGIN
13551
+ 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 16:27:17 UTC], ["updated_at", 2017-03-13 16:27:17 UTC]]
13552
+  (0.4ms) COMMIT
13553
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13554
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13555
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13556
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13557
+ Migrating to CreateUsers (20170313162721)
13558
+  (0.3ms) BEGIN
13559
+  (4.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13560
+  (1.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13561
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162721"]]
13562
+  (0.6ms) COMMIT
13563
+ 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]]
13564
+  (0.2ms) BEGIN
13565
+  (0.2ms) COMMIT
13566
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13567
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13568
+  (7.7ms) DROP TABLE if exists USERS cascade;
13569
+  (7.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13570
+  (7.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13571
+  (7.7ms) DROP TABLE if exists POSTS cascade;
13572
+  (15.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13573
+  (4.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13574
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13575
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13576
+ Migrating to CreatePosts (20170313162728)
13577
+  (0.3ms) BEGIN
13578
+  (4.9ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13579
+  (1.3ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13580
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162728"]]
13581
+  (0.6ms) COMMIT
13582
+ 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]]
13583
+  (0.3ms) BEGIN
13584
+ 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 16:27:31 UTC], ["updated_at", 2017-03-13 16:27:31 UTC]]
13585
+  (0.3ms) COMMIT
13586
+  (0.9ms) SELECT pg_advisory_unlock(268089350951355045)
13587
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13588
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13589
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13590
+ Migrating to CreateUsers (20170313162734)
13591
+  (0.2ms) BEGIN
13592
+  (13.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13593
+  (1.2ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13594
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162734"]]
13595
+  (0.6ms) COMMIT
13596
+ 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]]
13597
+  (0.2ms) BEGIN
13598
+  (0.1ms) COMMIT
13599
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13600
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13601
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13602
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
13603
+ Migrating to ChangeTheModelPostAtTime1489422458 (20170313162744)
13604
+  (0.2ms) BEGIN
13605
+  (0.8ms) ALTER TABLE "posts" ADD "user_id" integer
13606
+  (9.5ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
13607
+  (8.1ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
13608
+ FOREIGN KEY ("user_id")
13609
+ REFERENCES "users" ("id")
13610
+ 
13611
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162744"]]
13612
+  (0.5ms) COMMIT
13613
+ 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]]
13614
+  (0.3ms) BEGIN
13615
+  (0.2ms) COMMIT
13616
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13617
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13618
+  (7.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13619
+  (8.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13620
+  (5.3ms) DROP TABLE if exists POSTS cascade;
13621
+  (2.0ms) DROP TABLE if exists USERS cascade;
13622
+  (22.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13623
+  (19.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13624
+  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045);
13625
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13626
+ Migrating to CreatePosts (20170313162751)
13627
+  (0.3ms) BEGIN
13628
+  (15.9ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13629
+  (6.3ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13630
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162751"]]
13631
+  (6.4ms) COMMIT
13632
+ Migrating to CreateUsers (20170313162754)
13633
+  (6.3ms) BEGIN
13634
+  (39.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13635
+  (6.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13636
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162754"]]
13637
+  (8.3ms) COMMIT
13638
+ Migrating to CreateUserPosts (20170313162758)
13639
+  (5.8ms) BEGIN
13640
+  (17.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"
13641
+ FOREIGN KEY ("user_id")
13642
+ REFERENCES "users" ("id")
13643
+ , CONSTRAINT "fk_rails_38a7c4b06f"
13644
+ FOREIGN KEY ("post_id")
13645
+ REFERENCES "posts" ("id")
13646
+ )
13647
+  (12.1ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
13648
+  (6.8ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
13649
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313162758"]]
13650
+  (6.3ms) COMMIT
13651
+ 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]]
13652
+  (0.2ms) BEGIN
13653
+ SQL (0.7ms) 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 16:28:01 UTC], ["updated_at", 2017-03-13 16:28:01 UTC]]
13654
+  (5.5ms) COMMIT
13655
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13656
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13657
+  (7.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13658
+  (14.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13659
+  (8.7ms) DROP TABLE if exists USERS cascade;
13660
+  (8.9ms) DROP TABLE if exists POSTS cascade;
13661
+  (7.1ms) DROP TABLE if exists USER_POSTS cascade;
13662
+  (4.6ms) DROP TABLE if exists POSTS cascade;
13663
+  (9.3ms) DROP TABLE if exists USERS cascade;
13664
+  (8.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13665
+  (7.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13666
+  (2.8ms) DROP TABLE if exists POST_USERS cascade;
13667
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13668
+  (19.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13669
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13670
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13671
+ Migrating to ChangeTheModelPostAtTime1489424046 (20170313165409)
13672
+  (0.3ms) BEGIN
13673
+  (15.1ms) CREATE TABLE "posts" ("id" serial primary key)
13674
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165409"]]
13675
+  (6.5ms) COMMIT
13676
+ 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]]
13677
+  (0.2ms) BEGIN
13678
+ 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 16:54:12 UTC], ["updated_at", 2017-03-13 16:54:12 UTC]]
13679
+  (0.5ms) COMMIT
13680
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13681
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13682
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13683
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13684
+ Migrating to ChangeTheModelUserAtTime1489424052 (20170313165415)
13685
+  (0.3ms) BEGIN
13686
+  (4.1ms) CREATE TABLE "users" ("id" serial primary key)
13687
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165415"]]
13688
+  (0.7ms) COMMIT
13689
+ 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]]
13690
+  (0.2ms) BEGIN
13691
+  (0.1ms) COMMIT
13692
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13693
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13694
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13695
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13696
+ Migrating to ChangeTheModelPostAtTime1489424058 (20170313165422)
13697
+  (0.2ms) BEGIN
13698
+  (5.9ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
13699
+  (1.2ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
13700
+  (3.5ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
13701
+  (0.4ms) ALTER TABLE "posts" ADD "content" text
13702
+  (0.5ms) ALTER TABLE "posts" ADD "title" character varying
13703
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165422"]]
13704
+  (2.8ms) COMMIT
13705
+ 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]]
13706
+  (0.2ms) BEGIN
13707
+  (0.2ms) COMMIT
13708
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13709
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13710
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13711
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13712
+ Migrating to ChangeTheModelPostAtTime1489424066 (20170313165429)
13713
+  (0.3ms) BEGIN
13714
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165429"]]
13715
+  (7.9ms) COMMIT
13716
+ 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]]
13717
+  (0.2ms) BEGIN
13718
+  (0.2ms) COMMIT
13719
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13720
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13721
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13722
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13723
+ Migrating to ChangeTheModelPostAtTime1489424072 (20170313165435)
13724
+  (0.3ms) BEGIN
13725
+  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
13726
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165435"]]
13727
+  (7.7ms) COMMIT
13728
+ 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]]
13729
+  (0.4ms) BEGIN
13730
+  (0.2ms) COMMIT
13731
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13732
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13733
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13734
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
13735
+ Migrating to ChangeTheModelPostAtTime1489424078 (20170313165442)
13736
+  (0.2ms) BEGIN
13737
+  (0.6ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
13738
+  (0.7ms) ALTER TABLE "posts" DROP "title"
13739
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165442"]]
13740
+  (7.7ms) COMMIT
13741
+ 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]]
13742
+  (0.2ms) BEGIN
13743
+  (0.2ms) COMMIT
13744
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13745
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13746
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13747
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13748
+ Migrating to ChangeTheModelPostAtTime1489424084 (20170313165447)
13749
+  (0.9ms) BEGIN
13750
+  (1.7ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
13751
+  (0.5ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
13752
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165447"]]
13753
+  (0.7ms) COMMIT
13754
+ 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]]
13755
+  (0.3ms) BEGIN
13756
+  (0.3ms) COMMIT
13757
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
13758
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13759
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13760
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13761
+ Migrating to ChangeTheModelPostAtTime1489424090 (20170313165453)
13762
+  (0.3ms) BEGIN
13763
+  (9.8ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
13764
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165453"]]
13765
+  (0.7ms) COMMIT
13766
+ 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]]
13767
+  (0.3ms) BEGIN
13768
+  (0.2ms) COMMIT
13769
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13770
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13771
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13772
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13773
+ Migrating to ChangeTheModelPostAtTime1489424096 (20170313165459)
13774
+  (0.2ms) BEGIN
13775
+  (0.9ms) DROP INDEX "index_posts_on_views_by_users"
13776
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165459"]]
13777
+  (9.4ms) COMMIT
13778
+ 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]]
13779
+  (0.2ms) BEGIN
13780
+  (0.4ms) COMMIT
13781
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13782
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13783
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13784
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13785
+ Migrating to ChangeTheModelPostAtTime1489424102 (20170313165505)
13786
+  (0.2ms) BEGIN
13787
+  (2.0ms) DROP TABLE "posts" CASCADE
13788
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165505"]]
13789
+  (2.2ms) COMMIT
13790
+ 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]]
13791
+  (0.2ms) BEGIN
13792
+  (0.2ms) COMMIT
13793
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13794
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13795
+  (7.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13796
+  (7.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13797
+  (8.5ms) DROP TABLE if exists USERS cascade;
13798
+  (15.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13799
+  (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13800
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
13801
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13802
+ Migrating to CreatePosts (20170313165511)
13803
+  (0.2ms) BEGIN
13804
+  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13805
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13806
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165511"]]
13807
+  (0.6ms) COMMIT
13808
+ 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]]
13809
+  (0.2ms) BEGIN
13810
+ 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 16:55:13 UTC], ["updated_at", 2017-03-13 16:55:13 UTC]]
13811
+  (0.4ms) COMMIT
13812
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13813
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13814
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13815
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13816
+ Migrating to CreateUsers (20170313165516)
13817
+  (0.2ms) BEGIN
13818
+  (4.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13819
+  (1.2ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13820
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165516"]]
13821
+  (0.6ms) COMMIT
13822
+ 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]]
13823
+  (0.3ms) BEGIN
13824
+  (0.2ms) COMMIT
13825
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13826
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13827
+  (7.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13828
+  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13829
+  (8.5ms) DROP TABLE if exists POSTS cascade;
13830
+  (2.7ms) DROP TABLE if exists USERS cascade;
13831
+  (11.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13832
+  (4.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13833
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13834
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13835
+ Migrating to CreatePosts (20170313165522)
13836
+  (0.2ms) BEGIN
13837
+  (4.4ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13838
+  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13839
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165522"]]
13840
+  (0.7ms) COMMIT
13841
+ 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]]
13842
+  (0.2ms) BEGIN
13843
+ 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 16:55:24 UTC], ["updated_at", 2017-03-13 16:55:24 UTC]]
13844
+  (0.4ms) COMMIT
13845
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13846
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13847
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13848
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
13849
+ Migrating to CreateUsers (20170313165527)
13850
+  (0.2ms) BEGIN
13851
+  (12.5ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13852
+  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13853
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165527"]]
13854
+  (0.6ms) COMMIT
13855
+ 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]]
13856
+  (0.2ms) BEGIN
13857
+  (0.2ms) COMMIT
13858
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13859
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13860
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13861
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13862
+ Migrating to ChangeTheModelPostAtTime1489424130 (20170313165533)
13863
+  (0.2ms) BEGIN
13864
+  (0.7ms) ALTER TABLE "posts" ADD "user_id" integer
13865
+  (12.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
13866
+  (2.1ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
13867
+ FOREIGN KEY ("user_id")
13868
+ REFERENCES "users" ("id")
13869
+ 
13870
+ SQL (3.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165533"]]
13871
+  (6.7ms) COMMIT
13872
+ 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]]
13873
+  (0.2ms) BEGIN
13874
+  (0.2ms) COMMIT
13875
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13876
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13877
+  (7.5ms) DROP TABLE if exists USERS cascade;
13878
+  (7.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13879
+  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13880
+  (12.1ms) DROP TABLE if exists POSTS cascade;
13881
+  (13.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13882
+  (3.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13883
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13884
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
13885
+ Migrating to CreatePosts (20170313165538)
13886
+  (0.3ms) BEGIN
13887
+  (3.8ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13888
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
13889
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165538"]]
13890
+  (0.5ms) COMMIT
13891
+ Migrating to CreateUsers (20170313165541)
13892
+  (0.4ms) BEGIN
13893
+  (3.4ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
13894
+  (1.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
13895
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165541"]]
13896
+  (0.5ms) COMMIT
13897
+ Migrating to CreateUserPosts (20170313165544)
13898
+  (0.3ms) BEGIN
13899
+  (5.6ms) 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"
13900
+ FOREIGN KEY ("user_id")
13901
+ REFERENCES "users" ("id")
13902
+ , CONSTRAINT "fk_rails_38a7c4b06f"
13903
+ FOREIGN KEY ("post_id")
13904
+ REFERENCES "posts" ("id")
13905
+ )
13906
+  (1.2ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
13907
+  (1.1ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
13908
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313165544"]]
13909
+  (0.6ms) COMMIT
13910
+ 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]]
13911
+  (0.3ms) BEGIN
13912
+ 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 16:55:47 UTC], ["updated_at", 2017-03-13 16:55:47 UTC]]
13913
+  (0.4ms) COMMIT
13914
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13915
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13916
+  (7.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13917
+  (7.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13918
+  (12.7ms) DROP TABLE if exists USERS cascade;
13919
+  (2.7ms) DROP TABLE if exists POSTS cascade;
13920
+  (2.3ms) DROP TABLE if exists USER_POSTS cascade;
13921
+  (5.0ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
13922
+  (8.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
13923
+  (15.2ms) DROP TABLE if exists POSTS cascade;
13924
+  (3.0ms) DROP TABLE if exists USERS cascade;
13925
+  (2.0ms) DROP TABLE if exists REGISTRATIONS cascade;
13926
+  (5.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
13927
+  (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)
13928
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13929
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13930
+ Migrating to ChangeTheModelPostAtTime1489425223 (20170313171346)
13931
+  (0.2ms) BEGIN
13932
+  (8.6ms) CREATE TABLE "posts" ("id" serial primary key)
13933
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171346"]]
13934
+  (6.5ms) COMMIT
13935
+ 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]]
13936
+  (0.3ms) BEGIN
13937
+ 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:13:48 UTC], ["updated_at", 2017-03-13 17:13:48 UTC]]
13938
+  (0.5ms) COMMIT
13939
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13940
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13941
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
13942
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13943
+ Migrating to ChangeTheModelUserAtTime1489425229 (20170313171351)
13944
+  (0.3ms) BEGIN
13945
+  (11.0ms) CREATE TABLE "users" ("id" serial primary key)
13946
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171351"]]
13947
+  (0.6ms) COMMIT
13948
+ 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]]
13949
+  (0.2ms) BEGIN
13950
+  (0.2ms) COMMIT
13951
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13952
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13953
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13954
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13955
+ Migrating to ChangeTheModelPostAtTime1489425234 (20170313171357)
13956
+  (0.3ms) BEGIN
13957
+  (5.8ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
13958
+  (0.8ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
13959
+  (2.7ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
13960
+  (0.3ms) ALTER TABLE "posts" ADD "content" text
13961
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
13962
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171357"]]
13963
+  (1.4ms) COMMIT
13964
+ 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]]
13965
+  (0.2ms) BEGIN
13966
+  (0.2ms) COMMIT
13967
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
13968
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13969
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13970
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13971
+ Migrating to ChangeTheModelPostAtTime1489425239 (20170313171402)
13972
+  (0.3ms) BEGIN
13973
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171402"]]
13974
+  (0.5ms) COMMIT
13975
+ 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]]
13976
+  (0.2ms) BEGIN
13977
+  (0.2ms) COMMIT
13978
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13979
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
13980
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13981
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13982
+ Migrating to ChangeTheModelPostAtTime1489425245 (20170313171407)
13983
+  (0.2ms) BEGIN
13984
+  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
13985
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171407"]]
13986
+  (0.5ms) COMMIT
13987
+ 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]]
13988
+  (0.2ms) BEGIN
13989
+  (0.2ms) COMMIT
13990
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
13991
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
13992
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
13993
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13994
+ Migrating to ChangeTheModelPostAtTime1489425250 (20170313171413)
13995
+  (0.2ms) BEGIN
13996
+  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
13997
+  (0.5ms) ALTER TABLE "posts" DROP "title"
13998
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171413"]]
13999
+  (8.6ms) COMMIT
14000
+ 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]]
14001
+  (0.2ms) BEGIN
14002
+  (0.2ms) COMMIT
14003
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14004
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14005
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14006
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14007
+ Migrating to ChangeTheModelPostAtTime1489425255 (20170313171418)
14008
+  (0.3ms) BEGIN
14009
+  (9.1ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
14010
+  (0.5ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
14011
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171418"]]
14012
+  (0.6ms) COMMIT
14013
+ 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]]
14014
+  (0.2ms) BEGIN
14015
+  (0.2ms) COMMIT
14016
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14017
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14018
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
14019
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14020
+ Migrating to ChangeTheModelPostAtTime1489425260 (20170313171423)
14021
+  (0.2ms) BEGIN
14022
+  (1.2ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
14023
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171423"]]
14024
+  (0.5ms) COMMIT
14025
+ 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]]
14026
+  (0.2ms) BEGIN
14027
+  (0.2ms) COMMIT
14028
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14029
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14030
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14031
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14032
+ Migrating to ChangeTheModelPostAtTime1489425266 (20170313171428)
14033
+  (0.2ms) BEGIN
14034
+  (0.8ms) DROP INDEX "index_posts_on_views_by_users"
14035
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171428"]]
14036
+  (9.1ms) COMMIT
14037
+ 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]]
14038
+  (0.2ms) BEGIN
14039
+  (0.2ms) COMMIT
14040
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
14041
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14042
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14043
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
14044
+ Migrating to ChangeTheModelPostAtTime1489425271 (20170313171434)
14045
+  (0.2ms) BEGIN
14046
+  (2.3ms) DROP TABLE "posts" CASCADE
14047
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171434"]]
14048
+  (3.5ms) COMMIT
14049
+ 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]]
14050
+  (0.3ms) BEGIN
14051
+  (0.2ms) COMMIT
14052
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14053
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14054
+  (7.9ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14055
+  (12.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14056
+  (6.4ms) DROP TABLE if exists USERS cascade;
14057
+  (12.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14058
+  (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)
14059
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14060
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14061
+ Migrating to CreatePosts (20170313171439)
14062
+  (0.3ms) BEGIN
14063
+  (3.4ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14064
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14065
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171439"]]
14066
+  (0.5ms) COMMIT
14067
+ 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]]
14068
+  (0.2ms) BEGIN
14069
+ 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:14:42 UTC], ["updated_at", 2017-03-13 17:14:42 UTC]]
14070
+  (0.5ms) COMMIT
14071
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14072
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14073
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14074
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14075
+ Migrating to CreateUsers (20170313171444)
14076
+  (0.2ms) BEGIN
14077
+  (12.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14078
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14079
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171444"]]
14080
+  (0.6ms) COMMIT
14081
+ 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]]
14082
+  (0.2ms) BEGIN
14083
+  (0.2ms) COMMIT
14084
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14085
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14086
+  (7.9ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14087
+  (7.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14088
+  (8.2ms) DROP TABLE if exists POSTS cascade;
14089
+  (2.4ms) DROP TABLE if exists USERS cascade;
14090
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14091
+  (19.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14092
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14093
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14094
+ Migrating to CreatePosts (20170313171450)
14095
+  (0.2ms) BEGIN
14096
+  (5.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14097
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14098
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171450"]]
14099
+  (0.4ms) COMMIT
14100
+ 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]]
14101
+  (0.3ms) BEGIN
14102
+ 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:14:53 UTC], ["updated_at", 2017-03-13 17:14:53 UTC]]
14103
+  (0.5ms) COMMIT
14104
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14105
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14106
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14107
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14108
+ Migrating to CreateUsers (20170313171455)
14109
+  (0.3ms) BEGIN
14110
+  (5.3ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14111
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14112
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171455"]]
14113
+  (0.6ms) COMMIT
14114
+ 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]]
14115
+  (0.2ms) BEGIN
14116
+  (0.2ms) COMMIT
14117
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14118
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14119
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
14120
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14121
+ Migrating to ChangeTheModelPostAtTime1489425298 (20170313171500)
14122
+  (0.3ms) BEGIN
14123
+  (0.8ms) ALTER TABLE "posts" ADD "user_id" integer
14124
+  (1.5ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
14125
+  (4.5ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
14126
+ FOREIGN KEY ("user_id")
14127
+ REFERENCES "users" ("id")
14128
+ 
14129
+ SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171500"]]
14130
+  (0.7ms) COMMIT
14131
+ 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]]
14132
+  (0.2ms) BEGIN
14133
+  (0.2ms) COMMIT
14134
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14135
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
14136
+  (8.1ms) DROP TABLE if exists USERS cascade;
14137
+  (7.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14138
+  (6.0ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14139
+  (2.7ms) DROP TABLE if exists POSTS cascade;
14140
+  (4.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14141
+  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14142
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
14143
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
14144
+ Migrating to CreatePosts (20170313171506)
14145
+  (0.3ms) BEGIN
14146
+  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14147
+  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
14148
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171506"]]
14149
+  (0.7ms) COMMIT
14150
+ Migrating to CreateUsers (20170313171509)
14151
+  (0.4ms) BEGIN
14152
+  (6.5ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
14153
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
14154
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171509"]]
14155
+  (0.6ms) COMMIT
14156
+ Migrating to CreateUserPosts (20170313171512)
14157
+  (0.4ms) BEGIN
14158
+  (2.9ms) 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"
14159
+ FOREIGN KEY ("user_id")
14160
+ REFERENCES "users" ("id")
14161
+ , CONSTRAINT "fk_rails_38a7c4b06f"
14162
+ FOREIGN KEY ("post_id")
14163
+ REFERENCES "posts" ("id")
14164
+ )
14165
+  (1.1ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
14166
+  (1.2ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
14167
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170313171512"]]
14168
+  (0.6ms) COMMIT
14169
+ 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]]
14170
+  (0.2ms) BEGIN
14171
+ 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:15:14 UTC], ["updated_at", 2017-03-13 17:15:14 UTC]]
14172
+  (0.5ms) COMMIT
14173
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
14174
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
14175
+  (7.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
14176
+  (13.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
14177
+  (8.1ms) DROP TABLE if exists USERS cascade;
14178
+  (8.6ms) DROP TABLE if exists POSTS cascade;
14179
+  (7.2ms) DROP TABLE if exists USER_POSTS cascade;