notifiable-rails 0.30.0 → 0.30.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable.rb +3 -3
- 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: c76ea0f0012104d6ed87d68c40f18b24d10194a0
|
4
|
+
data.tar.gz: e91903b21118fa27bfb2532a56be94f61b46e9f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 895cc6172194e39a9fa3e371a3c9ce169dd23ab0fad007f00d30d6a1a3998bc1e285bc3ecbea7e631b1fbe5dbb67a83a55e1f7cd1341faa7d8029004339e0156
|
7
|
+
data.tar.gz: 6c900119b92b5f7a004a4c27444672c79e862bc172199b18c1e6c67739c71c27277a3b1e65f9e8409231d067363b548ee9825314ad6f0e190a515e3c079c3790
|
data/lib/notifiable.rb
CHANGED
@@ -21,14 +21,14 @@ module Notifiable
|
|
21
21
|
mattr_accessor :notifier_classes
|
22
22
|
@@notifier_classes = {}
|
23
23
|
|
24
|
-
mattr_accessor :
|
25
|
-
@@
|
24
|
+
mattr_accessor :find_notifier_class_proc
|
25
|
+
@@find_notifier_class_proc = nil
|
26
26
|
|
27
27
|
def self.configure
|
28
28
|
yield self
|
29
29
|
end
|
30
30
|
|
31
31
|
def self.notifier_class(notification, device)
|
32
|
-
Notifiable.
|
32
|
+
Notifiable.find_notifier_class_proc ? Notifiable.find_notifier_class_proc.call(notification, device) : Notifiable.notifier_classes[device.provider.to_sym]
|
33
33
|
end
|
34
34
|
end
|
data/lib/notifiable/version.rb
CHANGED
data/spec/test_app/log/test.log
CHANGED
@@ -8316,3 +8316,853 @@ Migrating to AddThreadIdToNotifications (201806182135000)
|
|
8316
8316
|
[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
|
8317
8317
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8318
8318
|
[1m[35m (4.2ms)[0m [1m[31mROLLBACK[0m
|
8319
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5131134053504291175)[0m
|
8320
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
8321
|
+
[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]]
|
8322
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
8323
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
8324
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5131134053504291175)[0m
|
8325
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8326
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8327
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 1"], ["created_at", "2018-08-24 12:41:30.153399"], ["updated_at", "2018-08-24 12:41:30.153399"]]
|
8328
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8329
|
+
[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" = 491 LIMIT $2[0m [["token", ""], ["LIMIT", 1]]
|
8330
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8331
|
+
[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
|
8332
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8333
|
+
[1m[35m (2.4ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
8334
|
+
FROM pg_tables
|
8335
|
+
WHERE
|
8336
|
+
tablename !~ '_prt_' AND
|
8337
|
+
tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
|
8338
|
+
schemaname = ANY (current_schemas(false))
|
8339
|
+
[0m
|
8340
|
+
[1m[35m (1.4ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'notifiable-rails-test'[0m
|
8341
|
+
[1m[35m (16.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
|
8342
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8343
|
+
[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
|
8344
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8345
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
8346
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8347
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8348
|
+
[1m[35mSQL (0.5ms)[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 12:41:30.204140"], ["updated_at", "2018-08-24 12:41:30.204140"]]
|
8349
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8350
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 492 LIMIT $1[0m [["LIMIT", 1]]
|
8351
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8352
|
+
[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
|
8353
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8354
|
+
[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
|
8355
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8356
|
+
[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
|
8357
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8358
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
8359
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8361
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 3"], ["created_at", "2018-08-24 12:41:30.228914"], ["updated_at", "2018-08-24 12:41:30.228914"]]
|
8362
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8363
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8364
|
+
[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" = 493 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
8365
|
+
[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", "abc123"], ["provider", "mock"], ["app_id", 493], ["created_at", "2018-08-24 12:41:30.232232"], ["updated_at", "2018-08-24 12:41:30.232232"]]
|
8366
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8367
|
+
[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" = 493 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
8368
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8369
|
+
[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
|
8370
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8371
|
+
[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
|
8372
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8373
|
+
[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
|
8374
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8375
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
8376
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8377
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8378
|
+
[1m[35mSQL (0.7ms)[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 12:41:30.260940"], ["updated_at", "2018-08-24 12:41:30.260940"]]
|
8379
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8380
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8381
|
+
[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" = 494 LIMIT $2[0m [["token", "ABCD1"], ["LIMIT", 1]]
|
8382
|
+
[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", "ABCD1"], ["provider", "mock"], ["app_id", 494], ["created_at", "2018-08-24 12:41:30.265614"], ["updated_at", "2018-08-24 12:41:30.265614"], ["name", "Matt's iPhone"]]
|
8383
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8384
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8385
|
+
[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
|
8386
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8387
|
+
[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
|
8388
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8389
|
+
[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
|
8390
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8391
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
8392
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8393
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8394
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 5"], ["created_at", "2018-08-24 12:41:30.293984"], ["updated_at", "2018-08-24 12:41:30.293984"]]
|
8395
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8396
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8397
|
+
[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" = 495 LIMIT $2[0m [["token", "ABCD2"], ["LIMIT", 1]]
|
8398
|
+
[1m[35mSQL (4.9ms)[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", "ABCD2"], ["provider", "mock"], ["app_id", 495], ["created_at", "2018-08-24 12:41:30.298108"], ["updated_at", "2018-08-24 12:41:30.298108"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
8399
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8400
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8401
|
+
[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
|
8402
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8403
|
+
[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
|
8404
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8405
|
+
[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
|
8406
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8407
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
8408
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8409
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8410
|
+
[1m[35mSQL (0.7ms)[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 12:41:30.328073"], ["updated_at", "2018-08-24 12:41:30.328073"]]
|
8411
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8412
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8413
|
+
[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" = 496 LIMIT $2[0m [["token", "ABCD3"], ["LIMIT", 1]]
|
8414
|
+
[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", "ABCD3"], ["provider", "mock"], ["app_id", 496], ["created_at", "2018-08-24 12:41:30.332467"], ["updated_at", "2018-08-24 12:41:30.332467"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
8415
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8416
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8417
|
+
[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
|
8418
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8419
|
+
[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
|
8420
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8421
|
+
[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
|
8422
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8423
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
8424
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
8425
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8426
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 7"], ["created_at", "2018-08-24 12:41:30.357696"], ["updated_at", "2018-08-24 12:41:30.357696"]]
|
8427
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8428
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8429
|
+
[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" = 497 LIMIT $2[0m [["token", "ABCD4"], ["LIMIT", 1]]
|
8430
|
+
[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", "ABCD4"], ["provider", "mock"], ["app_id", 497], ["created_at", "2018-08-24 12:41:30.362325"], ["updated_at", "2018-08-24 12:41:30.362325"]]
|
8431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8432
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8433
|
+
[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
|
8434
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8435
|
+
[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
|
8436
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8437
|
+
[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
|
8438
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8439
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
8440
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8441
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8442
|
+
[1m[35mSQL (0.5ms)[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 12:41:30.386409"], ["updated_at", "2018-08-24 12:41:30.386409"]]
|
8443
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8444
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8445
|
+
[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" = 498 LIMIT $2[0m [["token", "ABCD5"], ["LIMIT", 1]]
|
8446
|
+
[1m[35mSQL (1.1ms)[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", "ABCD5"], ["provider", "mock"], ["app_id", 498], ["created_at", "2018-08-24 12:41:30.390253"], ["updated_at", "2018-08-24 12:41:30.390253"], ["country", "gb"]]
|
8447
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8448
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8449
|
+
[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
|
8450
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8451
|
+
[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
|
8452
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8453
|
+
[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
|
8454
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8455
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
8456
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8457
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8458
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 9"], ["created_at", "2018-08-24 12:41:30.414855"], ["updated_at", "2018-08-24 12:41:30.414855"]]
|
8459
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8460
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8461
|
+
[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" = 499 LIMIT $2[0m [["token", "ABCD6"], ["LIMIT", 1]]
|
8462
|
+
[1m[35mSQL (0.6ms)[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", "ABCD6"], ["provider", "mock"], ["app_id", 499], ["created_at", "2018-08-24 12:41:30.419226"], ["updated_at", "2018-08-24 12:41:30.419226"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
8463
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8464
|
+
[1m[35m (18.8ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))[0m
|
8465
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8466
|
+
[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
|
8467
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8468
|
+
[1m[35m (18.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
|
8469
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8470
|
+
[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
|
8471
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8472
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
8473
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8474
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8475
|
+
[1m[35mSQL (0.5ms)[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 12:41:30.468727"], ["updated_at", "2018-08-24 12:41:30.468727"]]
|
8476
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8477
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8478
|
+
[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" = 500 LIMIT $2[0m [["token", "ABCD7"], ["LIMIT", 1]]
|
8479
|
+
[1m[35mSQL (0.3ms)[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", "ABCD7"], ["provider", "mock"], ["app_id", 500], ["created_at", "2018-08-24 12:41:30.471822"], ["updated_at", "2018-08-24 12:41:30.471822"], ["language", "ido"]]
|
8480
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8481
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8482
|
+
[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
|
8483
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8484
|
+
[1m[35m (9.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
|
8485
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8486
|
+
[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
|
8487
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8488
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
8489
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8490
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8491
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 11"], ["created_at", "2018-08-24 12:41:30.492180"], ["updated_at", "2018-08-24 12:41:30.492180"]]
|
8492
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8493
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8494
|
+
[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" = 501 LIMIT $2[0m [["token", "ABCD8"], ["LIMIT", 1]]
|
8495
|
+
[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", "ABCD8"], ["provider", "mock"], ["app_id", 501], ["created_at", "2018-08-24 12:41:30.495413"], ["updated_at", "2018-08-24 12:41:30.495413"], ["language", "en"]]
|
8496
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8497
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8498
|
+
[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
|
8499
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8500
|
+
[1m[35m (10.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
|
8501
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8502
|
+
[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
|
8503
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8504
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
8505
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8506
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8507
|
+
[1m[35mSQL (0.6ms)[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 12:41:30.516853"], ["updated_at", "2018-08-24 12:41:30.516853"]]
|
8508
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8509
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8510
|
+
[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" = 502 LIMIT $2[0m [["token", "ABCD9"], ["LIMIT", 1]]
|
8511
|
+
[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", 502], ["created_at", "2018-08-24 12:41:30.520630"], ["updated_at", "2018-08-24 12:41:30.520630"]]
|
8512
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8513
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8514
|
+
[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
|
8515
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8516
|
+
[1m[35m (9.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
|
8517
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8518
|
+
[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
|
8519
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8520
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
8521
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8523
|
+
[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 12:41:30.540445"], ["updated_at", "2018-08-24 12:41:30.540445"]]
|
8524
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8525
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8526
|
+
[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" = 503 LIMIT $2[0m [["token", "ABCD10"], ["LIMIT", 1]]
|
8527
|
+
[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", "ABCD10"], ["provider", "mock"], ["locale", "en"], ["app_id", 503], ["created_at", "2018-08-24 12:41:30.543652"], ["updated_at", "2018-08-24 12:41:30.543652"]]
|
8528
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8529
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8530
|
+
[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
|
8531
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8532
|
+
[1m[35m (9.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
|
8533
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8534
|
+
[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
|
8535
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8536
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
8537
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8538
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8539
|
+
[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 12:41:30.598578"], ["updated_at", "2018-08-24 12:41:30.598578"]]
|
8540
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8541
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8542
|
+
[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", 504], ["created_at", "2018-08-24 12:41:30.602215"], ["updated_at", "2018-08-24 12:41:30.602215"]]
|
8543
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8544
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8545
|
+
[1m[35mSQL (0.3ms)[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 12:41:30.605596"], ["updated_at", "2018-08-24 12:41:30.605596"]]
|
8546
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8547
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8548
|
+
[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" = 505 LIMIT $2[0m [["token", "ABCD11"], ["LIMIT", 1]]
|
8549
|
+
[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", 505], ["created_at", "2018-08-24 12:41:30.608857"], ["updated_at", "2018-08-24 12:41:30.608857"]]
|
8550
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8551
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8552
|
+
[1m[35mSQL (1.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", 221], ["device_token_id", 208], ["status", 0], ["created_at", "2018-08-24 12:41:30.611766"]]
|
8553
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8554
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8555
|
+
[1m[35mSQL (0.3ms)[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 12:41:30.615459"], ["updated_at", "2018-08-24 12:41:30.615459"]]
|
8556
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8557
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8558
|
+
[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", 506], ["created_at", "2018-08-24 12:41:30.617179"], ["updated_at", "2018-08-24 12:41:30.617179"]]
|
8559
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8560
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8561
|
+
[1m[35mSQL (0.3ms)[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 12:41:30.619253"], ["updated_at", "2018-08-24 12:41:30.619253"]]
|
8562
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8563
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8564
|
+
[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" = 507 LIMIT $2[0m [["token", "ABCD12"], ["LIMIT", 1]]
|
8565
|
+
[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", "ABCD12"], ["provider", "mock"], ["app_id", 507], ["created_at", "2018-08-24 12:41:30.621790"], ["updated_at", "2018-08-24 12:41:30.621790"]]
|
8566
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8568
|
+
[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", 222], ["device_token_id", 209], ["status", 0], ["created_at", "2018-08-24 12:41:30.623586"]]
|
8569
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8570
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8571
|
+
[1m[35mSQL (0.3ms)[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 12:41:30.625488"], ["updated_at", "2018-08-24 12:41:30.625488"]]
|
8572
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8573
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8574
|
+
[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" = 508 LIMIT $2[0m [["token", "ABCD13"], ["LIMIT", 1]]
|
8575
|
+
[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", "ABCD13"], ["provider", "mock"], ["app_id", 508], ["created_at", "2018-08-24 12:41:30.639311"], ["updated_at", "2018-08-24 12:41:30.639311"]]
|
8576
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 210], ["id", 89]]
|
8577
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 210], ["id", 90]]
|
8578
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8579
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1[0m [["device_token_id", 210]]
|
8580
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8581
|
+
[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
|
8582
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8583
|
+
[1m[35m (13.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
|
8584
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8585
|
+
[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
|
8586
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8587
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
8588
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8589
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8590
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.668382"], ["updated_at", "2018-08-24 12:41:30.668382"]]
|
8591
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8592
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8593
|
+
[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", 509], ["created_at", "2018-08-24 12:41:30.672047"], ["updated_at", "2018-08-24 12:41:30.672047"]]
|
8594
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8595
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8596
|
+
[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" = 509 LIMIT $2[0m [["token", "ABCD14"], ["LIMIT", 1]]
|
8597
|
+
[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", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 509], ["created_at", "2018-08-24 12:41:30.675299"], ["updated_at", "2018-08-24 12:41:30.675299"]]
|
8598
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8599
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8600
|
+
[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" = 509 LIMIT $2[0m [["token", "ABCD15"], ["LIMIT", 1]]
|
8601
|
+
[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", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 509], ["created_at", "2018-08-24 12:41:30.678039"], ["updated_at", "2018-08-24 12:41:30.678039"]]
|
8602
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8603
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8604
|
+
[1m[36mNotifiable::Notification Load (0.5ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 223], ["LIMIT", 1]]
|
8605
|
+
[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", 211], ["LIMIT", 1]]
|
8606
|
+
[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", 223], ["device_token_id", 211], ["status", 0], ["created_at", "2018-08-24 12:41:30.676542"]]
|
8607
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 223], ["LIMIT", 1]]
|
8608
|
+
[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", 212], ["LIMIT", 1]]
|
8609
|
+
[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", 223], ["device_token_id", 212], ["status", 0], ["created_at", "2018-08-24 12:41:30.679191"]]
|
8610
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8611
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8612
|
+
[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 12:41:30.694474"], ["id", 223]]
|
8613
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8614
|
+
[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]]
|
8615
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8616
|
+
[1m[35m (0.3ms)[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
|
8617
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8618
|
+
[1m[35m (10.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
|
8619
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8620
|
+
[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
|
8621
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8622
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
8623
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8624
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8625
|
+
[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 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.716357"], ["updated_at", "2018-08-24 12:41:30.716357"]]
|
8626
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8627
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8628
|
+
[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", 510], ["created_at", "2018-08-24 12:41:30.719626"], ["updated_at", "2018-08-24 12:41:30.719626"]]
|
8629
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8630
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8631
|
+
[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" = 510 LIMIT $2[0m [["token", "ABCD16"], ["LIMIT", 1]]
|
8632
|
+
[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", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 510], ["created_at", "2018-08-24 12:41:30.723359"], ["updated_at", "2018-08-24 12:41:30.723359"]]
|
8633
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8634
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8635
|
+
[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" = 510 LIMIT $2[0m [["token", "ABCD17"], ["LIMIT", 1]]
|
8636
|
+
[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", "ABCD17"], ["provider", "mock"], ["locale", "en"], ["app_id", 510], ["created_at", "2018-08-24 12:41:30.726616"], ["updated_at", "2018-08-24 12:41:30.726616"]]
|
8637
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8638
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8639
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 224], ["LIMIT", 1]]
|
8640
|
+
[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", 213], ["LIMIT", 1]]
|
8641
|
+
[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", 224], ["device_token_id", 213], ["status", 0], ["created_at", "2018-08-24 12:41:30.724851"]]
|
8642
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 224], ["LIMIT", 1]]
|
8643
|
+
[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", 214], ["LIMIT", 1]]
|
8644
|
+
[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", 224], ["device_token_id", 214], ["status", 0], ["created_at", "2018-08-24 12:41:30.727937"]]
|
8645
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8646
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8647
|
+
[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 12:41:30.735285"], ["id", 224]]
|
8648
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8649
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
8650
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8651
|
+
[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
|
8652
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8653
|
+
[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
|
8654
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8655
|
+
[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
|
8656
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8657
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
8658
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8659
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8660
|
+
[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 21"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.757554"], ["updated_at", "2018-08-24 12:41:30.757554"]]
|
8661
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8662
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8663
|
+
[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", 511], ["created_at", "2018-08-24 12:41:30.760609"], ["updated_at", "2018-08-24 12:41:30.760609"]]
|
8664
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8665
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8666
|
+
[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" = 511 LIMIT $2[0m [["token", "ABCD18"], ["LIMIT", 1]]
|
8667
|
+
[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", "ABCD18"], ["provider", "mock"], ["locale", "en"], ["app_id", 511], ["created_at", "2018-08-24 12:41:30.763999"], ["updated_at", "2018-08-24 12:41:30.763999"]]
|
8668
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8669
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8670
|
+
[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" = 511 LIMIT $2[0m [["token", "ABCD19"], ["LIMIT", 1]]
|
8671
|
+
[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", "ABCD19"], ["provider", "mock"], ["locale", "en"], ["app_id", 511], ["created_at", "2018-08-24 12:41:30.767694"], ["updated_at", "2018-08-24 12:41:30.767694"]]
|
8672
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8673
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8674
|
+
[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 12:41:30.769619"], ["id", 225]]
|
8675
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8676
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
8677
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8678
|
+
[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
|
8679
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8680
|
+
[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
|
8681
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8682
|
+
[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
|
8683
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8684
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
8685
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8686
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8687
|
+
[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 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.791237"], ["updated_at", "2018-08-24 12:41:30.791237"]]
|
8688
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8689
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8690
|
+
[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", 512], ["created_at", "2018-08-24 12:41:30.794609"], ["updated_at", "2018-08-24 12:41:30.794609"]]
|
8691
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8692
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8693
|
+
[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" = 512 LIMIT $2[0m [["token", "ABCD20"], ["LIMIT", 1]]
|
8694
|
+
[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", "ABCD20"], ["provider", "mock"], ["locale", "en"], ["app_id", 512], ["created_at", "2018-08-24 12:41:30.798967"], ["updated_at", "2018-08-24 12:41:30.798967"]]
|
8695
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8696
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8697
|
+
[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" = 512 LIMIT $2[0m [["token", "ABCD21"], ["LIMIT", 1]]
|
8698
|
+
[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", "ABCD21"], ["provider", "mock"], ["locale", "en"], ["app_id", 512], ["created_at", "2018-08-24 12:41:30.802699"], ["updated_at", "2018-08-24 12:41:30.802699"]]
|
8699
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8700
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8701
|
+
[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 12:41:30.804475"], ["id", 226]]
|
8702
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8703
|
+
[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]]
|
8704
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8705
|
+
[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
|
8706
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8707
|
+
[1m[35m (9.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
|
8708
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8709
|
+
[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
|
8710
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8711
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
8712
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8713
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8714
|
+
[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 23"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.826905"], ["updated_at", "2018-08-24 12:41:30.826905"]]
|
8715
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8716
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8717
|
+
[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", 513], ["created_at", "2018-08-24 12:41:30.830715"], ["updated_at", "2018-08-24 12:41:30.830715"]]
|
8718
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8719
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8720
|
+
[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
|
8721
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8722
|
+
[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
|
8723
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8724
|
+
[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
|
8725
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8726
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
8727
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8728
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8729
|
+
[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 24"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:30.856396"], ["updated_at", "2018-08-24 12:41:30.856396"]]
|
8730
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8731
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8732
|
+
[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", 514], ["created_at", "2018-08-24 12:41:30.859587"], ["updated_at", "2018-08-24 12:41:30.859587"]]
|
8733
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8734
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8735
|
+
[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
|
8736
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8737
|
+
[1m[35m (13.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
|
8738
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8739
|
+
[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
|
8740
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8741
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
8742
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8743
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8744
|
+
[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
|
8745
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8746
|
+
[1m[35m (13.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
|
8747
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8748
|
+
[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
|
8749
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8750
|
+
[1m[35m (4.0ms)[0m [1m[31mROLLBACK[0m
|
8751
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8752
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8753
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 25"], ["created_at", "2018-08-24 12:41:30.910206"], ["updated_at", "2018-08-24 12:41:30.910206"]]
|
8754
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8755
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8756
|
+
[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", 515], ["created_at", "2018-08-24 12:41:30.912116"], ["updated_at", "2018-08-24 12:41:30.912116"]]
|
8757
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8758
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8759
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-08-24 12:41:30.913888"], ["last_error_message", "SSL error occured"], ["id", 229]]
|
8760
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8761
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8762
|
+
[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
|
8763
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8764
|
+
[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
|
8765
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8766
|
+
[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
|
8767
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8768
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
8769
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8770
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8771
|
+
[1m[35mSQL (0.5ms)[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 12:41:30.936711"], ["updated_at", "2018-08-24 12:41:30.936711"]]
|
8772
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8773
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8774
|
+
[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", 516], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-08-24 12:41:30.938789"], ["updated_at", "2018-08-24 12:41:30.938789"]]
|
8775
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8776
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8777
|
+
[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
|
8778
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8779
|
+
[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
|
8780
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8781
|
+
[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
|
8782
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8783
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
8784
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8785
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8786
|
+
[1m[35mSQL (0.4ms)[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 12:41:30.960032"], ["updated_at", "2018-08-24 12:41:30.960032"]]
|
8787
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8788
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8789
|
+
[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", 517], ["created_at", "2018-08-24 12:41:30.961897"], ["updated_at", "2018-08-24 12:41:30.961897"]]
|
8790
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8791
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8792
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8793
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
8794
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8795
|
+
[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
|
8796
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8797
|
+
[1m[35m (9.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
|
8798
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8799
|
+
[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
|
8800
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8801
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
8802
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
8803
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8804
|
+
[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 28"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:30.984319"], ["updated_at", "2018-08-24 12:41:30.984319"]]
|
8805
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8806
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8807
|
+
[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", 518], ["created_at", "2018-08-24 12:41:30.986808"], ["updated_at", "2018-08-24 12:41:30.986808"]]
|
8808
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8809
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8810
|
+
[1m[35mSQL (0.3ms)[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 12:41:30.989174"], ["updated_at", "2018-08-24 12:41:30.989174"]]
|
8811
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8812
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8813
|
+
[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" = 519 LIMIT $2[0m [["token", "ABCD22"], ["LIMIT", 1]]
|
8814
|
+
[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", "ABCD22"], ["provider", "mock"], ["locale", "en"], ["app_id", 519], ["created_at", "2018-08-24 12:41:30.992032"], ["updated_at", "2018-08-24 12:41:30.992032"]]
|
8815
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8816
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8817
|
+
[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", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 12:41:30.994025"], ["id", 232]]
|
8818
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8819
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8820
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 232], ["LIMIT", 1]]
|
8821
|
+
[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", 219], ["LIMIT", 1]]
|
8822
|
+
[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", 232], ["device_token_id", 219], ["status", 0], ["created_at", "2018-08-24 12:41:30.993500"]]
|
8823
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8824
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8825
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8826
|
+
[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]]
|
8827
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8828
|
+
[1m[35m (0.3ms)[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
|
8829
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8830
|
+
[1m[35m (10.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
|
8831
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8832
|
+
[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
|
8833
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8834
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|
8835
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8836
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8837
|
+
[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 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:31.020982"], ["updated_at", "2018-08-24 12:41:31.020982"]]
|
8838
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8839
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8840
|
+
[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", 520], ["created_at", "2018-08-24 12:41:31.023817"], ["updated_at", "2018-08-24 12:41:31.023817"]]
|
8841
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8842
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8843
|
+
[1m[35mSQL (0.3ms)[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 12:41:31.026189"], ["updated_at", "2018-08-24 12:41:31.026189"]]
|
8844
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8845
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8846
|
+
[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" = 521 LIMIT $2[0m [["token", "ABCD23"], ["LIMIT", 1]]
|
8847
|
+
[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", 521], ["created_at", "2018-08-24 12:41:31.029130"], ["updated_at", "2018-08-24 12:41:31.029130"]]
|
8848
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8849
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8850
|
+
[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 12:41:31.031369"], ["id", 233]]
|
8851
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8852
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8853
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 233], ["LIMIT", 1]]
|
8854
|
+
[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", 220], ["LIMIT", 1]]
|
8855
|
+
[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", 233], ["device_token_id", 220], ["status", 0], ["created_at", "2018-08-24 12:41:31.030807"]]
|
8856
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8857
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8858
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8859
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
8860
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8861
|
+
[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
|
8862
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8863
|
+
[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
|
8864
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8865
|
+
[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
|
8866
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8867
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
8868
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8869
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8870
|
+
[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 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:31.061452"], ["updated_at", "2018-08-24 12:41:31.061452"]]
|
8871
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8872
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8873
|
+
[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", 522], ["created_at", "2018-08-24 12:41:31.064208"], ["updated_at", "2018-08-24 12:41:31.064208"]]
|
8874
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8876
|
+
[1m[35mSQL (0.3ms)[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 12:41:31.067110"], ["updated_at", "2018-08-24 12:41:31.067110"]]
|
8877
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8878
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8879
|
+
[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" = 523 LIMIT $2[0m [["token", "ABCD24"], ["LIMIT", 1]]
|
8880
|
+
[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", 523], ["created_at", "2018-08-24 12:41:31.070026"], ["updated_at", "2018-08-24 12:41:31.070026"]]
|
8881
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8882
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8883
|
+
[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", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 12:41:31.072201"], ["id", 234]]
|
8884
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8885
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8886
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 234], ["LIMIT", 1]]
|
8887
|
+
[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", 221], ["LIMIT", 1]]
|
8888
|
+
[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", 234], ["device_token_id", 221], ["status", 0], ["created_at", "2018-08-24 12:41:31.071656"]]
|
8889
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8890
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8891
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8892
|
+
[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]]
|
8893
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8894
|
+
[1m[35m (0.3ms)[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
|
8895
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8896
|
+
[1m[35m (12.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
|
8897
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8898
|
+
[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
|
8899
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8900
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
8901
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
8902
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8903
|
+
[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 34"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:31.101018"], ["updated_at", "2018-08-24 12:41:31.101018"]]
|
8904
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8905
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8906
|
+
[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", 524], ["created_at", "2018-08-24 12:41:31.103524"], ["updated_at", "2018-08-24 12:41:31.103524"]]
|
8907
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8908
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8909
|
+
[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 12:41:31.106015"], ["updated_at", "2018-08-24 12:41:31.106015"]]
|
8910
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8911
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8912
|
+
[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" = 525 LIMIT $2[0m [["token", "ABCD25"], ["LIMIT", 1]]
|
8913
|
+
[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", 525], ["created_at", "2018-08-24 12:41:31.109141"], ["updated_at", "2018-08-24 12:41:31.109141"]]
|
8914
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8915
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8916
|
+
[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", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-08-24 12:41:31.111463"], ["id", 235]]
|
8917
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8918
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8919
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 235], ["LIMIT", 1]]
|
8920
|
+
[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", 222], ["LIMIT", 1]]
|
8921
|
+
[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", 235], ["device_token_id", 222], ["status", 0], ["created_at", "2018-08-24 12:41:31.110906"]]
|
8922
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8923
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8924
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8925
|
+
[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]]
|
8926
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8927
|
+
[1m[35m (0.3ms)[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
|
8928
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8929
|
+
[1m[35m (9.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
|
8930
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8931
|
+
[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
|
8932
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8933
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
8934
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
8935
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8936
|
+
[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 36"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:31.136835"], ["updated_at", "2018-08-24 12:41:31.136835"]]
|
8937
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8938
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8939
|
+
[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", 526], ["created_at", "2018-08-24 12:41:31.139293"], ["updated_at", "2018-08-24 12:41:31.139293"]]
|
8940
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8941
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8942
|
+
[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 12:41:31.145334"], ["updated_at", "2018-08-24 12:41:31.145334"]]
|
8943
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8944
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8945
|
+
[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" = 527 LIMIT $2[0m [["token", "ABCD26"], ["LIMIT", 1]]
|
8946
|
+
[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", "ABCD26"], ["provider", "mock"], ["locale", "en"], ["app_id", 527], ["created_at", "2018-08-24 12:41:31.148038"], ["updated_at", "2018-08-24 12:41:31.148038"]]
|
8947
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8948
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8949
|
+
[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 12:41:31.150263"], ["id", 236]]
|
8950
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8951
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8952
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 236], ["LIMIT", 1]]
|
8953
|
+
[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", 223], ["LIMIT", 1]]
|
8954
|
+
[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", 236], ["device_token_id", 223], ["status", 0], ["created_at", "2018-08-24 12:41:31.149610"]]
|
8955
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8956
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8957
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8958
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
8959
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8960
|
+
[1m[35m (0.3ms)[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
|
8961
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8962
|
+
[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
|
8963
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8964
|
+
[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
|
8965
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8966
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
8967
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
8968
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8969
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 38"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-08-24 12:41:31.181551"], ["updated_at", "2018-08-24 12:41:31.181551"]]
|
8970
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8971
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8972
|
+
[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", 528], ["created_at", "2018-08-24 12:41:31.185612"], ["updated_at", "2018-08-24 12:41:31.185612"]]
|
8973
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8974
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8975
|
+
[1m[35mSQL (0.4ms)[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 12:41:31.189025"], ["updated_at", "2018-08-24 12:41:31.189025"]]
|
8976
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8977
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8978
|
+
[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" = 529 LIMIT $2[0m [["token", "ABCD27"], ["LIMIT", 1]]
|
8979
|
+
[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", "ABCD27"], ["provider", "mock"], ["locale", "en"], ["app_id", 529], ["created_at", "2018-08-24 12:41:31.193080"], ["updated_at", "2018-08-24 12:41:31.193080"]]
|
8980
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8981
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8982
|
+
[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 12:41:31.195796"], ["id", 237]]
|
8983
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8984
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8985
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 237], ["LIMIT", 1]]
|
8986
|
+
[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", 224], ["LIMIT", 1]]
|
8987
|
+
[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", 237], ["device_token_id", 224], ["status", 0], ["created_at", "2018-08-24 12:41:31.195140"]]
|
8988
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8989
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8990
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8991
|
+
[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]]
|
8992
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8993
|
+
[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
|
8994
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8995
|
+
[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
|
8996
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8997
|
+
[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
|
8998
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8999
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
9000
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
9001
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9002
|
+
[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 12:41:31.227092"], ["updated_at", "2018-08-24 12:41:31.227092"]]
|
9003
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9004
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9005
|
+
[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", 530], ["created_at", "2018-08-24 12:41:31.229547"], ["updated_at", "2018-08-24 12:41:31.229547"]]
|
9006
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9007
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9008
|
+
[1m[35mSQL (0.3ms)[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 12:41:31.232010"], ["updated_at", "2018-08-24 12:41:31.232010"]]
|
9009
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9010
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9011
|
+
[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" = 531 LIMIT $2[0m [["token", "ABCD28"], ["LIMIT", 1]]
|
9012
|
+
[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", "ABCD28"], ["provider", "mock"], ["app_id", 531], ["created_at", "2018-08-24 12:41:31.234880"], ["updated_at", "2018-08-24 12:41:31.234880"]]
|
9013
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9014
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9015
|
+
[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", 238], ["device_token_id", 225], ["status", 0], ["created_at", "2018-08-24 12:41:31.236689"]]
|
9016
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9017
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9018
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1[0m [["notification_id", 238]]
|
9019
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1[0m [["id", 101]]
|
9020
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1[0m [["id", 238]]
|
9021
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9022
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
9023
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9024
|
+
[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
|
9025
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9026
|
+
[1m[35m (9.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
|
9027
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9028
|
+
[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
|
9029
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9030
|
+
[1m[35m (3.1ms)[0m [1m[31mROLLBACK[0m
|
9031
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9032
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9033
|
+
[1m[35mSQL (0.5ms)[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 12:41:31.261625"], ["updated_at", "2018-08-24 12:41:31.261625"]]
|
9034
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9035
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9036
|
+
[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
|
9037
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9038
|
+
[1m[35m (10.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
|
9039
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9040
|
+
[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
|
9041
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9042
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
9043
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9044
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9045
|
+
[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
|
9046
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9047
|
+
[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
|
9048
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9049
|
+
[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
|
9050
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9051
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
9052
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
9053
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9054
|
+
[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
|
9055
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9056
|
+
[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
|
9057
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9058
|
+
[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
|
9059
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9060
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
9061
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
9062
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9063
|
+
[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 43"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-08-24 12:41:31.326160"], ["updated_at", "2018-08-24 12:41:31.326160"]]
|
9064
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9065
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9066
|
+
[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", 533], ["created_at", "2018-08-24 12:41:31.331064"], ["updated_at", "2018-08-24 12:41:31.331064"]]
|
9067
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9068
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9069
|
+
[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
|
9070
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9071
|
+
[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
|
9072
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9073
|
+
[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
|
9074
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9075
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
9076
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9077
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9078
|
+
[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
|
9079
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9080
|
+
[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
|
9081
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9082
|
+
[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
|
9083
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9084
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
9085
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9086
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9087
|
+
[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
|
9088
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9089
|
+
[1m[35m (9.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
|
9090
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9091
|
+
[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
|
9092
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9093
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
9094
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
9095
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9096
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 44"], ["created_at", "2018-08-24 12:41:31.393755"], ["updated_at", "2018-08-24 12:41:31.393755"]]
|
9097
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9098
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9099
|
+
[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", 534], ["created_at", "2018-08-24 12:41:31.396173"], ["updated_at", "2018-08-24 12:41:31.396173"]]
|
9100
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9101
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1[0m [["app_id", 534]]
|
9102
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9103
|
+
[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
|
9104
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9105
|
+
[1m[35m (9.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
|
9106
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9107
|
+
[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
|
9108
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9109
|
+
[1m[35m (3.7ms)[0m [1m[31mROLLBACK[0m
|
9110
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9111
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9112
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 45"], ["created_at", "2018-08-24 12:41:31.418372"], ["updated_at", "2018-08-24 12:41:31.418372"]]
|
9113
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9114
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9115
|
+
[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", 535], ["created_at", "2018-08-24 12:41:31.420672"], ["updated_at", "2018-08-24 12:41:31.420672"]]
|
9116
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9117
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9118
|
+
[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
|
9119
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9120
|
+
[1m[35m (9.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
|
9121
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9122
|
+
[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
|
9123
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9124
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
9125
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
9126
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9127
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 46"], ["created_at", "2018-08-24 12:41:31.440296"], ["updated_at", "2018-08-24 12:41:31.440296"]]
|
9128
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9129
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9130
|
+
[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", 536], ["created_at", "2018-08-24 12:41:31.442508"], ["updated_at", "2018-08-24 12:41:31.442508"]]
|
9131
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9132
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9133
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 47"], ["created_at", "2018-08-24 12:41:31.444977"], ["updated_at", "2018-08-24 12:41:31.444977"]]
|
9134
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9135
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9136
|
+
[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" = 537 LIMIT $2[0m [["token", "ABCD29"], ["LIMIT", 1]]
|
9137
|
+
[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", "ABCD29"], ["provider", "mock"], ["app_id", 537], ["created_at", "2018-08-24 12:41:31.448296"], ["updated_at", "2018-08-24 12:41:31.448296"]]
|
9138
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9139
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9140
|
+
[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
|
9141
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9142
|
+
[1m[35m (10.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
|
9143
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9144
|
+
[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
|
9145
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9146
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
9147
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
9148
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9149
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 48"], ["created_at", "2018-08-24 12:41:31.469661"], ["updated_at", "2018-08-24 12:41:31.469661"]]
|
9150
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9152
|
+
[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", 538], ["created_at", "2018-08-24 12:41:31.472058"], ["updated_at", "2018-08-24 12:41:31.472058"]]
|
9153
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9154
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9155
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 49"], ["created_at", "2018-08-24 12:41:31.475586"], ["updated_at", "2018-08-24 12:41:31.475586"]]
|
9156
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9157
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9158
|
+
[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" = 539 LIMIT $2[0m [["token", "ABCD30"], ["LIMIT", 1]]
|
9159
|
+
[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", "ABCD30"], ["provider", "mock"], ["app_id", 539], ["created_at", "2018-08-24 12:41:31.478693"], ["updated_at", "2018-08-24 12:41:31.478693"]]
|
9160
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9161
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9162
|
+
[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
|
9163
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9164
|
+
[1m[35m (14.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
|
9165
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
9166
|
+
[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
|
9167
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
9168
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|