api_user_auth 0.0.14 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,507 +1,125 @@
1
- Started GET "/" for 127.0.0.1 at 2018-07-03 14:12:21 +0300
2
- Processing by Rails::WelcomeController#index as HTML
3
- Rendering /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
4
- Rendered /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (1.5ms)
5
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
6
-
7
-
8
- Started GET "/" for 127.0.0.1 at 2018-07-03 17:28:55 +0300
9
- Processing by Rails::WelcomeController#index as HTML
10
- Rendering /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
11
- Rendered /home/alex/.rvm/gems/ruby-2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (1.7ms)
12
- Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
13
-
14
-
15
- Started GET "/api/v1/users/me/subscriptions/recent" for 127.0.0.1 at 2018-07-03 17:29:00 +0300
16
-
17
- ActionController::RoutingError (No route matches [GET] "/api/v1/users/me/subscriptions/recent"):
18
-
19
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
20
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
21
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
22
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
23
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
24
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
25
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
26
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
27
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
28
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
29
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
30
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
31
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
32
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
33
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
34
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
35
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
36
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
37
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
38
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
39
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
40
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
41
-  (0.1ms) SELECT sqlite_version(*)
42
- ↳ bin/rails:4
43
-  (105.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
44
- ↳ bin/rails:4
45
-  (64.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
46
- ↳ bin/rails:4
47
- ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
48
- ↳ bin/rails:4
49
-  (0.1ms) begin transaction
50
- ↳ bin/rails:4
51
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-07-03 14:49:47.881238"], ["updated_at", "2018-07-03 14:49:47.881238"]]
52
- ↳ bin/rails:4
53
-  (49.6ms) commit transaction
54
- ↳ bin/rails:4
55
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56
- ↳ bin/rails:4
57
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
- ↳ bin/rails:25
59
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
60
-  (0.0ms) begin transaction
61
- ↳ bin/rails:25
62
-  (0.1ms) SELECT sqlite_version(*)
63
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
64
-  (0.2ms) CREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
65
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
66
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180703111608"]]
67
- ↳ bin/rails:25
68
-  (45.5ms) commit transaction
69
- ↳ bin/rails:25
70
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
71
- ↳ bin/rails:25
72
-  (0.1ms) begin transaction
73
- ↳ bin/rails:25
74
-  (0.1ms) commit transaction
75
- ↳ bin/rails:25
76
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
77
- ↳ bin/rails:25
78
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
79
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
80
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
81
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
82
-  (0.0ms) begin transaction
83
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
84
-  (0.0ms) commit transaction
85
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
86
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
87
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
88
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
89
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
90
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
91
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
92
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
93
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
94
-  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
95
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
96
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
98
-  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
99
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
100
-  (0.1ms) DROP TABLE IF EXISTS "api_user_auth_auth_users"
101
- ↳ db/schema.rb:15
102
-  (0.0ms) SELECT sqlite_version(*)
103
- ↳ db/schema.rb:15
104
-  (76.2ms) CREATE TABLE "api_user_auth_auth_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
105
- ↳ db/schema.rb:15
106
-  (35.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
107
- ↳ db/schema.rb:13
108
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
109
- ↳ db/schema.rb:13
110
-  (25.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180703111608)
111
- ↳ db/schema.rb:13
112
-  (41.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
113
- ↳ db/schema.rb:13
114
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
115
- ↳ db/schema.rb:13
116
-  (0.0ms) begin transaction
117
- ↳ db/schema.rb:13
118
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-07-03 15:35:06.840797"], ["updated_at", "2018-07-03 15:35:06.840797"]]
119
- ↳ db/schema.rb:13
120
-  (102.2ms) commit transaction
121
- ↳ db/schema.rb:13
122
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
123
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
124
-  (0.1ms) begin transaction
125
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
126
- ActiveRecord::InternalMetadata Update (0.5ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2018-07-03 15:35:06.949127"], ["key", "environment"]]
127
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
128
-  (47.6ms) commit transaction
129
- ↳ /home/alex/.rvm/gems/ruby-2.5.0/bin/rake:23
130
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
131
- ↳ bin/rails:25
132
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
133
- ↳ bin/rails:25
134
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
- ↳ bin/rails:25
136
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
137
- ↳ bin/rails:25
138
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
139
-  (0.1ms) begin transaction
140
- ↳ bin/rails:25
141
-  (0.3ms) DROP TABLE "api_user_auth_auth_users"
142
- ↳ bin/rails:25
143
- ActiveRecord::SchemaMigration Destroy (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20180703111608"]]
144
- ↳ bin/rails:25
145
-  (41.5ms) commit transaction
146
- ↳ bin/rails:25
147
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
148
- ↳ bin/rails:25
149
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
- ↳ bin/rails:25
151
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
152
-  (0.0ms) begin transaction
153
- ↳ bin/rails:25
154
-  (0.0ms) rollback transaction
155
- ↳ bin/rails:25
156
-  (1058.4ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
157
- ↳ bin/rails:25
158
-  (600.1ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
159
- ↳ bin/rails:25
160
-  (69.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
161
- ↳ bin/rails:25
162
-  (67.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
163
- ↳ bin/rails:25
164
-  (0.3ms) SELECT pg_try_advisory_lock(7325747718710370390)
1
+  (3.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
165
2
  ↳ bin/rails:25
166
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
167
- ↳ bin/rails:25
168
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
169
-  (0.1ms) BEGIN
170
- ↳ bin/rails:25
171
- SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
172
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
173
-  (60.8ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "auth_tokens" uuid[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
174
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
175
-  (52.5ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
176
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
177
- ActiveRecord::SchemaMigration Create (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
178
- ↳ bin/rails:25
179
-  (37.1ms) COMMIT
180
- ↳ bin/rails:25
181
- 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]]
182
- ↳ bin/rails:25
183
-  (0.2ms) BEGIN
184
- ↳ bin/rails:25
185
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-05 09:51:43.608383"], ["updated_at", "2018-07-05 09:51:43.608383"]]
186
- ↳ bin/rails:25
187
-  (49.2ms) COMMIT
188
- ↳ bin/rails:25
189
-  (0.5ms) SELECT pg_advisory_unlock(7325747718710370390)
3
+  (1.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
190
4
  ↳ bin/rails:25
191
5
   (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
192
6
  ↳ bin/rails:25
193
-  (43.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
194
- ↳ bin/rails:25
195
-  (7.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
196
- ↳ bin/rails:25
197
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
198
- ↳ bin/rails:25
199
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
7
+  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
200
8
  ↳ bin/rails:25
201
9
   (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
202
10
  ↳ bin/rails:25
203
11
   (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
204
12
  ↳ bin/rails:25
205
-  (317.8ms) DROP DATABASE IF EXISTS "dummy_dev"
13
+  (113.8ms) DROP DATABASE IF EXISTS "dummy_dev"
206
14
  ↳ bin/rails:25
207
-  (277.4ms) DROP DATABASE IF EXISTS "dummy_test"
15
+  (111.4ms) DROP DATABASE IF EXISTS "dummy_test"
208
16
  ↳ bin/rails:25
209
-  (1146.4ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
17
+  (352.4ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
210
18
  ↳ bin/rails:25
211
-  (560.1ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
19
+  (352.0ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
212
20
  ↳ bin/rails:25
213
-  (98.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
21
+  (13.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
214
22
  ↳ bin/rails:25
215
-  (165.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
23
+  (4.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
216
24
  ↳ bin/rails:25
217
-  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
25
+  (0.7ms) SELECT pg_try_advisory_lock(7325747718710370390)
218
26
  ↳ bin/rails:25
219
-  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
27
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
220
28
  ↳ bin/rails:25
221
29
  Migrating to CreateApiUserAuthAuthUsers (20180703111608)
222
30
   (0.4ms) BEGIN
223
31
  ↳ bin/rails:25
224
- SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
225
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
226
-  (46.3ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
227
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
228
-  (10.8ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
229
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
230
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
231
- ↳ bin/rails:25
232
-  (5.5ms) COMMIT
32
+ SQL (12.9ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
33
+ ↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
34
+  (6.3ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
35
+ ↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
36
+  (2.1ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
37
+ ↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
38
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
233
39
  ↳ bin/rails:25
234
- 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]]
235
- ↳ bin/rails:25
236
-  (0.2ms) BEGIN
237
- ↳ bin/rails:25
238
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-09 07:14:46.792463"], ["updated_at", "2018-07-09 07:14:46.792463"]]
239
- ↳ bin/rails:25
240
-  (36.4ms) COMMIT
241
- ↳ bin/rails:25
242
-  (0.6ms) SELECT pg_advisory_unlock(7325747718710370390)
243
- ↳ bin/rails:25
244
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
245
- ↳ bin/rails:25
246
- Started PATCH "/api-user-auth/password" for 127.0.0.1 at 2018-07-09 14:30:31 +0300
247
-
248
- ActionController::RoutingError (No route matches [PATCH] "/api-user-auth/password"):
249
-
250
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
251
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
252
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
253
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
254
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
255
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
256
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
257
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
258
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
259
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
260
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
261
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
262
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
263
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
264
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
265
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
266
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
267
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
268
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
269
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
270
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
271
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
272
- Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:05 +0300
273
-
274
- ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
275
-
276
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
277
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
278
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
279
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
280
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
281
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
282
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
283
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
284
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
285
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
286
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
287
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
288
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
289
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
290
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
291
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
292
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
293
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
294
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
295
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
296
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
297
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
298
- Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:25 +0300
299
-
300
- ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
301
-
302
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
303
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
304
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
305
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
306
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
307
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
308
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
309
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
310
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
311
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
312
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
313
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
314
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
315
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
316
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
317
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
318
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
319
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
320
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
321
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
322
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
323
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
324
- Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:31:50 +0300
325
-
326
- ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
327
-
328
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
329
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
330
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
331
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
332
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
333
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
334
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
335
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
336
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
337
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
338
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
339
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
340
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
341
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
342
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
343
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
344
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
345
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
346
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
347
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
348
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
349
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
350
- Started PATCH "/auth/password" for 127.0.0.1 at 2018-07-09 14:32:36 +0300
351
-
352
- ActionController::RoutingError (No route matches [PATCH] "/auth/password"):
353
-
354
- actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
355
- actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
356
- railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
357
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
358
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
359
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
360
- activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
361
- railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
362
- sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
363
- actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
364
- actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
365
- rack (2.0.5) lib/rack/method_override.rb:22:in `call'
366
- rack (2.0.5) lib/rack/runtime.rb:22:in `call'
367
- activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
368
- actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
369
- actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
370
- rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
371
- railties (5.2.0) lib/rails/engine.rb:524:in `call'
372
- rack (2.0.5) lib/rack/handler/webrick.rb:86:in `service'
373
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
374
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
375
- /usr/share/rvm/rubies/ruby-2.5.0/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
376
- Started PATCH "/api_user_auth/auth/password" for 127.0.0.1 at 2018-07-09 14:33:26 +0300
377
- Processing by ApiUserAuth::AuthController#password as */*
378
- Parameters: {"email"=>"user@mail.com"}
379
- Completed 422 Unprocessable Entity in 18ms (Views: 0.1ms | ActiveRecord: 0.0ms)
380
-
381
-
382
-  (0.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
383
- ↳ bin/rails:25
384
-  (0.2ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
385
- ↳ bin/rails:25
386
-  (52.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
387
- ↳ bin/rails:25
388
-  (14.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
389
- ↳ bin/rails:25
390
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40
+  (1.8ms) COMMIT
391
41
  ↳ bin/rails:25
392
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
393
- bin/rails:25
394
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
395
- ↳ bin/rails:25
396
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
397
- ↳ bin/rails:25
398
-  (371.1ms) DROP DATABASE IF EXISTS "dummy_dev"
399
- ↳ bin/rails:25
400
-  (303.7ms) DROP DATABASE IF EXISTS "dummy_test"
401
- ↳ bin/rails:25
402
-  (1111.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
403
- ↳ bin/rails:25
404
-  (576.9ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
405
- ↳ bin/rails:25
406
-  (855.4ms) DROP DATABASE IF EXISTS "dummy_dev"
407
- ↳ bin/rails:25
408
-  (155.5ms) DROP DATABASE IF EXISTS "dummy_test"
409
- ↳ bin/rails:25
410
-  (579.9ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
411
- ↳ bin/rails:25
412
-  (812.0ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
413
- ↳ bin/rails:25
414
-  (42.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
415
- ↳ bin/rails:25
416
-  (78.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
417
- ↳ bin/rails:25
418
-  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
419
- ↳ bin/rails:25
420
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
421
- ↳ bin/rails:25
422
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
423
-  (0.3ms) BEGIN
42
+ Migrating to CreateApiUserAuthProviderTokens (20180726140712)
43
+  (0.4ms) BEGIN
424
44
  ↳ bin/rails:25
425
- SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
426
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
427
-  (39.8ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
428
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
429
-  (30.2ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
430
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
431
- ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
45
+  (6.0ms) CREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
46
+ ↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb:3
47
+  (2.1ms) CREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")
48
+ ↳ /home/doneit/bit-forge/api_user_auth/db/migrate/20180726140712_create_api_user_auth_provider_tokens.rb:3
49
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180726140712"]]
432
50
  ↳ bin/rails:25
433
-  (29.3ms) COMMIT
51
+  (0.8ms) COMMIT
434
52
  ↳ bin/rails:25
435
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
53
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
436
54
  ↳ bin/rails:25
437
55
   (0.3ms) BEGIN
438
56
  ↳ bin/rails:25
439
- ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-19 15:28:11.790946"], ["updated_at", "2018-07-19 15:28:11.790946"]]
440
- ↳ bin/rails:25
441
-  (56.0ms) COMMIT
442
- ↳ bin/rails:25
443
-  (0.7ms) SELECT pg_advisory_unlock(7325747718710370390)
444
- ↳ bin/rails:25
445
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
446
- ↳ bin/rails:25
447
-  (28.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
448
- ↳ bin/rails:25
449
-  (1.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
450
- ↳ bin/rails:25
451
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
452
- ↳ bin/rails:25
453
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
454
- ↳ bin/rails:25
455
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
456
- ↳ bin/rails:25
457
-  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
458
- ↳ bin/rails:25
459
-  (244.8ms) DROP DATABASE IF EXISTS "dummy_dev"
460
- ↳ bin/rails:25
461
-  (262.1ms) DROP DATABASE IF EXISTS "dummy_test"
462
- ↳ bin/rails:25
463
-  (625.1ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
464
- ↳ bin/rails:25
465
-  (873.6ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
57
+ ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-26 22:23:24.867638"], ["updated_at", "2018-07-26 22:23:24.867638"]]
466
58
  ↳ bin/rails:25
467
-  (852.8ms) DROP DATABASE IF EXISTS "dummy_dev"
59
+  (0.6ms) COMMIT
468
60
  ↳ bin/rails:25
469
-  (131.8ms) DROP DATABASE IF EXISTS "dummy_test"
470
- ↳ bin/rails:25
471
-  (551.2ms) CREATE DATABASE "dummy_dev" ENCODING = 'utf8'
472
- ↳ bin/rails:25
473
-  (593.7ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
474
- ↳ bin/rails:25
475
-  (123.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
476
- ↳ bin/rails:25
477
-  (45.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
61
+  (0.6ms) SELECT pg_advisory_unlock(7325747718710370390)
478
62
  ↳ bin/rails:25
479
-  (0.5ms) SELECT pg_try_advisory_lock(7325747718710370390)
63
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
480
64
  ↳ bin/rails:25
481
65
   (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
482
66
  ↳ bin/rails:25
483
- Migrating to CreateApiUserAuthAuthUsers (20180703111608)
484
-  (0.4ms) BEGIN
67
+  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
485
68
  ↳ bin/rails:25
486
- SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
487
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:3
488
-  (67.4ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
489
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
490
-  (21.5ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
491
- ↳ /home/alex/bit_forge/api_user_auth/db/migrate/20180703111608_create_api_user_auth_auth_users.rb:5
492
- ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180703111608"]]
69
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
493
70
  ↳ bin/rails:25
494
-  (30.2ms) COMMIT
71
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
495
72
  ↳ bin/rails:25
496
- ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
73
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
497
74
  ↳ bin/rails:25
75
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
76
+ ↳ bin/rails:25
77
+  (113.0ms) DROP DATABASE IF EXISTS "dummy_test"
78
+ ↳ bin/rails:25
79
+  (351.9ms) CREATE DATABASE "dummy_test" ENCODING = 'utf8'
80
+ ↳ bin/rails:25
81
+ SQL (9.7ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
82
+ ↳ db/schema.rb:16
83
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
84
+ ↳ db/schema.rb:17
85
+  (0.5ms) DROP TABLE IF EXISTS "api_user_auth_auth_users" CASCADE
86
+ ↳ db/schema.rb:19
87
+  (10.4ms) CREATE TABLE "api_user_auth_auth_users" ("id" bigserial primary key, "email" character varying NOT NULL, "encrypted_password" character varying NOT NULL, "code" character varying DEFAULT '', "auth_tokens" uuid[] DEFAULT '{}', "user_provider_data" jsonb DEFAULT '{}', "provider" character varying DEFAULT 'email', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
88
+ ↳ db/schema.rb:19
89
+  (2.8ms) CREATE UNIQUE INDEX "index_api_user_auth_auth_users_on_email" ON "api_user_auth_auth_users" ("email")
90
+ ↳ db/schema.rb:19
91
+  (0.4ms) DROP TABLE IF EXISTS "api_user_auth_provider_tokens" CASCADE
92
+ ↳ db/schema.rb:31
93
+  (6.5ms) CREATE TABLE "api_user_auth_provider_tokens" ("id" bigserial primary key, "auth_user_id" bigint, "provider" integer, "user_id" character varying NOT NULL, "user_data" jsonb DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
94
+ ↳ db/schema.rb:31
95
+  (2.5ms) CREATE INDEX "index_api_user_auth_provider_tokens_on_auth_user_id" ON "api_user_auth_provider_tokens" ("auth_user_id")
96
+ ↳ db/schema.rb:31
97
+  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
98
+ ↳ db/schema.rb:13
99
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
100
+ ↳ db/schema.rb:13
101
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20180726140712)
102
+ ↳ db/schema.rb:13
103
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES
104
+ (20180703111608);
105
+
106
+ 
107
+ ↳ db/schema.rb:13
108
+  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
109
+ ↳ db/schema.rb:13
110
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
111
+ ↳ db/schema.rb:13
498
112
   (0.3ms) BEGIN
113
+ ↳ db/schema.rb:13
114
+ ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-26 22:23:36.579323"], ["updated_at", "2018-07-26 22:23:36.579323"]]
115
+ ↳ db/schema.rb:13
116
+  (0.8ms) COMMIT
117
+ ↳ db/schema.rb:13
118
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
499
119
  ↳ bin/rails:25
500
- ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2018-07-20 12:47:13.995013"], ["updated_at", "2018-07-20 12:47:13.995013"]]
501
- ↳ bin/rails:25
502
-  (56.1ms) COMMIT
120
+  (0.3ms) BEGIN
503
121
  ↳ bin/rails:25
504
-  (0.6ms) SELECT pg_advisory_unlock(7325747718710370390)
122
+ ActiveRecord::InternalMetadata Update (0.9ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2018-07-26 22:23:36.588151"], ["key", "environment"]]
505
123
  ↳ bin/rails:25
506
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
124
+  (0.6ms) COMMIT
507
125
  ↳ bin/rails:25