localtower 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,508 +0,0 @@
1
-  (42.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
2
-  (21.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
3
-  (1.4ms) SELECT pg_try_advisory_lock(268089350951355045);
4
- ActiveRecord::SchemaMigration Load (2.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to ChangeTheModelPostAtTime1490266708 (20170323105831)
6
-  (0.3ms) BEGIN
7
-  (36.8ms) CREATE TABLE "posts" ("id" serial primary key)
8
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105831"]]
9
-  (6.7ms) COMMIT
10
- ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
11
-  (0.2ms) BEGIN
12
- SQL (1.0ms) 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-23 10:58:33 UTC], ["updated_at", 2017-03-23 10:58:33 UTC]]
13
-  (0.5ms) COMMIT
14
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
15
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
17
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
- Migrating to ChangeTheModelUserAtTime1490266714 (20170323105836)
19
-  (0.3ms) BEGIN
20
-  (10.2ms) CREATE TABLE "users" ("id" serial primary key)
21
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105836"]]
22
-  (0.7ms) COMMIT
23
- ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
24
-  (0.2ms) BEGIN
25
-  (0.2ms) COMMIT
26
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
27
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
28
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
29
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
- Migrating to ChangeTheModelPostAtTime1490266718 (20170323105841)
31
-  (0.2ms) BEGIN
32
-  (39.7ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
33
-  (2.3ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
34
-  (3.6ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
35
-  (0.3ms) ALTER TABLE "posts" ADD "content" text
36
-  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
37
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105841"]]
38
-  (1.9ms) COMMIT
39
- 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]]
40
-  (0.2ms) BEGIN
41
-  (0.2ms) COMMIT
42
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
43
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
45
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
- Migrating to ChangeTheModelPostAtTime1490266723 (20170323105846)
47
-  (0.2ms) BEGIN
48
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105846"]]
49
-  (8.7ms) COMMIT
50
- 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]]
51
-  (0.2ms) BEGIN
52
-  (0.2ms) COMMIT
53
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
54
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
55
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
56
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
57
- Migrating to ChangeTheModelPostAtTime1490266728 (20170323105851)
58
-  (0.2ms) BEGIN
59
-  (9.0ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
60
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105851"]]
61
-  (0.6ms) COMMIT
62
- 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]]
63
-  (0.2ms) BEGIN
64
-  (0.2ms) COMMIT
65
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
66
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
68
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
- Migrating to ChangeTheModelPostAtTime1490266733 (20170323105855)
70
-  (0.2ms) BEGIN
71
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
72
-  (0.5ms) ALTER TABLE "posts" DROP "title"
73
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105855"]]
74
-  (8.5ms) COMMIT
75
- 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]]
76
-  (0.2ms) BEGIN
77
-  (0.2ms) COMMIT
78
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
79
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
81
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
82
- Migrating to ChangeTheModelPostAtTime1490266738 (20170323105900)
83
-  (0.2ms) BEGIN
84
-  (9.6ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
85
-  (0.5ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
86
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105900"]]
87
-  (0.8ms) COMMIT
88
- 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]]
89
-  (0.2ms) BEGIN
90
-  (0.2ms) COMMIT
91
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
92
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
93
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
94
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
- Migrating to ChangeTheModelPostAtTime1490266743 (20170323105905)
96
-  (0.2ms) BEGIN
97
-  (9.6ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
98
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105905"]]
99
-  (0.7ms) COMMIT
100
- 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]]
101
-  (0.2ms) BEGIN
102
-  (0.2ms) COMMIT
103
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
104
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
106
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
- Migrating to ChangeTheModelPostAtTime1490266747 (20170323105910)
108
-  (0.3ms) BEGIN
109
-  (0.7ms) DROP INDEX "index_posts_on_views_by_users"
110
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105910"]]
111
-  (9.4ms) COMMIT
112
- 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]]
113
-  (0.2ms) BEGIN
114
-  (0.3ms) COMMIT
115
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
116
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
118
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
119
- Migrating to ChangeTheModelPostAtTime1490266752 (20170323105915)
120
-  (0.5ms) BEGIN
121
-  (10.3ms) DROP TABLE "posts" CASCADE
122
- SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105915"]]
123
-  (1.2ms) COMMIT
124
- 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]]
125
-  (0.2ms) BEGIN
126
-  (0.3ms) COMMIT
127
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
128
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
-  (15.0ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
130
-  (7.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
131
-  (2.1ms) DROP TABLE if exists USERS cascade;
132
-  (12.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
133
-  (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)
134
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
135
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
136
- Migrating to CreatePosts (20170323105920)
137
-  (0.2ms) BEGIN
138
-  (4.6ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
139
-  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
140
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105920"]]
141
-  (0.5ms) COMMIT
142
- 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]]
143
-  (0.2ms) BEGIN
144
- 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-23 10:59:22 UTC], ["updated_at", 2017-03-23 10:59:22 UTC]]
145
-  (0.4ms) COMMIT
146
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
147
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
148
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
149
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
- Migrating to CreateUsers (20170323105925)
151
-  (0.2ms) BEGIN
152
-  (12.4ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
153
-  (1.4ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
154
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105925"]]
155
-  (0.8ms) COMMIT
156
- 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]]
157
-  (0.2ms) BEGIN
158
-  (0.2ms) COMMIT
159
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
160
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
161
-  (8.0ms) DROP TABLE if exists USERS cascade;
162
-  (7.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
163
-  (7.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
164
-  (2.2ms) DROP TABLE if exists POSTS cascade;
165
-  (12.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
166
-  (4.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
167
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
168
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
- Migrating to CreatePosts (20170323105930)
170
-  (0.2ms) BEGIN
171
-  (2.8ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
172
-  (0.9ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
173
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105930"]]
174
-  (0.6ms) COMMIT
175
- 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]]
176
-  (0.2ms) BEGIN
177
- 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-23 10:59:32 UTC], ["updated_at", 2017-03-23 10:59:32 UTC]]
178
-  (0.4ms) COMMIT
179
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
180
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
181
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
182
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
- Migrating to CreateUsers (20170323105935)
184
-  (0.2ms) BEGIN
185
-  (4.0ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
186
-  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
187
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105935"]]
188
-  (0.7ms) COMMIT
189
- 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]]
190
-  (0.2ms) BEGIN
191
-  (0.2ms) COMMIT
192
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
193
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
194
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
195
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
196
- Migrating to ChangeTheModelPostAtTime1490266777 (20170323105939)
197
-  (0.3ms) BEGIN
198
-  (0.6ms) ALTER TABLE "posts" ADD "user_id" integer
199
-  (9.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
200
-  (15.4ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
201
- FOREIGN KEY ("user_id")
202
- REFERENCES "users" ("id")
203
- 
204
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105939"]]
205
-  (0.7ms) COMMIT
206
- 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]]
207
-  (0.2ms) BEGIN
208
-  (0.2ms) COMMIT
209
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
210
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
211
-  (7.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
212
-  (6.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
213
-  (3.4ms) DROP TABLE if exists POSTS cascade;
214
-  (2.2ms) DROP TABLE if exists USERS cascade;
215
-  (13.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
216
-  (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)
217
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
218
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
219
- Migrating to CreatePosts (20170323105944)
220
-  (0.2ms) BEGIN
221
-  (5.7ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
222
-  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
223
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105944"]]
224
-  (0.4ms) COMMIT
225
- Migrating to CreateUsers (20170323105947)
226
-  (0.3ms) BEGIN
227
-  (3.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
228
-  (1.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
229
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105947"]]
230
-  (0.8ms) COMMIT
231
- Migrating to CreateUserPosts (20170323105949)
232
-  (0.5ms) BEGIN
233
-  (4.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"
234
- FOREIGN KEY ("user_id")
235
- REFERENCES "users" ("id")
236
- , CONSTRAINT "fk_rails_38a7c4b06f"
237
- FOREIGN KEY ("post_id")
238
- REFERENCES "posts" ("id")
239
- )
240
-  (1.1ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
241
-  (1.0ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
242
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170323105949"]]
243
-  (0.6ms) COMMIT
244
- 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]]
245
-  (0.2ms) BEGIN
246
- SQL (3.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-23 10:59:52 UTC], ["updated_at", 2017-03-23 10:59:52 UTC]]
247
-  (0.7ms) COMMIT
248
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
249
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
250
-  (7.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
251
-  (7.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
252
-  (13.4ms) DROP TABLE if exists USERS cascade;
253
-  (2.4ms) DROP TABLE if exists POSTS cascade;
254
-  (1.9ms) DROP TABLE if exists USER_POSTS cascade;
255
-  (38.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
256
-  (19.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
257
-  (1.6ms) SELECT pg_try_advisory_lock(268089350951355045);
258
- ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
- Migrating to ChangeTheModelPostAtTime1490601437 (20170327075720)
260
-  (0.3ms) BEGIN
261
-  (30.7ms) CREATE TABLE "posts" ("id" serial primary key)
262
- SQL (25.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075720"]]
263
-  (0.7ms) COMMIT
264
- ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
265
-  (0.2ms) BEGIN
266
- SQL (1.2ms) 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-27 07:57:22 UTC], ["updated_at", 2017-03-27 07:57:22 UTC]]
267
-  (0.4ms) COMMIT
268
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
269
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
270
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
271
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
272
- Migrating to ChangeTheModelUserAtTime1490601442 (20170327075725)
273
-  (0.2ms) BEGIN
274
-  (11.0ms) CREATE TABLE "users" ("id" serial primary key)
275
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075725"]]
276
-  (0.7ms) COMMIT
277
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
278
-  (0.2ms) BEGIN
279
-  (0.2ms) COMMIT
280
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
281
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
282
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
283
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
284
- Migrating to ChangeTheModelPostAtTime1490601448 (20170327075730)
285
-  (0.2ms) BEGIN
286
-  (23.8ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
287
-  (2.8ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
288
-  (2.9ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
289
-  (0.3ms) ALTER TABLE "posts" ADD "content" text
290
-  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
291
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075730"]]
292
-  (1.6ms) COMMIT
293
- 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]]
294
-  (0.2ms) BEGIN
295
-  (0.1ms) COMMIT
296
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
297
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
298
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
299
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
300
- Migrating to ChangeTheModelPostAtTime1490601453 (20170327075735)
301
-  (0.2ms) BEGIN
302
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075735"]]
303
-  (8.7ms) COMMIT
304
- 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]]
305
-  (0.2ms) BEGIN
306
-  (0.2ms) COMMIT
307
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
308
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
309
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
310
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
311
- Migrating to ChangeTheModelPostAtTime1490601458 (20170327075740)
312
-  (0.2ms) BEGIN
313
-  (8.6ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
314
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075740"]]
315
-  (0.6ms) COMMIT
316
- 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]]
317
-  (0.2ms) BEGIN
318
-  (0.2ms) COMMIT
319
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
320
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
321
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
322
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
323
- Migrating to ChangeTheModelPostAtTime1490601463 (20170327075745)
324
-  (0.3ms) BEGIN
325
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
326
-  (0.5ms) ALTER TABLE "posts" DROP "title"
327
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075745"]]
328
-  (7.7ms) COMMIT
329
- 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]]
330
-  (0.2ms) BEGIN
331
-  (0.2ms) COMMIT
332
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
333
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
335
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
336
- Migrating to ChangeTheModelPostAtTime1490601468 (20170327075751)
337
-  (0.2ms) BEGIN
338
-  (9.7ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
339
-  (0.7ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
340
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075751"]]
341
-  (0.4ms) COMMIT
342
- 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]]
343
-  (0.2ms) BEGIN
344
-  (0.1ms) COMMIT
345
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
346
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
347
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
348
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
349
- Migrating to ChangeTheModelPostAtTime1490601474 (20170327075757)
350
-  (0.2ms) BEGIN
351
-  (8.8ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
352
- SQL (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075757"]]
353
-  (0.7ms) COMMIT
354
- 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]]
355
-  (0.3ms) BEGIN
356
-  (0.2ms) COMMIT
357
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
358
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
359
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
360
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
361
- Migrating to ChangeTheModelPostAtTime1490601480 (20170327075803)
362
-  (0.2ms) BEGIN
363
-  (0.5ms) DROP INDEX "index_posts_on_views_by_users"
364
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075803"]]
365
-  (1.0ms) COMMIT
366
- 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]]
367
-  (0.2ms) BEGIN
368
-  (0.1ms) COMMIT
369
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
370
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
371
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
372
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
373
- Migrating to ChangeTheModelPostAtTime1490601486 (20170327075810)
374
-  (0.3ms) BEGIN
375
-  (2.3ms) DROP TABLE "posts" CASCADE
376
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075810"]]
377
-  (2.0ms) COMMIT
378
- 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]]
379
-  (0.3ms) BEGIN
380
-  (0.2ms) COMMIT
381
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
382
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
383
-  (9.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
384
-  (8.0ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
385
-  (6.1ms) DROP TABLE if exists USERS cascade;
386
-  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
387
-  (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)
388
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
389
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
390
- Migrating to CreatePosts (20170327075817)
391
-  (0.2ms) BEGIN
392
-  (4.2ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
393
-  (0.8ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
394
- SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075817"]]
395
-  (0.5ms) COMMIT
396
- 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]]
397
-  (0.2ms) BEGIN
398
- 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-27 07:58:19 UTC], ["updated_at", 2017-03-27 07:58:19 UTC]]
399
-  (0.3ms) COMMIT
400
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
401
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
402
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
403
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
404
- Migrating to CreateUsers (20170327075822)
405
-  (0.2ms) BEGIN
406
-  (10.8ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
407
-  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
408
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075822"]]
409
-  (0.4ms) COMMIT
410
- 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]]
411
-  (0.1ms) BEGIN
412
-  (0.1ms) COMMIT
413
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
414
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
415
-  (7.6ms) DROP TABLE if exists USERS cascade;
416
-  (8.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
417
-  (7.9ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
418
-  (2.2ms) DROP TABLE if exists POSTS cascade;
419
-  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
420
-  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
421
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
422
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
423
- Migrating to CreatePosts (20170327075828)
424
-  (0.3ms) BEGIN
425
-  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
426
-  (0.9ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
427
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075828"]]
428
-  (0.5ms) COMMIT
429
- 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]]
430
-  (0.3ms) BEGIN
431
- 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-27 07:58:30 UTC], ["updated_at", 2017-03-27 07:58:30 UTC]]
432
-  (0.5ms) COMMIT
433
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
434
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
435
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
436
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
437
- Migrating to CreateUsers (20170327075833)
438
-  (0.3ms) BEGIN
439
-  (13.8ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
440
-  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
441
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075833"]]
442
-  (0.6ms) COMMIT
443
- 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]]
444
-  (0.2ms) BEGIN
445
-  (0.2ms) COMMIT
446
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
447
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
448
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
449
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
450
- Migrating to ChangeTheModelPostAtTime1490601515 (20170327075838)
451
-  (0.2ms) BEGIN
452
-  (0.6ms) ALTER TABLE "posts" ADD "user_id" integer
453
-  (9.5ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
454
-  (11.3ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
455
- FOREIGN KEY ("user_id")
456
- REFERENCES "users" ("id")
457
- 
458
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075838"]]
459
-  (0.7ms) COMMIT
460
- 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]]
461
-  (0.3ms) BEGIN
462
-  (0.2ms) COMMIT
463
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
464
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
465
-  (7.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
466
-  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
467
-  (4.0ms) DROP TABLE if exists POSTS cascade;
468
-  (2.1ms) DROP TABLE if exists USERS cascade;
469
-  (12.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
470
-  (4.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
471
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
472
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
473
- Migrating to CreatePosts (20170327075844)
474
-  (0.3ms) BEGIN
475
-  (7.3ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
476
-  (1.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
477
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075844"]]
478
-  (0.6ms) COMMIT
479
- Migrating to CreateUsers (20170327075847)
480
-  (0.3ms) BEGIN
481
-  (3.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
482
-  (1.2ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
483
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075847"]]
484
-  (0.7ms) COMMIT
485
- Migrating to CreateUserPosts (20170327075849)
486
-  (0.4ms) BEGIN
487
-  (4.0ms) 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"
488
- FOREIGN KEY ("user_id")
489
- REFERENCES "users" ("id")
490
- , CONSTRAINT "fk_rails_38a7c4b06f"
491
- FOREIGN KEY ("post_id")
492
- REFERENCES "posts" ("id")
493
- )
494
-  (1.0ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
495
-  (1.0ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
496
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170327075849"]]
497
-  (0.7ms) COMMIT
498
- 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]]
499
-  (0.2ms) BEGIN
500
- 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-27 07:58:52 UTC], ["updated_at", 2017-03-27 07:58:52 UTC]]
501
-  (0.5ms) COMMIT
502
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
503
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
504
-  (7.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
505
-  (7.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
506
-  (13.5ms) DROP TABLE if exists USERS cascade;
507
-  (2.6ms) DROP TABLE if exists POSTS cascade;
508
-  (2.7ms) DROP TABLE if exists USER_POSTS cascade;