notifiable-rails 0.30.3 → 0.30.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable/notification.rb +1 -1
- data/lib/notifiable/version.rb +1 -1
- data/spec/test_app/log/test.log +850 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4e0b820db2bdc4374813c77b182ee78218e29c8
|
4
|
+
data.tar.gz: f769ec357ae316057a193fefda83327b993fbd1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc14b5cbec4a61df5d5ed6e2ec02cd202f6bac506e0c191bf20564025ccc3eeb228fc09bb2c8d90d1be08f48a0bf1b1a60d0406c55bd4b4b02527b1a92e8c0d8
|
7
|
+
data.tar.gz: 6a35b27c75650231a484c314aa957e71071cbf3c333777f3a6ffa9b14ce50d6eaa1ac96e6cf6bcd8aabbb4627f486b6958212737b2247f5009fb06157986c48d
|
@@ -23,7 +23,7 @@ module Notifiable
|
|
23
23
|
provider = d.provider.to_sym
|
24
24
|
|
25
25
|
unless notifiers[provider]
|
26
|
-
clazz = Notifiable.
|
26
|
+
clazz = Notifiable.notifier_class(self, d)
|
27
27
|
raise "Notifier #{provider} not configured" unless clazz
|
28
28
|
notifier = clazz.new(Rails.env, self)
|
29
29
|
self.app.configure(provider, notifier)
|
data/lib/notifiable/version.rb
CHANGED
data/spec/test_app/log/test.log
CHANGED
@@ -14132,3 +14132,853 @@ Migrating to AddErrorMessageToNotificationStatuses (201808242135000)
|
|
14132
14132
|
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14133
14133
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14134
14134
|
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
14135
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5131134053504291175)[0m
|
14136
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
14137
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
14138
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
14139
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
14140
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5131134053504291175)[0m
|
14141
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14142
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14143
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 1"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.521237"], ["updated_at", "2018-08-24 15:47:47.521237"]]
|
14144
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14145
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14146
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 828], ["created_at", "2018-08-24 15:47:47.548251"], ["updated_at", "2018-08-24 15:47:47.548251"]]
|
14147
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14148
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14149
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 2"], ["created_at", "2018-08-24 15:47:47.574930"], ["updated_at", "2018-08-24 15:47:47.574930"]]
|
14150
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14152
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 829 LIMIT $2[0m [["token", "ABCD1"], ["LIMIT", 1]]
|
14153
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD1"], ["provider", "mock"], ["locale", "en"], ["app_id", 829], ["created_at", "2018-08-24 15:47:47.582048"], ["updated_at", "2018-08-24 15:47:47.582048"]]
|
14154
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14155
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14156
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.584849"], ["id", 379]]
|
14157
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14158
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14159
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 379], ["LIMIT", 1]]
|
14160
|
+
[1m[36mNotifiable::DeviceToken Load (0.4ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 411], ["LIMIT", 1]]
|
14161
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 379], ["device_token_id", 411], ["status", 0], ["created_at", "2018-08-24 15:47:47.584120"]]
|
14162
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14163
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14164
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14165
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
14166
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14167
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14168
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14169
|
+
[1m[35m (2.5ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
14170
|
+
FROM pg_tables
|
14171
|
+
WHERE
|
14172
|
+
tablename !~ '_prt_' AND
|
14173
|
+
tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
|
14174
|
+
schemaname = ANY (current_schemas(false))
|
14175
|
+
[0m
|
14176
|
+
[1m[35m (1.4ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'notifiable-rails-test'[0m
|
14177
|
+
[1m[35m (14.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14178
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14179
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14180
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14181
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
14182
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14183
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14184
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 3"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.647587"], ["updated_at", "2018-08-24 15:47:47.647587"]]
|
14185
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14186
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14187
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 830], ["created_at", "2018-08-24 15:47:47.650764"], ["updated_at", "2018-08-24 15:47:47.650764"]]
|
14188
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14189
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14190
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 4"], ["created_at", "2018-08-24 15:47:47.653551"], ["updated_at", "2018-08-24 15:47:47.653551"]]
|
14191
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14192
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14193
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 831 LIMIT $2[0m [["token", "ABCD2"], ["LIMIT", 1]]
|
14194
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD2"], ["provider", "mock"], ["locale", "en"], ["app_id", 831], ["created_at", "2018-08-24 15:47:47.656788"], ["updated_at", "2018-08-24 15:47:47.656788"]]
|
14195
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14196
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14197
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.659042"], ["id", 380]]
|
14198
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14199
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14200
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 380], ["LIMIT", 1]]
|
14201
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 412], ["LIMIT", 1]]
|
14202
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 380], ["device_token_id", 412], ["status", 0], ["created_at", "2018-08-24 15:47:47.658457"]]
|
14203
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14204
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14205
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14206
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14207
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14208
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14209
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14210
|
+
[1m[35m (9.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14211
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14212
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14213
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14214
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
14215
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14216
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14217
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 5"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.685009"], ["updated_at", "2018-08-24 15:47:47.685009"]]
|
14218
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14219
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14220
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 832], ["created_at", "2018-08-24 15:47:47.688212"], ["updated_at", "2018-08-24 15:47:47.688212"]]
|
14221
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14222
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14223
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 6"], ["created_at", "2018-08-24 15:47:47.691074"], ["updated_at", "2018-08-24 15:47:47.691074"]]
|
14224
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14225
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14226
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 833 LIMIT $2[0m [["token", "ABCD3"], ["LIMIT", 1]]
|
14227
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 833], ["created_at", "2018-08-24 15:47:47.694724"], ["updated_at", "2018-08-24 15:47:47.694724"]]
|
14228
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14229
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14230
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.697367"], ["id", 381]]
|
14231
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14232
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14233
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 381], ["LIMIT", 1]]
|
14234
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 413], ["LIMIT", 1]]
|
14235
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 381], ["device_token_id", 413], ["status", 0], ["created_at", "2018-08-24 15:47:47.696692"]]
|
14236
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14237
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14238
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14239
|
+
[1m[36mNotifiable::NotificationStatus Load (0.2ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14240
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14241
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14242
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14243
|
+
[1m[35m (12.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14244
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14245
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14246
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14247
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14248
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14249
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14250
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 7"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.726792"], ["updated_at", "2018-08-24 15:47:47.726792"]]
|
14251
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14252
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14253
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 834], ["created_at", "2018-08-24 15:47:47.729814"], ["updated_at", "2018-08-24 15:47:47.729814"]]
|
14254
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14255
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14256
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 8"], ["created_at", "2018-08-24 15:47:47.732241"], ["updated_at", "2018-08-24 15:47:47.732241"]]
|
14257
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14258
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14259
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 835 LIMIT $2[0m [["token", "ABCD4"], ["LIMIT", 1]]
|
14260
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 835], ["created_at", "2018-08-24 15:47:47.736787"], ["updated_at", "2018-08-24 15:47:47.736787"]]
|
14261
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14262
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14263
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.739715"], ["id", 382]]
|
14264
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14265
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14266
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 382], ["LIMIT", 1]]
|
14267
|
+
[1m[36mNotifiable::DeviceToken Load (0.4ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 414], ["LIMIT", 1]]
|
14268
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 382], ["device_token_id", 414], ["status", 0], ["created_at", "2018-08-24 15:47:47.738843"]]
|
14269
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14270
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14271
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14272
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14273
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14274
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14275
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14276
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14277
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14278
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14279
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14280
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14281
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14282
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14283
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 9"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.774021"], ["updated_at", "2018-08-24 15:47:47.774021"]]
|
14284
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14285
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14286
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 836], ["created_at", "2018-08-24 15:47:47.777432"], ["updated_at", "2018-08-24 15:47:47.777432"]]
|
14287
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14288
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14289
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 10"], ["created_at", "2018-08-24 15:47:47.780353"], ["updated_at", "2018-08-24 15:47:47.780353"]]
|
14290
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14291
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14292
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 837 LIMIT $2[0m [["token", "ABCD5"], ["LIMIT", 1]]
|
14293
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD5"], ["provider", "mock"], ["locale", "en"], ["app_id", 837], ["created_at", "2018-08-24 15:47:47.784473"], ["updated_at", "2018-08-24 15:47:47.784473"]]
|
14294
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14295
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14296
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.788273"], ["id", 383]]
|
14297
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14298
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14299
|
+
[1m[36mNotifiable::Notification Load (0.5ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 383], ["LIMIT", 1]]
|
14300
|
+
[1m[36mNotifiable::DeviceToken Load (0.5ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 415], ["LIMIT", 1]]
|
14301
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 383], ["device_token_id", 415], ["status", 0], ["created_at", "2018-08-24 15:47:47.786817"]]
|
14302
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14303
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14304
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14305
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14306
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14307
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14308
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14309
|
+
[1m[35m (14.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14310
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14311
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14312
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14313
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14314
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14315
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14316
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 11"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 15:47:47.823316"], ["updated_at", "2018-08-24 15:47:47.823316"]]
|
14317
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14318
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14319
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 838], ["created_at", "2018-08-24 15:47:47.826357"], ["updated_at", "2018-08-24 15:47:47.826357"]]
|
14320
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14321
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14322
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 12"], ["created_at", "2018-08-24 15:47:47.828818"], ["updated_at", "2018-08-24 15:47:47.828818"]]
|
14323
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14324
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14325
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 839 LIMIT $2[0m [["token", "ABCD6"], ["LIMIT", 1]]
|
14326
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD6"], ["provider", "mock"], ["locale", "en"], ["app_id", 839], ["created_at", "2018-08-24 15:47:47.831800"], ["updated_at", "2018-08-24 15:47:47.831800"]]
|
14327
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14328
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14329
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 15:47:47.834742"], ["id", 384]]
|
14330
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14331
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14332
|
+
[1m[36mNotifiable::Notification Load (0.7ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 384], ["LIMIT", 1]]
|
14333
|
+
[1m[36mNotifiable::DeviceToken Load (0.5ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 416], ["LIMIT", 1]]
|
14334
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 384], ["device_token_id", 416], ["status", 0], ["created_at", "2018-08-24 15:47:47.833879"]]
|
14335
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14336
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14337
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14338
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14339
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14340
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14341
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14342
|
+
[1m[35m (14.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14343
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14344
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14345
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14346
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
14347
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14348
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14349
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 13"], ["created_at", "2018-08-24 15:47:47.869709"], ["updated_at", "2018-08-24 15:47:47.869709"]]
|
14350
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14351
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14352
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 840], ["created_at", "2018-08-24 15:47:47.871795"], ["updated_at", "2018-08-24 15:47:47.871795"]]
|
14353
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14354
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14355
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14356
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
14357
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14358
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14359
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14360
|
+
[1m[35m (11.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14361
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14362
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14363
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14364
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
14365
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
14366
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14367
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 14"], ["created_at", "2018-08-24 15:47:47.899980"], ["updated_at", "2018-08-24 15:47:47.899980"]]
|
14368
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14369
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14370
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 841], ["created_at", "2018-08-24 15:47:47.903111"], ["updated_at", "2018-08-24 15:47:47.903111"]]
|
14371
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14372
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14373
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 15"], ["created_at", "2018-08-24 15:47:47.906743"], ["updated_at", "2018-08-24 15:47:47.906743"]]
|
14374
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14375
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14376
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 842 LIMIT $2[0m [["token", "ABCD7"], ["LIMIT", 1]]
|
14377
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD7"], ["provider", "mock"], ["app_id", 842], ["created_at", "2018-08-24 15:47:47.910245"], ["updated_at", "2018-08-24 15:47:47.910245"]]
|
14378
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14379
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14380
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 386], ["device_token_id", 417], ["status", 0], ["created_at", "2018-08-24 15:47:47.912273"]]
|
14381
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14382
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14383
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1[0m [["notification_id", 386]]
|
14384
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1[0m [["id", 166]]
|
14385
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1[0m [["id", 386]]
|
14386
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14387
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
14388
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14389
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14390
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14391
|
+
[1m[35m (13.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14392
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14393
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14394
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14395
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
14396
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14397
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14398
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 16"], ["created_at", "2018-08-24 15:47:47.951536"], ["updated_at", "2018-08-24 15:47:47.951536"]]
|
14399
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14400
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14401
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["app_id", 843], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-08-24 15:47:47.954193"], ["updated_at", "2018-08-24 15:47:47.954193"]]
|
14402
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14403
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14404
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14405
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14406
|
+
[1m[35m (12.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14407
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14408
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14409
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14410
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14411
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14412
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14413
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 17"], ["created_at", "2018-08-24 15:47:47.978583"], ["updated_at", "2018-08-24 15:47:47.978583"]]
|
14414
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14415
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14416
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 844], ["created_at", "2018-08-24 15:47:47.980804"], ["updated_at", "2018-08-24 15:47:47.980804"]]
|
14417
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14418
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14419
|
+
[1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-08-24 15:47:47.983213"], ["last_error_message", "SSL error occured"], ["id", 388]]
|
14420
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14421
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14422
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14423
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14424
|
+
[1m[35m (15.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14425
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14426
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14427
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14428
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
14429
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14430
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14431
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 18"], ["created_at", "2018-08-24 15:47:48.014942"], ["updated_at", "2018-08-24 15:47:48.014942"]]
|
14432
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14433
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14434
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 845], ["created_at", "2018-08-24 15:47:48.017087"], ["updated_at", "2018-08-24 15:47:48.017087"]]
|
14435
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14436
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14437
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 19"], ["created_at", "2018-08-24 15:47:48.019301"], ["updated_at", "2018-08-24 15:47:48.019301"]]
|
14438
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14439
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14440
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 846 LIMIT $2[0m [["token", "ABCD8"], ["LIMIT", 1]]
|
14441
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD8"], ["provider", "mock"], ["app_id", 846], ["created_at", "2018-08-24 15:47:48.022104"], ["updated_at", "2018-08-24 15:47:48.022104"]]
|
14442
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14443
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14444
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14445
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14446
|
+
[1m[35m (12.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14447
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14448
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14449
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14450
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
14451
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14452
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14453
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 20"], ["created_at", "2018-08-24 15:47:48.048454"], ["updated_at", "2018-08-24 15:47:48.048454"]]
|
14454
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14455
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14456
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 847], ["created_at", "2018-08-24 15:47:48.051363"], ["updated_at", "2018-08-24 15:47:48.051363"]]
|
14457
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14458
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14459
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 21"], ["created_at", "2018-08-24 15:47:48.053923"], ["updated_at", "2018-08-24 15:47:48.053923"]]
|
14460
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14461
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14462
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 848 LIMIT $2[0m [["token", "ABCD9"], ["LIMIT", 1]]
|
14463
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD9"], ["provider", "mock"], ["app_id", 848], ["created_at", "2018-08-24 15:47:48.057005"], ["updated_at", "2018-08-24 15:47:48.057005"]]
|
14464
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14465
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14466
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14467
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14468
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14469
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14470
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14471
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14472
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
14473
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14474
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14475
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 22"], ["created_at", "2018-08-24 15:47:48.079559"], ["updated_at", "2018-08-24 15:47:48.079559"]]
|
14476
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14477
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14478
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14479
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14480
|
+
[1m[35m (13.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14481
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14482
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14483
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14484
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
14485
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14486
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14487
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14488
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14489
|
+
[1m[35m (9.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14490
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14491
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14492
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14493
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
14494
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14495
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14496
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14497
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14498
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14499
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14500
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14501
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14502
|
+
[1m[35m (5.8ms)[0m [1m[31mROLLBACK[0m
|
14503
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14504
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14505
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 23"], ["created_at", "2018-08-24 15:47:48.151935"], ["updated_at", "2018-08-24 15:47:48.151935"]]
|
14506
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14507
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14508
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 850], ["created_at", "2018-08-24 15:47:48.155545"], ["updated_at", "2018-08-24 15:47:48.155545"]]
|
14509
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14510
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14511
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14512
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14513
|
+
[1m[35m (11.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14514
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14515
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14516
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14517
|
+
[1m[35m (3.1ms)[0m [1m[31mROLLBACK[0m
|
14518
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14519
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14520
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 24"], ["created_at", "2018-08-24 15:47:48.179057"], ["updated_at", "2018-08-24 15:47:48.179057"]]
|
14521
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14523
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 851], ["created_at", "2018-08-24 15:47:48.181939"], ["updated_at", "2018-08-24 15:47:48.181939"]]
|
14524
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14525
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1[0m [["app_id", 851]]
|
14526
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14527
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14528
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14529
|
+
[1m[35m (12.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14530
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14531
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14532
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14533
|
+
[1m[35m (5.7ms)[0m [1m[31mROLLBACK[0m
|
14534
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14535
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14536
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14537
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14538
|
+
[1m[35m (15.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14539
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14540
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14541
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14542
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
14543
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14544
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14545
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14546
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14547
|
+
[1m[35m (11.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14548
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14549
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14550
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14551
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
14552
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14553
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14554
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 25"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.271281"], ["updated_at", "2018-08-24 15:47:48.271281"]]
|
14555
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14556
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14557
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 852], ["created_at", "2018-08-24 15:47:48.274539"], ["updated_at", "2018-08-24 15:47:48.274539"]]
|
14558
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14559
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14560
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14561
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14562
|
+
[1m[35m (12.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14563
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14564
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14565
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14566
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
14567
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14568
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14569
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 26"], ["created_at", "2018-08-24 15:47:48.303100"], ["updated_at", "2018-08-24 15:47:48.303100"]]
|
14570
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14571
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14572
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 853 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
14573
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "abc123"], ["provider", "mock"], ["app_id", 853], ["created_at", "2018-08-24 15:47:48.308414"], ["updated_at", "2018-08-24 15:47:48.308414"]]
|
14574
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14575
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 853 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
14576
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14577
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14578
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14579
|
+
[1m[35m (9.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14580
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14581
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14582
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14583
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
14584
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14585
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14586
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 27"], ["created_at", "2018-08-24 15:47:48.333733"], ["updated_at", "2018-08-24 15:47:48.333733"]]
|
14587
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14588
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 854 LIMIT $1[0m [["LIMIT", 1]]
|
14589
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14590
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14591
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14592
|
+
[1m[35m (11.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14593
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14594
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14595
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14596
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
14597
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14598
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14599
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 28"], ["created_at", "2018-08-24 15:47:48.361063"], ["updated_at", "2018-08-24 15:47:48.361063"]]
|
14600
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14601
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 855 LIMIT $2[0m [["token", ""], ["LIMIT", 1]]
|
14602
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14603
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14604
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14605
|
+
[1m[35m (11.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14606
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14607
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14608
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14609
|
+
[1m[35m (3.7ms)[0m [1m[31mROLLBACK[0m
|
14610
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14611
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14612
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 29"], ["created_at", "2018-08-24 15:47:48.387356"], ["updated_at", "2018-08-24 15:47:48.387356"]]
|
14613
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14614
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14615
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 856 LIMIT $2[0m [["token", "ABCD10"], ["LIMIT", 1]]
|
14616
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD10"], ["provider", "mock"], ["app_id", 856], ["created_at", "2018-08-24 15:47:48.391373"], ["updated_at", "2018-08-24 15:47:48.391373"], ["name", "Matt's iPhone"]]
|
14617
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14618
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14619
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14620
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14621
|
+
[1m[35m (13.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14622
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14623
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14624
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14625
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
14626
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14627
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14628
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 30"], ["created_at", "2018-08-24 15:47:48.417890"], ["updated_at", "2018-08-24 15:47:48.417890"]]
|
14629
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14630
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14631
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 857 LIMIT $2[0m [["token", "ABCD11"], ["LIMIT", 1]]
|
14632
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD11"], ["provider", "mock"], ["app_id", 857], ["created_at", "2018-08-24 15:47:48.421656"], ["updated_at", "2018-08-24 15:47:48.421656"]]
|
14633
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14634
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14635
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14636
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14637
|
+
[1m[35m (11.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14638
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14639
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14640
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14641
|
+
[1m[35m (3.1ms)[0m [1m[31mROLLBACK[0m
|
14642
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14643
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14644
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 31"], ["created_at", "2018-08-24 15:47:48.444781"], ["updated_at", "2018-08-24 15:47:48.444781"]]
|
14645
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14646
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14647
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 858 LIMIT $2[0m [["token", "ABCD12"], ["LIMIT", 1]]
|
14648
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD12"], ["provider", "mock"], ["app_id", 858], ["created_at", "2018-08-24 15:47:48.448433"], ["updated_at", "2018-08-24 15:47:48.448433"], ["country", "gb"]]
|
14649
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14650
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14651
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14652
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14653
|
+
[1m[35m (11.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14654
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14655
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14656
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14657
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
14658
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14659
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14660
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 32"], ["created_at", "2018-08-24 15:47:48.471748"], ["updated_at", "2018-08-24 15:47:48.471748"]]
|
14661
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14662
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14663
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 859 LIMIT $2[0m [["token", "ABCD13"], ["LIMIT", 1]]
|
14664
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD13"], ["provider", "mock"], ["locale", "en"], ["app_id", 859], ["created_at", "2018-08-24 15:47:48.475901"], ["updated_at", "2018-08-24 15:47:48.475901"]]
|
14665
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14666
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14667
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14668
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14669
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14670
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14671
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14672
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14673
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14674
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14675
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14676
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 33"], ["created_at", "2018-08-24 15:47:48.499796"], ["updated_at", "2018-08-24 15:47:48.499796"]]
|
14677
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14678
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14679
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 860 LIMIT $2[0m [["token", "ABCD14"], ["LIMIT", 1]]
|
14680
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD14"], ["provider", "mock"], ["app_id", 860], ["created_at", "2018-08-24 15:47:48.503610"], ["updated_at", "2018-08-24 15:47:48.503610"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
14681
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14682
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))[0m
|
14683
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14684
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14685
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14686
|
+
[1m[35m (13.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14687
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14688
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14689
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14690
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
14691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14692
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14693
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 34"], ["created_at", "2018-08-24 15:47:48.532068"], ["updated_at", "2018-08-24 15:47:48.532068"]]
|
14694
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14696
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 861], ["created_at", "2018-08-24 15:47:48.534613"], ["updated_at", "2018-08-24 15:47:48.534613"]]
|
14697
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14698
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14699
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 35"], ["created_at", "2018-08-24 15:47:48.537647"], ["updated_at", "2018-08-24 15:47:48.537647"]]
|
14700
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14701
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14702
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 862 LIMIT $2[0m [["token", "ABCD15"], ["LIMIT", 1]]
|
14703
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD15"], ["provider", "mock"], ["app_id", 862], ["created_at", "2018-08-24 15:47:48.541003"], ["updated_at", "2018-08-24 15:47:48.541003"]]
|
14704
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14705
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14706
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 394], ["device_token_id", 426], ["status", 0], ["created_at", "2018-08-24 15:47:48.543333"]]
|
14707
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14708
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14709
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 36"], ["created_at", "2018-08-24 15:47:48.546534"], ["updated_at", "2018-08-24 15:47:48.546534"]]
|
14710
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14711
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14712
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 863], ["created_at", "2018-08-24 15:47:48.548594"], ["updated_at", "2018-08-24 15:47:48.548594"]]
|
14713
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14714
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14715
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 37"], ["created_at", "2018-08-24 15:47:48.551002"], ["updated_at", "2018-08-24 15:47:48.551002"]]
|
14716
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14717
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14718
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 864 LIMIT $2[0m [["token", "ABCD16"], ["LIMIT", 1]]
|
14719
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD16"], ["provider", "mock"], ["app_id", 864], ["created_at", "2018-08-24 15:47:48.554086"], ["updated_at", "2018-08-24 15:47:48.554086"]]
|
14720
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14721
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14722
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 395], ["device_token_id", 427], ["status", 0], ["created_at", "2018-08-24 15:47:48.556100"]]
|
14723
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14724
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14725
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 38"], ["created_at", "2018-08-24 15:47:48.558310"], ["updated_at", "2018-08-24 15:47:48.558310"]]
|
14726
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14727
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14728
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 865 LIMIT $2[0m [["token", "ABCD17"], ["LIMIT", 1]]
|
14729
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD17"], ["provider", "mock"], ["app_id", 865], ["created_at", "2018-08-24 15:47:48.562962"], ["updated_at", "2018-08-24 15:47:48.562962"]]
|
14730
|
+
[1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 428], ["id", 167]]
|
14731
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 428], ["id", 168]]
|
14732
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14733
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1[0m [["device_token_id", 428]]
|
14734
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14735
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14736
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14737
|
+
[1m[35m (12.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14738
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14739
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14740
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14741
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
14742
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14743
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14744
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 39"], ["created_at", "2018-08-24 15:47:48.591873"], ["updated_at", "2018-08-24 15:47:48.591873"]]
|
14745
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14746
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14747
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 866 LIMIT $2[0m [["token", "ABCD18"], ["LIMIT", 1]]
|
14748
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD18"], ["provider", "mock"], ["app_id", 866], ["created_at", "2018-08-24 15:47:48.596246"], ["updated_at", "2018-08-24 15:47:48.596246"]]
|
14749
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14750
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14751
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14752
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14753
|
+
[1m[35m (13.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14754
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14755
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14756
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14757
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14758
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14759
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14760
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 40"], ["created_at", "2018-08-24 15:47:48.620952"], ["updated_at", "2018-08-24 15:47:48.620952"]]
|
14761
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14762
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14763
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 867 LIMIT $2[0m [["token", "ABCD19"], ["LIMIT", 1]]
|
14764
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD19"], ["provider", "mock"], ["app_id", 867], ["created_at", "2018-08-24 15:47:48.632150"], ["updated_at", "2018-08-24 15:47:48.632150"], ["language", "ido"]]
|
14765
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14766
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14767
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14768
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14769
|
+
[1m[35m (13.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14770
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14771
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14772
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14773
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
14774
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14775
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14776
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 41"], ["created_at", "2018-08-24 15:47:48.657601"], ["updated_at", "2018-08-24 15:47:48.657601"]]
|
14777
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14778
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14779
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 868 LIMIT $2[0m [["token", "ABCD20"], ["LIMIT", 1]]
|
14780
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD20"], ["provider", "mock"], ["app_id", 868], ["created_at", "2018-08-24 15:47:48.661370"], ["updated_at", "2018-08-24 15:47:48.661370"], ["language", "en"]]
|
14781
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14782
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14783
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14784
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14785
|
+
[1m[35m (12.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14786
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14787
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14788
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14789
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
14790
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14791
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14792
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 42"], ["created_at", "2018-08-24 15:47:48.684438"], ["updated_at", "2018-08-24 15:47:48.684438"]]
|
14793
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14794
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14795
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 869 LIMIT $2[0m [["token", "ABCD21"], ["LIMIT", 1]]
|
14796
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD21"], ["provider", "mock"], ["app_id", 869], ["created_at", "2018-08-24 15:47:48.687887"], ["updated_at", "2018-08-24 15:47:48.687887"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
14797
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14798
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14799
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14800
|
+
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14801
|
+
[1m[35m (13.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14802
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14803
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14804
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14805
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
14806
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14807
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14808
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 43"], ["created_at", "2018-08-24 15:47:48.737009"], ["updated_at", "2018-08-24 15:47:48.737009"]]
|
14809
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14810
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14811
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 870 LIMIT $2[0m [["token", "ABCD22"], ["LIMIT", 1]]
|
14812
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD22"], ["provider", "mock"], ["app_id", 870], ["created_at", "2018-08-24 15:47:48.741234"], ["updated_at", "2018-08-24 15:47:48.741234"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
14813
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14814
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14815
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14816
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14817
|
+
[1m[35m (12.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14818
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14819
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14820
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14821
|
+
[1m[35m (4.0ms)[0m [1m[31mROLLBACK[0m
|
14822
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14823
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14824
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 44"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.767421"], ["updated_at", "2018-08-24 15:47:48.767421"]]
|
14825
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14826
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14827
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 871], ["created_at", "2018-08-24 15:47:48.772188"], ["updated_at", "2018-08-24 15:47:48.772188"]]
|
14828
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14829
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14830
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14831
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14832
|
+
[1m[35m (12.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14833
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14834
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14835
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14836
|
+
[1m[35m (16.9ms)[0m [1m[31mROLLBACK[0m
|
14837
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14838
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14839
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14840
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14841
|
+
[1m[35m (11.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14842
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14843
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14844
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14845
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
14846
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14847
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14848
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 45"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.832035"], ["updated_at", "2018-08-24 15:47:48.832035"]]
|
14849
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14850
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14851
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 872], ["created_at", "2018-08-24 15:47:48.835375"], ["updated_at", "2018-08-24 15:47:48.835375"]]
|
14852
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14853
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14854
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 872 LIMIT $2[0m [["token", "ABCD23"], ["LIMIT", 1]]
|
14855
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD23"], ["provider", "mock"], ["locale", "en"], ["app_id", 872], ["created_at", "2018-08-24 15:47:48.839367"], ["updated_at", "2018-08-24 15:47:48.839367"]]
|
14856
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14857
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14858
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 872 LIMIT $2[0m [["token", "ABCD24"], ["LIMIT", 1]]
|
14859
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD24"], ["provider", "mock"], ["locale", "en"], ["app_id", 872], ["created_at", "2018-08-24 15:47:48.842764"], ["updated_at", "2018-08-24 15:47:48.842764"]]
|
14860
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14861
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14862
|
+
[1m[36mNotifiable::Notification Load (0.5ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 397], ["LIMIT", 1]]
|
14863
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 434], ["LIMIT", 1]]
|
14864
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 397], ["device_token_id", 434], ["status", 0], ["created_at", "2018-08-24 15:47:48.840882"]]
|
14865
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 397], ["LIMIT", 1]]
|
14866
|
+
[1m[36mNotifiable::DeviceToken Load (0.2ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 435], ["LIMIT", 1]]
|
14867
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 397], ["device_token_id", 435], ["status", 0], ["created_at", "2018-08-24 15:47:48.844247"]]
|
14868
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14869
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14870
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-08-24 15:47:48.852386"], ["id", 397]]
|
14871
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14872
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
14873
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14874
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14875
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14876
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14877
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14878
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14879
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14880
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
14881
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14882
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14883
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 46"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.875524"], ["updated_at", "2018-08-24 15:47:48.875524"]]
|
14884
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14885
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14886
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 873], ["created_at", "2018-08-24 15:47:48.878748"], ["updated_at", "2018-08-24 15:47:48.878748"]]
|
14887
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14888
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14889
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 873 LIMIT $2[0m [["token", "ABCD25"], ["LIMIT", 1]]
|
14890
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD25"], ["provider", "mock"], ["locale", "en"], ["app_id", 873], ["created_at", "2018-08-24 15:47:48.882475"], ["updated_at", "2018-08-24 15:47:48.882475"]]
|
14891
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14892
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14893
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 873 LIMIT $2[0m [["token", "ABCD26"], ["LIMIT", 1]]
|
14894
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD26"], ["provider", "mock"], ["locale", "en"], ["app_id", 873], ["created_at", "2018-08-24 15:47:48.885543"], ["updated_at", "2018-08-24 15:47:48.885543"]]
|
14895
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14896
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14897
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 398], ["LIMIT", 1]]
|
14898
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 436], ["LIMIT", 1]]
|
14899
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 398], ["device_token_id", 436], ["status", 0], ["created_at", "2018-08-24 15:47:48.883914"]]
|
14900
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 398], ["LIMIT", 1]]
|
14901
|
+
[1m[36mNotifiable::DeviceToken Load (0.2ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 437], ["LIMIT", 1]]
|
14902
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 398], ["device_token_id", 437], ["status", 0], ["created_at", "2018-08-24 15:47:48.886797"]]
|
14903
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14904
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14905
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-08-24 15:47:48.893836"], ["id", 398]]
|
14906
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14907
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14908
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14909
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14910
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14911
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14912
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14913
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14914
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14915
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14916
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14917
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14918
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 47"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.917303"], ["updated_at", "2018-08-24 15:47:48.917303"]]
|
14919
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14920
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14921
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 874], ["created_at", "2018-08-24 15:47:48.920365"], ["updated_at", "2018-08-24 15:47:48.920365"]]
|
14922
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14923
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14924
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 874 LIMIT $2[0m [["token", "ABCD27"], ["LIMIT", 1]]
|
14925
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD27"], ["provider", "mock"], ["locale", "en"], ["app_id", 874], ["created_at", "2018-08-24 15:47:48.923850"], ["updated_at", "2018-08-24 15:47:48.923850"]]
|
14926
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14927
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14928
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 874 LIMIT $2[0m [["token", "ABCD28"], ["LIMIT", 1]]
|
14929
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD28"], ["provider", "mock"], ["locale", "en"], ["app_id", 874], ["created_at", "2018-08-24 15:47:48.927248"], ["updated_at", "2018-08-24 15:47:48.927248"]]
|
14930
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14931
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14932
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-08-24 15:47:48.929366"], ["id", 399]]
|
14933
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14934
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
14935
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14936
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14937
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14938
|
+
[1m[35m (13.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14939
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14940
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14941
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14942
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
14943
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
14944
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14945
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 48"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.953643"], ["updated_at", "2018-08-24 15:47:48.953643"]]
|
14946
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14947
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14948
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 875], ["created_at", "2018-08-24 15:47:48.956961"], ["updated_at", "2018-08-24 15:47:48.956961"]]
|
14949
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14950
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14951
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 875 LIMIT $2[0m [["token", "ABCD29"], ["LIMIT", 1]]
|
14952
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD29"], ["provider", "mock"], ["locale", "en"], ["app_id", 875], ["created_at", "2018-08-24 15:47:48.960588"], ["updated_at", "2018-08-24 15:47:48.960588"]]
|
14953
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14954
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14955
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 875 LIMIT $2[0m [["token", "ABCD30"], ["LIMIT", 1]]
|
14956
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD30"], ["provider", "mock"], ["locale", "en"], ["app_id", 875], ["created_at", "2018-08-24 15:47:48.964260"], ["updated_at", "2018-08-24 15:47:48.964260"]]
|
14957
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14958
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14959
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-08-24 15:47:48.966091"], ["id", 400]]
|
14960
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14961
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
14962
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14963
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14964
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14965
|
+
[1m[35m (13.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14966
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14967
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14968
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14969
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
14970
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
14971
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14972
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 49"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 15:47:48.991301"], ["updated_at", "2018-08-24 15:47:48.991301"]]
|
14973
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14974
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14975
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 876], ["created_at", "2018-08-24 15:47:48.994646"], ["updated_at", "2018-08-24 15:47:48.994646"]]
|
14976
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14977
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14978
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL[0m
|
14979
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14980
|
+
[1m[35m (10.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;[0m
|
14981
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
14982
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL[0m
|
14983
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
14984
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|