notifiable-rails 0.30.3 → 0.30.4

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