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