notifiable-rails 0.27.0 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4894,3 +4894,2268 @@ Migrating to AddLanguageAndCountryToDeviceTokens (201805292135000)
4894
4894
   (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4895
4895
   (0.2ms) RELEASE SAVEPOINT active_record_1
4896
4896
   (4.6ms) ROLLBACK
4897
+  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)
4898
+  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4899
+ ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
4900
+  (0.2ms) BEGIN
4901
+  (0.2ms) COMMIT
4902
+  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)
4903
+  (0.3ms) BEGIN
4904
+  (0.2ms) SAVEPOINT active_record_1
4905
+ 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:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:25.604584"], ["updated_at", "2018-05-29 18:24:25.604584"]]
4906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4907
+  (0.3ms) SAVEPOINT active_record_1
4908
+ SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 300], ["created_at", "2018-05-29 18:24:25.636821"], ["updated_at", "2018-05-29 18:24:25.636821"]]
4909
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4910
+  (0.5ms) SAVEPOINT active_record_1
4911
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4912
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4913
+  (2.4ms)  SELECT schemaname || '.' || tablename
4914
+ FROM pg_tables
4915
+ WHERE
4916
+ tablename !~ '_prt_' AND
4917
+ tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
4918
+ schemaname = ANY (current_schemas(false))
4919
+ 
4920
+  (1.5ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'
4921
+  (13.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4922
+  (0.2ms) SAVEPOINT active_record_1
4923
+  (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 "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4924
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4925
+  (4.5ms) ROLLBACK
4926
+  (0.2ms) BEGIN
4927
+  (0.2ms) SAVEPOINT active_record_1
4928
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4930
+  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4931
+  (0.2ms) SAVEPOINT active_record_1
4932
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4933
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4934
+  (3.6ms) ROLLBACK
4935
+  (0.1ms) BEGIN
4936
+  (0.2ms) SAVEPOINT active_record_1
4937
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4939
+  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4940
+  (0.2ms) SAVEPOINT active_record_1
4941
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4942
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4943
+  (3.3ms) ROLLBACK
4944
+  (0.2ms) BEGIN
4945
+  (0.2ms) SAVEPOINT active_record_1
4946
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4948
+  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4949
+  (0.2ms) SAVEPOINT active_record_1
4950
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4951
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4952
+  (3.5ms) ROLLBACK
4953
+  (0.1ms) BEGIN
4954
+  (0.1ms) SAVEPOINT active_record_1
4955
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4957
+  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4958
+  (0.2ms) SAVEPOINT active_record_1
4959
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4960
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4961
+  (3.9ms) ROLLBACK
4962
+  (0.2ms) BEGIN
4963
+  (0.2ms) SAVEPOINT active_record_1
4964
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:24:25.761957"], ["updated_at", "2018-05-29 18:24:25.761957"]]
4965
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4966
+  (0.1ms) SAVEPOINT active_record_1
4967
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 301], ["created_at", "2018-05-29 18:24:25.764753"], ["updated_at", "2018-05-29 18:24:25.764753"]]
4968
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4969
+  (0.2ms) SAVEPOINT active_record_1
4970
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4971
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4972
+  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4973
+  (0.2ms) SAVEPOINT active_record_1
4974
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4975
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4976
+  (3.6ms) ROLLBACK
4977
+  (0.2ms) BEGIN
4978
+  (0.1ms) SAVEPOINT active_record_1
4979
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:24:25.787222"], ["updated_at", "2018-05-29 18:24:25.787222"]]
4980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4981
+  (0.1ms) SAVEPOINT active_record_1
4982
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 302], ["created_at", "2018-05-29 18:24:25.789805"], ["updated_at", "2018-05-29 18:24:25.789805"]]
4983
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4984
+  (0.7ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 302]]
4985
+  (0.1ms) SAVEPOINT active_record_1
4986
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4988
+  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
4989
+  (0.2ms) SAVEPOINT active_record_1
4990
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
4991
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4992
+  (4.1ms) ROLLBACK
4993
+  (0.2ms) BEGIN
4994
+  (0.2ms) SAVEPOINT active_record_1
4995
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:24:25.823873"], ["updated_at", "2018-05-29 18:24:25.823873"]]
4996
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4997
+  (0.2ms) SAVEPOINT active_record_1
4998
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
4999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5000
+  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5001
+  (0.2ms) SAVEPOINT active_record_1
5002
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5003
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5004
+  (3.5ms) ROLLBACK
5005
+  (0.2ms) BEGIN
5006
+  (0.2ms) SAVEPOINT active_record_1
5007
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:24:25.846505"], ["updated_at", "2018-05-29 18:24:25.846505"]]
5008
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5009
+  (0.1ms) SAVEPOINT active_record_1
5010
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 304], ["created_at", "2018-05-29 18:24:25.848814"], ["updated_at", "2018-05-29 18:24:25.848814"]]
5011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5012
+  (0.1ms) SAVEPOINT active_record_1
5013
+ SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:25.851006"], ["last_error_message", "SSL error occured"], ["id", 134]]
5014
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5015
+  (0.1ms) SAVEPOINT active_record_1
5016
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5017
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5018
+  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5019
+  (0.2ms) SAVEPOINT active_record_1
5020
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5022
+  (3.7ms) ROLLBACK
5023
+  (0.1ms) BEGIN
5024
+  (0.3ms) SAVEPOINT active_record_1
5025
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:24:25.873706"], ["updated_at", "2018-05-29 18:24:25.873706"]]
5026
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5027
+  (0.1ms) SAVEPOINT active_record_1
5028
+ SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 305], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:24:25.876132"], ["updated_at", "2018-05-29 18:24:25.876132"]]
5029
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5030
+  (0.2ms) SAVEPOINT active_record_1
5031
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5032
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5033
+  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5034
+  (0.2ms) SAVEPOINT active_record_1
5035
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5036
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5037
+  (4.0ms) ROLLBACK
5038
+  (0.2ms) BEGIN
5039
+  (0.2ms) SAVEPOINT active_record_1
5040
+ 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-05-29 18:24:25.900719"], ["updated_at", "2018-05-29 18:24:25.900719"]]
5041
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5042
+  (0.2ms) SAVEPOINT active_record_1
5043
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 306], ["created_at", "2018-05-29 18:24:25.904046"], ["updated_at", "2018-05-29 18:24:25.904046"]]
5044
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5045
+  (0.3ms) SAVEPOINT active_record_1
5046
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:24:25.960335"], ["updated_at", "2018-05-29 18:24:25.960335"]]
5047
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5048
+  (0.2ms) SAVEPOINT active_record_1
5049
+ 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" = 307 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]
5050
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5051
+  (0.3ms) SAVEPOINT active_record_1
5052
+ SQL (0.7ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:25.971543"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 136]]
5053
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5054
+  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"
5055
+  (0.3ms) SAVEPOINT active_record_1
5056
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5057
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5058
+  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5059
+  (0.2ms) SAVEPOINT active_record_1
5060
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5061
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5062
+  (4.4ms) ROLLBACK
5063
+  (0.2ms) BEGIN
5064
+  (0.2ms) SAVEPOINT active_record_1
5065
+ 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-05-29 18:24:26.022171"], ["updated_at", "2018-05-29 18:24:26.022171"]]
5066
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5067
+  (0.2ms) SAVEPOINT active_record_1
5068
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 308], ["created_at", "2018-05-29 18:24:26.025396"], ["updated_at", "2018-05-29 18:24:26.025396"]]
5069
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5070
+  (0.2ms) SAVEPOINT active_record_1
5071
+ SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:24:26.028544"], ["updated_at", "2018-05-29 18:24:26.028544"]]
5072
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5073
+  (0.2ms) SAVEPOINT active_record_1
5074
+ 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" = 309 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]
5075
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5076
+  (0.3ms) SAVEPOINT active_record_1
5077
+ SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.036071"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 137]]
5078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5079
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5080
+  (0.2ms) SAVEPOINT active_record_1
5081
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5083
+  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5084
+  (0.2ms) SAVEPOINT active_record_1
5085
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5086
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5087
+  (4.7ms) ROLLBACK
5088
+  (0.2ms) BEGIN
5089
+  (0.2ms) SAVEPOINT active_record_1
5090
+ SQL (0.8ms) 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-05-29 18:24:26.064213"], ["updated_at", "2018-05-29 18:24:26.064213"]]
5091
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5092
+  (0.2ms) SAVEPOINT active_record_1
5093
+ SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 310], ["created_at", "2018-05-29 18:24:26.069361"], ["updated_at", "2018-05-29 18:24:26.069361"]]
5094
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5095
+  (0.2ms) SAVEPOINT active_record_1
5096
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:24:26.073876"], ["updated_at", "2018-05-29 18:24:26.073876"]]
5097
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5098
+  (0.2ms) SAVEPOINT active_record_1
5099
+ 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" = 311 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]
5100
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
5101
+  (0.3ms) SAVEPOINT active_record_1
5102
+ SQL (0.7ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.083040"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 138]]
5103
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5104
+ Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5105
+  (0.3ms) SAVEPOINT active_record_1
5106
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5107
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5108
+  (14.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5109
+  (0.2ms) SAVEPOINT active_record_1
5110
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5111
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5112
+  (5.5ms) ROLLBACK
5113
+  (0.2ms) BEGIN
5114
+  (0.3ms) SAVEPOINT active_record_1
5115
+ SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 13"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.116905"], ["updated_at", "2018-05-29 18:24:26.116905"]]
5116
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5117
+  (0.2ms) SAVEPOINT active_record_1
5118
+ SQL (1.1ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 312], ["created_at", "2018-05-29 18:24:26.122733"], ["updated_at", "2018-05-29 18:24:26.122733"]]
5119
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5120
+  (0.3ms) SAVEPOINT active_record_1
5121
+ SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:24:26.128205"], ["updated_at", "2018-05-29 18:24:26.128205"]]
5122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5123
+  (0.2ms) SAVEPOINT active_record_1
5124
+ 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" = 313 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]
5125
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5126
+  (0.3ms) SAVEPOINT active_record_1
5127
+ SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.136846"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 139]]
5128
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5129
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5130
+  (0.2ms) SAVEPOINT active_record_1
5131
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5132
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5133
+  (13.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5134
+  (0.3ms) SAVEPOINT active_record_1
5135
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5136
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5137
+  (5.5ms) ROLLBACK
5138
+  (0.3ms) BEGIN
5139
+  (0.3ms) SAVEPOINT active_record_1
5140
+ SQL (1.0ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.169749"], ["updated_at", "2018-05-29 18:24:26.169749"]]
5141
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5142
+  (0.3ms) SAVEPOINT active_record_1
5143
+ SQL (1.1ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 314], ["created_at", "2018-05-29 18:24:26.175344"], ["updated_at", "2018-05-29 18:24:26.175344"]]
5144
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5145
+  (0.3ms) SAVEPOINT active_record_1
5146
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:24:26.181270"], ["updated_at", "2018-05-29 18:24:26.181270"]]
5147
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5148
+  (0.3ms) SAVEPOINT active_record_1
5149
+ 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" = 315 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]
5150
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
5151
+  (0.2ms) SAVEPOINT active_record_1
5152
+ SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.191067"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 140]]
5153
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5154
+ Notifiable::NotificationStatus Load (0.5ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
5155
+  (0.2ms) SAVEPOINT active_record_1
5156
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5157
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5158
+  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5159
+  (0.2ms) SAVEPOINT active_record_1
5160
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5161
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5162
+  (5.0ms) ROLLBACK
5163
+  (0.2ms) BEGIN
5164
+  (0.3ms) SAVEPOINT active_record_1
5165
+ SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 17"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.227261"], ["updated_at", "2018-05-29 18:24:26.227261"]]
5166
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5167
+  (0.2ms) SAVEPOINT active_record_1
5168
+ SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 316], ["created_at", "2018-05-29 18:24:26.232951"], ["updated_at", "2018-05-29 18:24:26.232951"]]
5169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5170
+  (0.2ms) SAVEPOINT active_record_1
5171
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 18:24:26.237952"], ["updated_at", "2018-05-29 18:24:26.237952"]]
5172
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5173
+  (0.2ms) SAVEPOINT active_record_1
5174
+ 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" = 317 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]
5175
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5176
+  (0.1ms) SAVEPOINT active_record_1
5177
+ SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.246137"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 141]]
5178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5179
+ Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
5180
+  (0.1ms) SAVEPOINT active_record_1
5181
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5183
+  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5184
+  (0.2ms) SAVEPOINT active_record_1
5185
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5186
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5187
+  (4.5ms) ROLLBACK
5188
+  (0.2ms) BEGIN
5189
+  (0.2ms) SAVEPOINT active_record_1
5190
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 19"], ["created_at", "2018-05-29 18:24:26.270552"], ["updated_at", "2018-05-29 18:24:26.270552"]]
5191
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5192
+  (0.2ms) SAVEPOINT active_record_1
5193
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 318], ["created_at", "2018-05-29 18:24:26.273291"], ["updated_at", "2018-05-29 18:24:26.273291"]]
5194
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5195
+  (0.2ms) SAVEPOINT active_record_1
5196
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5197
+  (0.6ms) SELECT COUNT(*) FROM "notifiable_statuses"
5198
+  (0.2ms) SAVEPOINT active_record_1
5199
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5200
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5201
+  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5202
+  (0.2ms) SAVEPOINT active_record_1
5203
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5205
+  (4.1ms) ROLLBACK
5206
+  (0.1ms) BEGIN
5207
+  (0.2ms) SAVEPOINT active_record_1
5208
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-05-29 18:24:26.306473"], ["updated_at", "2018-05-29 18:24:26.306473"]]
5209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5210
+  (0.2ms) SAVEPOINT active_record_1
5211
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 319], ["created_at", "2018-05-29 18:24:26.308948"], ["updated_at", "2018-05-29 18:24:26.308948"]]
5212
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5213
+  (0.2ms) SAVEPOINT active_record_1
5214
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 18:24:26.317396"], ["updated_at", "2018-05-29 18:24:26.317396"]]
5215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5216
+  (0.2ms) SAVEPOINT active_record_1
5217
+ 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" = 320 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]
5218
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5219
+  (0.2ms) SAVEPOINT active_record_1
5220
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5222
+  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5223
+  (0.2ms) SAVEPOINT active_record_1
5224
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5225
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5226
+  (3.9ms) ROLLBACK
5227
+  (0.2ms) BEGIN
5228
+  (0.2ms) SAVEPOINT active_record_1
5229
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 22"], ["created_at", "2018-05-29 18:24:26.343082"], ["updated_at", "2018-05-29 18:24:26.343082"]]
5230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5231
+  (0.1ms) SAVEPOINT active_record_1
5232
+ 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" = 321 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]
5233
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5234
+  (0.2ms) SAVEPOINT active_record_1
5235
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5237
+  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5238
+  (0.2ms) SAVEPOINT active_record_1
5239
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5240
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5241
+  (3.5ms) ROLLBACK
5242
+  (0.2ms) BEGIN
5243
+  (0.2ms) SAVEPOINT active_record_1
5244
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 23"], ["created_at", "2018-05-29 18:24:26.369177"], ["updated_at", "2018-05-29 18:24:26.369177"]]
5245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5246
+  (0.1ms) SAVEPOINT active_record_1
5247
+ 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" = 322 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]
5248
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5249
+  (0.1ms) SAVEPOINT active_record_1
5250
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5251
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5252
+  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5253
+  (0.2ms) SAVEPOINT active_record_1
5254
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5256
+  (3.7ms) ROLLBACK
5257
+  (0.1ms) BEGIN
5258
+  (0.2ms) SAVEPOINT active_record_1
5259
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 18:24:26.394168"], ["updated_at", "2018-05-29 18:24:26.394168"]]
5260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5261
+  (0.1ms) SAVEPOINT active_record_1
5262
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 323], ["created_at", "2018-05-29 18:24:26.396329"], ["updated_at", "2018-05-29 18:24:26.396329"]]
5263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5264
+  (0.1ms) SAVEPOINT active_record_1
5265
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:24:26.398803"], ["updated_at", "2018-05-29 18:24:26.398803"]]
5266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5267
+  (0.1ms) SAVEPOINT active_record_1
5268
+ 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" = 324 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]
5269
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5270
+  (0.1ms) SAVEPOINT active_record_1
5271
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5272
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5273
+  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5274
+  (0.2ms) SAVEPOINT active_record_1
5275
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5277
+  (3.5ms) ROLLBACK
5278
+  (0.1ms) BEGIN
5279
+  (0.2ms) SAVEPOINT active_record_1
5280
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:24:26.422478"], ["updated_at", "2018-05-29 18:24:26.422478"]]
5281
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5282
+  (0.1ms) SAVEPOINT active_record_1
5283
+ 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" = 325 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]
5284
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5285
+  (0.2ms) SAVEPOINT active_record_1
5286
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5288
+  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5289
+  (0.2ms) SAVEPOINT active_record_1
5290
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5292
+  (2.7ms) ROLLBACK
5293
+  (0.1ms) BEGIN
5294
+  (0.1ms) SAVEPOINT active_record_1
5295
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:24:26.443764"], ["updated_at", "2018-05-29 18:24:26.443764"]]
5296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5297
+ 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" = 326 LIMIT $2 [["token", ""], ["LIMIT", 1]]
5298
+  (0.2ms) SAVEPOINT active_record_1
5299
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5301
+  (9.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5302
+  (0.1ms) SAVEPOINT active_record_1
5303
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5305
+  (3.4ms) ROLLBACK
5306
+  (0.2ms) BEGIN
5307
+  (0.2ms) SAVEPOINT active_record_1
5308
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 18:24:26.465361"], ["updated_at", "2018-05-29 18:24:26.465361"]]
5309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5310
+  (0.1ms) SAVEPOINT active_record_1
5311
+ 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" = 327 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]
5312
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5313
+  (0.1ms) SAVEPOINT active_record_1
5314
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5316
+  (8.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5317
+  (0.1ms) SAVEPOINT active_record_1
5318
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5319
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5320
+  (3.3ms) ROLLBACK
5321
+  (0.1ms) BEGIN
5322
+  (0.2ms) SAVEPOINT active_record_1
5323
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:24:26.486559"], ["updated_at", "2018-05-29 18:24:26.486559"]]
5324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5325
+ Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 328 LIMIT $1 [["LIMIT", 1]]
5326
+  (0.1ms) SAVEPOINT active_record_1
5327
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5328
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5329
+  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5330
+  (0.1ms) SAVEPOINT active_record_1
5331
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5333
+  (2.8ms) ROLLBACK
5334
+  (0.1ms) BEGIN
5335
+  (0.1ms) SAVEPOINT active_record_1
5336
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 18:24:26.506759"], ["updated_at", "2018-05-29 18:24:26.506759"]]
5337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5338
+  (0.1ms) SAVEPOINT active_record_1
5339
+ 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" = 329 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]
5340
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5341
+  (0.1ms) SAVEPOINT active_record_1
5342
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5344
+  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5345
+  (0.1ms) SAVEPOINT active_record_1
5346
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5348
+  (3.0ms) ROLLBACK
5349
+  (0.1ms) BEGIN
5350
+  (0.1ms) SAVEPOINT active_record_1
5351
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:24:26.529083"], ["updated_at", "2018-05-29 18:24:26.529083"]]
5352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5353
+  (0.1ms) SAVEPOINT active_record_1
5354
+ 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" = 330 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]
5355
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5356
+  (0.1ms) SAVEPOINT active_record_1
5357
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5359
+  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5360
+  (0.1ms) SAVEPOINT active_record_1
5361
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5363
+  (2.7ms) ROLLBACK
5364
+  (0.1ms) BEGIN
5365
+  (0.1ms) SAVEPOINT active_record_1
5366
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 18:24:26.549544"], ["updated_at", "2018-05-29 18:24:26.549544"]]
5367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5368
+  (0.1ms) SAVEPOINT active_record_1
5369
+ 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" = 331 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]
5370
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5371
+  (0.1ms) SAVEPOINT active_record_1
5372
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5374
+  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5375
+  (0.2ms) SAVEPOINT active_record_1
5376
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5378
+  (3.9ms) ROLLBACK
5379
+  (0.1ms) BEGIN
5380
+  (0.1ms) SAVEPOINT active_record_1
5381
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:24:26.572114"], ["updated_at", "2018-05-29 18:24:26.572114"]]
5382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5383
+  (0.2ms) SAVEPOINT active_record_1
5384
+ 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" = 332 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]
5385
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5386
+  (0.1ms) SAVEPOINT active_record_1
5387
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5388
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5389
+  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5390
+  (0.2ms) SAVEPOINT active_record_1
5391
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5393
+  (2.8ms) ROLLBACK
5394
+  (0.1ms) BEGIN
5395
+  (0.1ms) SAVEPOINT active_record_1
5396
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 18:24:26.594794"], ["updated_at", "2018-05-29 18:24:26.594794"]]
5397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5398
+  (0.1ms) SAVEPOINT active_record_1
5399
+ 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" = 333 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]
5400
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5401
+  (0.1ms) SAVEPOINT active_record_1
5402
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5404
+  (9.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5405
+  (0.2ms) SAVEPOINT active_record_1
5406
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5408
+  (3.5ms) ROLLBACK
5409
+  (0.1ms) BEGIN
5410
+  (0.2ms) SAVEPOINT active_record_1
5411
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:24:26.617201"], ["updated_at", "2018-05-29 18:24:26.617201"]]
5412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5413
+  (0.1ms) SAVEPOINT active_record_1
5414
+ 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" = 334 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]
5415
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5416
+  (0.1ms) SAVEPOINT active_record_1
5417
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5418
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5419
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5420
+  (0.2ms) SAVEPOINT active_record_1
5421
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5422
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5423
+  (2.9ms) ROLLBACK
5424
+  (0.1ms) BEGIN
5425
+  (0.1ms) SAVEPOINT active_record_1
5426
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 18:24:26.639677"], ["updated_at", "2018-05-29 18:24:26.639677"]]
5427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5428
+  (0.1ms) SAVEPOINT active_record_1
5429
+ 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" = 335 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]]
5430
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
5431
+  (0.1ms) SAVEPOINT active_record_1
5432
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5434
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5435
+  (0.2ms) SAVEPOINT active_record_1
5436
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5437
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5438
+  (3.0ms) ROLLBACK
5439
+  (0.1ms) BEGIN
5440
+  (0.1ms) SAVEPOINT active_record_1
5441
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5442
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5443
+  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5444
+  (0.1ms) SAVEPOINT active_record_1
5445
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5447
+  (2.8ms) ROLLBACK
5448
+  (0.1ms) BEGIN
5449
+  (0.1ms) SAVEPOINT active_record_1
5450
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 37"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.680024"], ["updated_at", "2018-05-29 18:24:26.680024"]]
5451
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5452
+  (0.1ms) SAVEPOINT active_record_1
5453
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 336], ["created_at", "2018-05-29 18:24:26.683382"], ["updated_at", "2018-05-29 18:24:26.683382"]]
5454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5455
+  (0.1ms) SAVEPOINT active_record_1
5456
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5457
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5458
+  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5459
+  (0.2ms) SAVEPOINT active_record_1
5460
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5462
+  (3.3ms) ROLLBACK
5463
+  (0.1ms) BEGIN
5464
+  (0.1ms) SAVEPOINT active_record_1
5465
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 38"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.705217"], ["updated_at", "2018-05-29 18:24:26.705217"]]
5466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5467
+  (0.1ms) SAVEPOINT active_record_1
5468
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 337], ["created_at", "2018-05-29 18:24:26.708276"], ["updated_at", "2018-05-29 18:24:26.708276"]]
5469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5470
+  (0.1ms) SAVEPOINT active_record_1
5471
+ 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" = 337 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]]
5472
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5473
+  (0.1ms) SAVEPOINT active_record_1
5474
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5476
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5477
+  (0.1ms) SAVEPOINT active_record_1
5478
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5479
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5480
+  (3.2ms) ROLLBACK
5481
+  (0.2ms) BEGIN
5482
+  (0.1ms) SAVEPOINT active_record_1
5483
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 39"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.732357"], ["updated_at", "2018-05-29 18:24:26.732357"]]
5484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5485
+  (0.2ms) SAVEPOINT active_record_1
5486
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 338], ["created_at", "2018-05-29 18:24:26.735369"], ["updated_at", "2018-05-29 18:24:26.735369"]]
5487
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5488
+  (0.1ms) SAVEPOINT active_record_1
5489
+ 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" = 338 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]]
5490
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5491
+  (0.1ms) SAVEPOINT active_record_1
5492
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5494
+  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5495
+  (0.2ms) SAVEPOINT active_record_1
5496
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5498
+  (2.9ms) ROLLBACK
5499
+  (0.1ms) BEGIN
5500
+  (0.1ms) SAVEPOINT active_record_1
5501
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 40"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.757785"], ["updated_at", "2018-05-29 18:24:26.757785"]]
5502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5503
+  (0.2ms) SAVEPOINT active_record_1
5504
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 339], ["created_at", "2018-05-29 18:24:26.760680"], ["updated_at", "2018-05-29 18:24:26.760680"]]
5505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5506
+  (0.1ms) SAVEPOINT active_record_1
5507
+ 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" = 339 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]]
5508
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5509
+  (0.1ms) SAVEPOINT active_record_1
5510
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5511
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5512
+  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5513
+  (0.2ms) SAVEPOINT active_record_1
5514
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5516
+  (3.2ms) ROLLBACK
5517
+  (0.1ms) BEGIN
5518
+  (0.1ms) SAVEPOINT active_record_1
5519
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 41"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.783905"], ["updated_at", "2018-05-29 18:24:26.783905"]]
5520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5521
+  (0.1ms) SAVEPOINT active_record_1
5522
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 340], ["created_at", "2018-05-29 18:24:26.786719"], ["updated_at", "2018-05-29 18:24:26.786719"]]
5523
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5524
+  (0.1ms) SAVEPOINT active_record_1
5525
+ 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" = 340 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]]
5526
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
5527
+  (0.1ms) SAVEPOINT active_record_1
5528
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5530
+  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5531
+  (0.3ms) SAVEPOINT active_record_1
5532
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5534
+  (2.8ms) ROLLBACK
5535
+  (0.1ms) BEGIN
5536
+  (0.1ms) SAVEPOINT active_record_1
5537
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 42"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.809683"], ["updated_at", "2018-05-29 18:24:26.809683"]]
5538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5539
+  (0.1ms) SAVEPOINT active_record_1
5540
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 341], ["created_at", "2018-05-29 18:24:26.812360"], ["updated_at", "2018-05-29 18:24:26.812360"]]
5541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5542
+  (0.2ms) SAVEPOINT active_record_1
5543
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5545
+  (8.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5546
+  (0.1ms) SAVEPOINT active_record_1
5547
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5548
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5549
+  (2.9ms) ROLLBACK
5550
+  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)
5551
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5552
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
5553
+  (0.2ms) BEGIN
5554
+  (0.2ms) COMMIT
5555
+  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)
5556
+  (0.2ms) BEGIN
5557
+  (0.3ms) SAVEPOINT active_record_1
5558
+ SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:24:46.231617"], ["updated_at", "2018-05-29 18:24:46.231617"]]
5559
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5560
+  (0.2ms) SAVEPOINT active_record_1
5561
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 342], ["created_at", "2018-05-29 18:24:46.240011"], ["updated_at", "2018-05-29 18:24:46.240011"]]
5562
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5563
+  (0.2ms) SAVEPOINT active_record_1
5564
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:24:46.276426"], ["updated_at", "2018-05-29 18:24:46.276426"]]
5565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5566
+  (0.2ms) SAVEPOINT active_record_1
5567
+ 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" = 343 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]
5568
+ 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", "ABCD1"], ["provider", "mock"], ["app_id", 343], ["created_at", "2018-05-29 18:24:46.282385"], ["updated_at", "2018-05-29 18:24:46.282385"]]
5569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5570
+  (0.1ms) SAVEPOINT active_record_1
5571
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 151], ["device_token_id", 103], ["status", 0], ["created_at", "2018-05-29 18:24:46.285561"]]
5572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5573
+  (0.1ms) SAVEPOINT active_record_1
5574
+ Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 151]]
5575
+ SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 50]]
5576
+ SQL (0.4ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 151]]
5577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5578
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"
5579
+  (0.2ms) SAVEPOINT active_record_1
5580
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5581
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5582
+  (2.3ms)  SELECT schemaname || '.' || tablename
5583
+ FROM pg_tables
5584
+ WHERE
5585
+ tablename !~ '_prt_' AND
5586
+ tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
5587
+ schemaname = ANY (current_schemas(false))
5588
+ 
5589
+  (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'
5590
+  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5591
+  (0.2ms) SAVEPOINT active_record_1
5592
+  (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 "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5593
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5594
+  (4.3ms) ROLLBACK
5595
+  (0.2ms) BEGIN
5596
+  (0.2ms) SAVEPOINT active_record_1
5597
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:24:46.332656"], ["updated_at", "2018-05-29 18:24:46.332656"]]
5598
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5599
+  (0.2ms) SAVEPOINT active_record_1
5600
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 344], ["created_at", "2018-05-29 18:24:46.335555"], ["updated_at", "2018-05-29 18:24:46.335555"]]
5601
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5602
+  (0.2ms) SAVEPOINT active_record_1
5603
+ SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:46.338571"], ["last_error_message", "SSL error occured"], ["id", 152]]
5604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5605
+  (0.2ms) SAVEPOINT active_record_1
5606
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5607
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5608
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5609
+  (0.2ms) SAVEPOINT active_record_1
5610
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5612
+  (5.0ms) ROLLBACK
5613
+  (0.2ms) BEGIN
5614
+  (0.1ms) SAVEPOINT active_record_1
5615
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:24:46.364964"], ["updated_at", "2018-05-29 18:24:46.364964"]]
5616
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5617
+  (0.2ms) SAVEPOINT active_record_1
5618
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 345], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:24:46.368177"], ["updated_at", "2018-05-29 18:24:46.368177"]]
5619
+  (0.4ms) RELEASE SAVEPOINT active_record_1
5620
+  (0.1ms) SAVEPOINT active_record_1
5621
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5623
+  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5624
+  (0.2ms) SAVEPOINT active_record_1
5625
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5626
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5627
+  (5.0ms) ROLLBACK
5628
+  (0.2ms) BEGIN
5629
+  (0.2ms) SAVEPOINT active_record_1
5630
+ SQL (0.9ms) 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-05-29 18:24:46.397071"], ["updated_at", "2018-05-29 18:24:46.397071"]]
5631
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5632
+  (0.1ms) SAVEPOINT active_record_1
5633
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 346], ["created_at", "2018-05-29 18:24:46.401053"], ["updated_at", "2018-05-29 18:24:46.401053"]]
5634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5635
+  (0.2ms) SAVEPOINT active_record_1
5636
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:24:46.404046"], ["updated_at", "2018-05-29 18:24:46.404046"]]
5637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5638
+  (0.3ms) SAVEPOINT active_record_1
5639
+ 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" = 347 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]
5640
+ 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", 347], ["created_at", "2018-05-29 18:24:46.407292"], ["updated_at", "2018-05-29 18:24:46.407292"]]
5641
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5642
+  (0.3ms) SAVEPOINT active_record_1
5643
+ 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-05-29 18:24:46.411023"], ["id", 154]]
5644
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5645
+  (0.1ms) SAVEPOINT active_record_1
5646
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 154], ["LIMIT", 1]]
5647
+ Notifiable::DeviceToken Load (0.9ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 104], ["LIMIT", 1]]
5648
+ SQL (0.8ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 154], ["device_token_id", 104], ["status", 0], ["created_at", "2018-05-29 18:24:46.409941"]]
5649
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5650
+  (0.2ms) SAVEPOINT active_record_1
5651
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5652
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"
5653
+  (0.2ms) SAVEPOINT active_record_1
5654
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5655
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5656
+  (13.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5657
+  (0.2ms) SAVEPOINT active_record_1
5658
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5659
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5660
+  (4.2ms) ROLLBACK
5661
+  (0.2ms) BEGIN
5662
+  (0.3ms) SAVEPOINT active_record_1
5663
+ 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-05-29 18:24:46.450788"], ["updated_at", "2018-05-29 18:24:46.450788"]]
5664
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5665
+  (0.2ms) SAVEPOINT active_record_1
5666
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 348], ["created_at", "2018-05-29 18:24:46.454908"], ["updated_at", "2018-05-29 18:24:46.454908"]]
5667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5668
+  (0.2ms) SAVEPOINT active_record_1
5669
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:24:46.457879"], ["updated_at", "2018-05-29 18:24:46.457879"]]
5670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5671
+  (0.1ms) SAVEPOINT active_record_1
5672
+ 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" = 349 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]
5673
+ 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", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 349], ["created_at", "2018-05-29 18:24:46.461131"], ["updated_at", "2018-05-29 18:24:46.461131"]]
5674
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5675
+  (0.2ms) SAVEPOINT active_record_1
5676
+ 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-05-29 18:24:46.463875"], ["id", 155]]
5677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5678
+  (0.1ms) SAVEPOINT active_record_1
5679
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 155], ["LIMIT", 1]]
5680
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 105], ["LIMIT", 1]]
5681
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 155], ["device_token_id", 105], ["status", 0], ["created_at", "2018-05-29 18:24:46.463275"]]
5682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5683
+  (0.2ms) SAVEPOINT active_record_1
5684
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5685
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5686
+  (0.1ms) SAVEPOINT active_record_1
5687
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5689
+  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5690
+  (0.2ms) SAVEPOINT active_record_1
5691
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5692
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5693
+  (4.6ms) ROLLBACK
5694
+  (0.2ms) BEGIN
5695
+  (0.1ms) SAVEPOINT active_record_1
5696
+ SQL (0.5ms) 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-05-29 18:24:46.493888"], ["updated_at", "2018-05-29 18:24:46.493888"]]
5697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5698
+  (0.1ms) SAVEPOINT active_record_1
5699
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 350], ["created_at", "2018-05-29 18:24:46.496914"], ["updated_at", "2018-05-29 18:24:46.496914"]]
5700
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5701
+  (0.2ms) SAVEPOINT active_record_1
5702
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:24:46.499638"], ["updated_at", "2018-05-29 18:24:46.499638"]]
5703
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5704
+  (0.1ms) SAVEPOINT active_record_1
5705
+ 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" = 351 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]
5706
+ 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", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 351], ["created_at", "2018-05-29 18:24:46.504218"], ["updated_at", "2018-05-29 18:24:46.504218"]]
5707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5708
+  (0.2ms) SAVEPOINT active_record_1
5709
+ 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-05-29 18:24:46.506779"], ["id", 156]]
5710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5711
+  (0.1ms) SAVEPOINT active_record_1
5712
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]]
5713
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 106], ["LIMIT", 1]]
5714
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 156], ["device_token_id", 106], ["status", 0], ["created_at", "2018-05-29 18:24:46.506161"]]
5715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5716
+  (0.1ms) SAVEPOINT active_record_1
5717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5718
+ Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
5719
+  (0.1ms) SAVEPOINT active_record_1
5720
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5721
+  (0.4ms) RELEASE SAVEPOINT active_record_1
5722
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5723
+  (0.2ms) SAVEPOINT active_record_1
5724
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5725
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5726
+  (5.0ms) ROLLBACK
5727
+  (0.2ms) BEGIN
5728
+  (0.1ms) SAVEPOINT active_record_1
5729
+ 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-05-29 18:24:46.537195"], ["updated_at", "2018-05-29 18:24:46.537195"]]
5730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5731
+  (0.2ms) SAVEPOINT active_record_1
5732
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 352], ["created_at", "2018-05-29 18:24:46.540372"], ["updated_at", "2018-05-29 18:24:46.540372"]]
5733
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5734
+  (0.2ms) SAVEPOINT active_record_1
5735
+ SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:24:46.544102"], ["updated_at", "2018-05-29 18:24:46.544102"]]
5736
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5737
+  (0.1ms) SAVEPOINT active_record_1
5738
+ 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" = 353 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]
5739
+ 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", "ABCD5"], ["provider", "mock"], ["locale", "en"], ["app_id", 353], ["created_at", "2018-05-29 18:24:46.547983"], ["updated_at", "2018-05-29 18:24:46.547983"]]
5740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5741
+  (0.1ms) SAVEPOINT active_record_1
5742
+ 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-05-29 18:24:46.550507"], ["id", 157]]
5743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5744
+  (0.1ms) SAVEPOINT active_record_1
5745
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]]
5746
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 107], ["LIMIT", 1]]
5747
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 157], ["device_token_id", 107], ["status", 0], ["created_at", "2018-05-29 18:24:46.549908"]]
5748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5749
+  (0.1ms) SAVEPOINT active_record_1
5750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5751
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5752
+  (0.4ms) SAVEPOINT active_record_1
5753
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5754
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5755
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5756
+  (0.2ms) SAVEPOINT active_record_1
5757
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5759
+  (4.7ms) ROLLBACK
5760
+  (0.1ms) BEGIN
5761
+  (0.1ms) SAVEPOINT active_record_1
5762
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 13"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.580692"], ["updated_at", "2018-05-29 18:24:46.580692"]]
5763
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5764
+  (0.1ms) SAVEPOINT active_record_1
5765
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 354], ["created_at", "2018-05-29 18:24:46.583781"], ["updated_at", "2018-05-29 18:24:46.583781"]]
5766
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5767
+  (0.2ms) SAVEPOINT active_record_1
5768
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:24:46.586761"], ["updated_at", "2018-05-29 18:24:46.586761"]]
5769
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5770
+  (0.2ms) SAVEPOINT active_record_1
5771
+ 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" = 355 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]
5772
+ 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", 355], ["created_at", "2018-05-29 18:24:46.591709"], ["updated_at", "2018-05-29 18:24:46.591709"]]
5773
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5774
+  (0.2ms) SAVEPOINT active_record_1
5775
+ 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-05-29 18:24:46.594412"], ["id", 158]]
5776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5777
+  (0.1ms) SAVEPOINT active_record_1
5778
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]]
5779
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
5780
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 158], ["device_token_id", 108], ["status", 0], ["created_at", "2018-05-29 18:24:46.593774"]]
5781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5782
+  (0.1ms) SAVEPOINT active_record_1
5783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5784
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5785
+  (0.1ms) SAVEPOINT active_record_1
5786
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5788
+  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5789
+  (0.2ms) SAVEPOINT active_record_1
5790
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5792
+  (4.5ms) ROLLBACK
5793
+  (0.1ms) BEGIN
5794
+  (0.2ms) SAVEPOINT active_record_1
5795
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.624523"], ["updated_at", "2018-05-29 18:24:46.624523"]]
5796
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5797
+  (0.1ms) SAVEPOINT active_record_1
5798
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 356], ["created_at", "2018-05-29 18:24:46.627893"], ["updated_at", "2018-05-29 18:24:46.627893"]]
5799
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5800
+  (0.4ms) SAVEPOINT active_record_1
5801
+ SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:24:46.631680"], ["updated_at", "2018-05-29 18:24:46.631680"]]
5802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5803
+  (0.1ms) SAVEPOINT active_record_1
5804
+ 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" = 357 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]
5805
+ 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", "ABCD7"], ["provider", "mock"], ["locale", "en"], ["app_id", 357], ["created_at", "2018-05-29 18:24:46.635306"], ["updated_at", "2018-05-29 18:24:46.635306"]]
5806
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5807
+  (0.1ms) SAVEPOINT active_record_1
5808
+ 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-05-29 18:24:46.637980"], ["id", 159]]
5809
+  (0.4ms) RELEASE SAVEPOINT active_record_1
5810
+  (0.1ms) SAVEPOINT active_record_1
5811
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 159], ["LIMIT", 1]]
5812
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 109], ["LIMIT", 1]]
5813
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 159], ["device_token_id", 109], ["status", 0], ["created_at", "2018-05-29 18:24:46.637349"]]
5814
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5815
+  (0.2ms) SAVEPOINT active_record_1
5816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5817
+ Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
5818
+  (0.1ms) SAVEPOINT active_record_1
5819
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5820
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5821
+  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5822
+  (0.2ms) SAVEPOINT active_record_1
5823
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5824
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5825
+  (4.1ms) ROLLBACK
5826
+  (0.2ms) BEGIN
5827
+  (0.2ms) SAVEPOINT active_record_1
5828
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:24:46.669127"], ["updated_at", "2018-05-29 18:24:46.669127"]]
5829
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5830
+  (0.2ms) SAVEPOINT active_record_1
5831
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 358], ["created_at", "2018-05-29 18:24:46.672046"], ["updated_at", "2018-05-29 18:24:46.672046"]]
5832
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5833
+  (0.1ms) SAVEPOINT active_record_1
5834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5835
+  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"
5836
+  (0.2ms) SAVEPOINT active_record_1
5837
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5839
+  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5840
+  (0.2ms) SAVEPOINT active_record_1
5841
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5842
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5843
+  (4.4ms) ROLLBACK
5844
+  (0.2ms) BEGIN
5845
+  (0.2ms) SAVEPOINT active_record_1
5846
+ SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 18"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.700150"], ["updated_at", "2018-05-29 18:24:46.700150"]]
5847
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5848
+  (0.2ms) SAVEPOINT active_record_1
5849
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 359], ["created_at", "2018-05-29 18:24:46.704701"], ["updated_at", "2018-05-29 18:24:46.704701"]]
5850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5851
+  (0.1ms) SAVEPOINT active_record_1
5852
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5853
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5854
+  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5855
+  (0.2ms) SAVEPOINT active_record_1
5856
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5858
+  (4.6ms) ROLLBACK
5859
+  (0.2ms) BEGIN
5860
+  (0.2ms) SAVEPOINT active_record_1
5861
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.730208"], ["updated_at", "2018-05-29 18:24:46.730208"]]
5862
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5863
+  (0.3ms) SAVEPOINT active_record_1
5864
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 360], ["created_at", "2018-05-29 18:24:46.742323"], ["updated_at", "2018-05-29 18:24:46.742323"]]
5865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5866
+  (0.2ms) SAVEPOINT active_record_1
5867
+ 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" = 360 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]
5868
+ 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", "ABCD8"], ["provider", "mock"], ["locale", "en"], ["app_id", 360], ["created_at", "2018-05-29 18:24:46.746827"], ["updated_at", "2018-05-29 18:24:46.746827"]]
5869
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5870
+  (0.1ms) SAVEPOINT active_record_1
5871
+ 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" = 360 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]
5872
+ 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", "ABCD9"], ["provider", "mock"], ["locale", "en"], ["app_id", 360], ["created_at", "2018-05-29 18:24:46.750241"], ["updated_at", "2018-05-29 18:24:46.750241"]]
5873
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5874
+  (0.1ms) SAVEPOINT active_record_1
5875
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]]
5876
+ Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 110], ["LIMIT", 1]]
5877
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 162], ["device_token_id", 110], ["status", 0], ["created_at", "2018-05-29 18:24:46.748432"]]
5878
+ Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]]
5879
+ Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 111], ["LIMIT", 1]]
5880
+ SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 162], ["device_token_id", 111], ["status", 0], ["created_at", "2018-05-29 18:24:46.752001"]]
5881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5882
+  (0.1ms) SAVEPOINT active_record_1
5883
+ 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-05-29 18:24:46.760357"], ["id", 162]]
5884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5885
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5886
+  (0.2ms) SAVEPOINT active_record_1
5887
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5889
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5890
+  (0.2ms) SAVEPOINT active_record_1
5891
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5892
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5893
+  (4.5ms) ROLLBACK
5894
+  (0.2ms) BEGIN
5895
+  (0.1ms) SAVEPOINT active_record_1
5896
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.784854"], ["updated_at", "2018-05-29 18:24:46.784854"]]
5897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5898
+  (0.1ms) SAVEPOINT active_record_1
5899
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 361], ["created_at", "2018-05-29 18:24:46.787995"], ["updated_at", "2018-05-29 18:24:46.787995"]]
5900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5901
+  (0.1ms) SAVEPOINT active_record_1
5902
+ 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" = 361 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]
5903
+ 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", "ABCD10"], ["provider", "mock"], ["locale", "en"], ["app_id", 361], ["created_at", "2018-05-29 18:24:46.792001"], ["updated_at", "2018-05-29 18:24:46.792001"]]
5904
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5905
+  (0.1ms) SAVEPOINT active_record_1
5906
+ 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" = 361 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]
5907
+ 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", "ABCD11"], ["provider", "mock"], ["locale", "en"], ["app_id", 361], ["created_at", "2018-05-29 18:24:46.795732"], ["updated_at", "2018-05-29 18:24:46.795732"]]
5908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5909
+  (0.2ms) SAVEPOINT active_record_1
5910
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 163], ["LIMIT", 1]]
5911
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 112], ["LIMIT", 1]]
5912
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 163], ["device_token_id", 112], ["status", 0], ["created_at", "2018-05-29 18:24:46.793873"]]
5913
+ Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 163], ["LIMIT", 1]]
5914
+ Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 113], ["LIMIT", 1]]
5915
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 163], ["device_token_id", 113], ["status", 0], ["created_at", "2018-05-29 18:24:46.797034"]]
5916
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5917
+  (0.1ms) SAVEPOINT active_record_1
5918
+ 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-05-29 18:24:46.805397"], ["id", 163]]
5919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5920
+  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"
5921
+  (0.1ms) SAVEPOINT active_record_1
5922
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5924
+  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5925
+  (0.2ms) SAVEPOINT active_record_1
5926
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5927
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5928
+  (4.7ms) ROLLBACK
5929
+  (0.1ms) BEGIN
5930
+  (0.1ms) SAVEPOINT active_record_1
5931
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 21"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.828419"], ["updated_at", "2018-05-29 18:24:46.828419"]]
5932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5933
+  (0.1ms) SAVEPOINT active_record_1
5934
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 362], ["created_at", "2018-05-29 18:24:46.831441"], ["updated_at", "2018-05-29 18:24:46.831441"]]
5935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5936
+  (0.1ms) SAVEPOINT active_record_1
5937
+ 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" = 362 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]
5938
+ 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", "ABCD12"], ["provider", "mock"], ["locale", "en"], ["app_id", 362], ["created_at", "2018-05-29 18:24:46.835526"], ["updated_at", "2018-05-29 18:24:46.835526"]]
5939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5940
+  (0.1ms) SAVEPOINT active_record_1
5941
+ 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" = 362 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]
5942
+ 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", "ABCD13"], ["provider", "mock"], ["locale", "en"], ["app_id", 362], ["created_at", "2018-05-29 18:24:46.839767"], ["updated_at", "2018-05-29 18:24:46.839767"]]
5943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5944
+  (0.1ms) SAVEPOINT active_record_1
5945
+ 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-05-29 18:24:46.841574"], ["id", 164]]
5946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5947
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"
5948
+  (0.1ms) SAVEPOINT active_record_1
5949
+  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5951
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5952
+  (0.2ms) SAVEPOINT active_record_1
5953
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5954
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5955
+  (4.3ms) ROLLBACK
5956
+  (0.2ms) BEGIN
5957
+  (0.1ms) SAVEPOINT active_record_1
5958
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.865542"], ["updated_at", "2018-05-29 18:24:46.865542"]]
5959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5960
+  (0.1ms) SAVEPOINT active_record_1
5961
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 363], ["created_at", "2018-05-29 18:24:46.868778"], ["updated_at", "2018-05-29 18:24:46.868778"]]
5962
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5963
+  (0.2ms) SAVEPOINT active_record_1
5964
+ 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" = 363 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]
5965
+ 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", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 363], ["created_at", "2018-05-29 18:24:46.873293"], ["updated_at", "2018-05-29 18:24:46.873293"]]
5966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5967
+  (0.1ms) SAVEPOINT active_record_1
5968
+ 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" = 363 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]
5969
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 363], ["created_at", "2018-05-29 18:24:46.876692"], ["updated_at", "2018-05-29 18:24:46.876692"]]
5970
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5971
+  (0.1ms) SAVEPOINT active_record_1
5972
+ 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-05-29 18:24:46.878515"], ["id", 165]]
5973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5974
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
5975
+  (0.1ms) SAVEPOINT active_record_1
5976
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5977
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5978
+  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5979
+  (0.2ms) SAVEPOINT active_record_1
5980
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5982
+  (4.3ms) ROLLBACK
5983
+  (0.2ms) BEGIN
5984
+  (0.1ms) SAVEPOINT active_record_1
5985
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
5986
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5987
+  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
5988
+  (0.2ms) SAVEPOINT active_record_1
5989
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
5990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5991
+  (4.8ms) ROLLBACK
5992
+  (0.2ms) BEGIN
5993
+  (0.1ms) SAVEPOINT active_record_1
5994
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.925226"], ["updated_at", "2018-05-29 18:24:46.925226"]]
5995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5996
+  (0.1ms) SAVEPOINT active_record_1
5997
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 364], ["created_at", "2018-05-29 18:24:46.928121"], ["updated_at", "2018-05-29 18:24:46.928121"]]
5998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5999
+  (0.2ms) SAVEPOINT active_record_1
6000
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6002
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6003
+  (0.2ms) SAVEPOINT active_record_1
6004
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6005
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6006
+  (4.6ms) ROLLBACK
6007
+  (0.1ms) BEGIN
6008
+  (0.1ms) SAVEPOINT active_record_1
6009
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 18:24:46.952304"], ["updated_at", "2018-05-29 18:24:46.952304"]]
6010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6011
+  (0.1ms) SAVEPOINT active_record_1
6012
+ 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" = 365 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]
6013
+ 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", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 365], ["created_at", "2018-05-29 18:24:46.956332"], ["updated_at", "2018-05-29 18:24:46.956332"]]
6014
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6015
+  (0.1ms) SAVEPOINT active_record_1
6016
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6018
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6019
+  (0.2ms) SAVEPOINT active_record_1
6020
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6021
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6022
+  (3.9ms) ROLLBACK
6023
+  (0.2ms) BEGIN
6024
+  (0.1ms) SAVEPOINT active_record_1
6025
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:24:46.980468"], ["updated_at", "2018-05-29 18:24:46.980468"]]
6026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6027
+  (0.1ms) SAVEPOINT active_record_1
6028
+ 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" = 366 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]
6029
+ 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", 366], ["created_at", "2018-05-29 18:24:46.984522"], ["updated_at", "2018-05-29 18:24:46.984522"]]
6030
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6031
+ 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" = 366 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]
6032
+  (0.2ms) SAVEPOINT active_record_1
6033
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6034
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6035
+  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6036
+  (0.2ms) SAVEPOINT active_record_1
6037
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6038
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6039
+  (4.0ms) ROLLBACK
6040
+  (0.2ms) BEGIN
6041
+  (0.2ms) SAVEPOINT active_record_1
6042
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:24:47.016441"], ["updated_at", "2018-05-29 18:24:47.016441"]]
6043
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6044
+ 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" = 367 LIMIT $2 [["token", ""], ["LIMIT", 1]]
6045
+  (0.2ms) SAVEPOINT active_record_1
6046
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6048
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6049
+  (0.2ms) SAVEPOINT active_record_1
6050
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6052
+  (4.7ms) ROLLBACK
6053
+  (0.2ms) BEGIN
6054
+  (0.1ms) SAVEPOINT active_record_1
6055
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:24:47.044265"], ["updated_at", "2018-05-29 18:24:47.044265"]]
6056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6057
+ 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" = 368 LIMIT $1 [["LIMIT", 1]]
6058
+  (0.2ms) SAVEPOINT active_record_1
6059
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6060
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6061
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6062
+  (0.3ms) SAVEPOINT active_record_1
6063
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6065
+  (4.6ms) ROLLBACK
6066
+  (0.2ms) BEGIN
6067
+  (0.1ms) SAVEPOINT active_record_1
6068
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 18:24:47.071314"], ["updated_at", "2018-05-29 18:24:47.071314"]]
6069
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6070
+  (0.1ms) SAVEPOINT active_record_1
6071
+ 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" = 369 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]
6072
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["app_id", 369], ["created_at", "2018-05-29 18:24:47.075290"], ["updated_at", "2018-05-29 18:24:47.075290"], ["country", "gb"]]
6073
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6074
+  (0.2ms) SAVEPOINT active_record_1
6075
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6077
+  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6078
+  (0.2ms) SAVEPOINT active_record_1
6079
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6081
+  (5.1ms) ROLLBACK
6082
+  (0.2ms) BEGIN
6083
+  (0.1ms) SAVEPOINT active_record_1
6084
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:24:47.109167"], ["updated_at", "2018-05-29 18:24:47.109167"]]
6085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6086
+  (0.1ms) SAVEPOINT active_record_1
6087
+ 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" = 370 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]]
6088
+ 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", 370], ["created_at", "2018-05-29 18:24:47.112580"], ["updated_at", "2018-05-29 18:24:47.112580"]]
6089
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6090
+  (0.2ms) SAVEPOINT active_record_1
6091
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6093
+  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6094
+  (0.2ms) SAVEPOINT active_record_1
6095
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6097
+  (5.1ms) ROLLBACK
6098
+  (0.2ms) BEGIN
6099
+  (0.2ms) SAVEPOINT active_record_1
6100
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 18:24:47.138090"], ["updated_at", "2018-05-29 18:24:47.138090"]]
6101
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6102
+  (0.2ms) SAVEPOINT active_record_1
6103
+ 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" = 371 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]]
6104
+ SQL (3.0ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["app_id", 371], ["created_at", "2018-05-29 18:24:47.142455"], ["updated_at", "2018-05-29 18:24:47.142455"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6105
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6106
+  (6.3ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))
6107
+  (0.3ms) SAVEPOINT active_record_1
6108
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6110
+  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6111
+  (0.2ms) SAVEPOINT active_record_1
6112
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6113
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6114
+  (4.7ms) ROLLBACK
6115
+  (0.1ms) BEGIN
6116
+  (0.1ms) SAVEPOINT active_record_1
6117
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:24:47.176907"], ["updated_at", "2018-05-29 18:24:47.176907"]]
6118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6119
+  (0.2ms) SAVEPOINT active_record_1
6120
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 372], ["created_at", "2018-05-29 18:24:47.179370"], ["updated_at", "2018-05-29 18:24:47.179370"]]
6121
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6122
+  (0.1ms) SAVEPOINT active_record_1
6123
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 18:24:47.182326"], ["updated_at", "2018-05-29 18:24:47.182326"]]
6124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6125
+  (0.1ms) SAVEPOINT active_record_1
6126
+ 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" = 373 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]]
6127
+ 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", "ABCD20"], ["provider", "mock"], ["app_id", 373], ["created_at", "2018-05-29 18:24:47.185289"], ["updated_at", "2018-05-29 18:24:47.185289"]]
6128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6129
+  (0.1ms) SAVEPOINT active_record_1
6130
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 167], ["device_token_id", 123], ["status", 0], ["created_at", "2018-05-29 18:24:47.186993"]]
6131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6132
+  (0.1ms) SAVEPOINT active_record_1
6133
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:24:47.189035"], ["updated_at", "2018-05-29 18:24:47.189035"]]
6134
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6135
+  (0.1ms) SAVEPOINT active_record_1
6136
+ SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 374], ["created_at", "2018-05-29 18:24:47.190690"], ["updated_at", "2018-05-29 18:24:47.190690"]]
6137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6138
+  (0.1ms) SAVEPOINT active_record_1
6139
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 18:24:47.192725"], ["updated_at", "2018-05-29 18:24:47.192725"]]
6140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6141
+  (0.1ms) SAVEPOINT active_record_1
6142
+ 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" = 375 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]]
6143
+ 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", "ABCD21"], ["provider", "mock"], ["app_id", 375], ["created_at", "2018-05-29 18:24:47.195106"], ["updated_at", "2018-05-29 18:24:47.195106"]]
6144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6145
+  (0.1ms) SAVEPOINT active_record_1
6146
+ SQL (0.2ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 168], ["device_token_id", 124], ["status", 0], ["created_at", "2018-05-29 18:24:47.196823"]]
6147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6148
+  (0.1ms) SAVEPOINT active_record_1
6149
+ SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:24:47.198491"], ["updated_at", "2018-05-29 18:24:47.198491"]]
6150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6151
+  (0.1ms) SAVEPOINT active_record_1
6152
+ 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" = 376 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]]
6153
+ 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", "ABCD22"], ["provider", "mock"], ["app_id", 376], ["created_at", "2018-05-29 18:24:47.202006"], ["updated_at", "2018-05-29 18:24:47.202006"]]
6154
+ SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 125], ["id", 61]]
6155
+ SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 125], ["id", 62]]
6156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6157
+  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 125]]
6158
+  (0.1ms) SAVEPOINT active_record_1
6159
+  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6161
+  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6162
+  (0.2ms) SAVEPOINT active_record_1
6163
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6164
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6165
+  (4.3ms) ROLLBACK
6166
+  (0.2ms) BEGIN
6167
+  (0.1ms) SAVEPOINT active_record_1
6168
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 18:24:47.229594"], ["updated_at", "2018-05-29 18:24:47.229594"]]
6169
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6170
+  (0.1ms) SAVEPOINT active_record_1
6171
+ 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" = 377 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]]
6172
+ 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", "ABCD23"], ["provider", "mock"], ["app_id", 377], ["created_at", "2018-05-29 18:24:47.233989"], ["updated_at", "2018-05-29 18:24:47.233989"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6174
+  (0.1ms) SAVEPOINT active_record_1
6175
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6177
+  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6178
+  (0.2ms) SAVEPOINT active_record_1
6179
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6180
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6181
+  (4.7ms) ROLLBACK
6182
+  (0.1ms) BEGIN
6183
+  (0.1ms) SAVEPOINT active_record_1
6184
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 18:24:47.259362"], ["updated_at", "2018-05-29 18:24:47.259362"]]
6185
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6186
+  (0.1ms) SAVEPOINT active_record_1
6187
+ 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" = 378 LIMIT $2 [["token", "ABCD24"], ["LIMIT", 1]]
6188
+ 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", "ABCD24"], ["provider", "mock"], ["app_id", 378], ["created_at", "2018-05-29 18:24:47.263876"], ["updated_at", "2018-05-29 18:24:47.263876"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6189
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6190
+  (0.1ms) SAVEPOINT active_record_1
6191
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6193
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6194
+  (0.2ms) SAVEPOINT active_record_1
6195
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6196
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6197
+  (5.1ms) ROLLBACK
6198
+  (0.2ms) BEGIN
6199
+  (0.2ms) SAVEPOINT active_record_1
6200
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 38"], ["created_at", "2018-05-29 18:24:47.289665"], ["updated_at", "2018-05-29 18:24:47.289665"]]
6201
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6202
+  (0.1ms) SAVEPOINT active_record_1
6203
+ 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" = 379 LIMIT $2 [["token", "ABCD25"], ["LIMIT", 1]]
6204
+ 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", "ABCD25"], ["provider", "mock"], ["app_id", 379], ["created_at", "2018-05-29 18:24:47.293766"], ["updated_at", "2018-05-29 18:24:47.293766"]]
6205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6206
+  (0.1ms) SAVEPOINT active_record_1
6207
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6209
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6210
+  (0.2ms) SAVEPOINT active_record_1
6211
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6212
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6213
+  (4.4ms) ROLLBACK
6214
+  (0.2ms) BEGIN
6215
+  (0.2ms) SAVEPOINT active_record_1
6216
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-05-29 18:24:47.318421"], ["updated_at", "2018-05-29 18:24:47.318421"]]
6217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6218
+  (0.1ms) SAVEPOINT active_record_1
6219
+ 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" = 380 LIMIT $2 [["token", "ABCD26"], ["LIMIT", 1]]
6220
+ SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD26"], ["provider", "mock"], ["app_id", 380], ["created_at", "2018-05-29 18:24:47.322612"], ["updated_at", "2018-05-29 18:24:47.322612"], ["language", "ido"]]
6221
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6222
+  (0.1ms) SAVEPOINT active_record_1
6223
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6225
+  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6226
+  (0.2ms) SAVEPOINT active_record_1
6227
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6229
+  (4.1ms) ROLLBACK
6230
+  (0.2ms) BEGIN
6231
+  (0.2ms) SAVEPOINT active_record_1
6232
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 40"], ["created_at", "2018-05-29 18:24:47.347610"], ["updated_at", "2018-05-29 18:24:47.347610"]]
6233
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6234
+  (0.2ms) SAVEPOINT active_record_1
6235
+ 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" = 381 LIMIT $2 [["token", "ABCD27"], ["LIMIT", 1]]
6236
+ 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", "ABCD27"], ["provider", "mock"], ["app_id", 381], ["created_at", "2018-05-29 18:24:47.352117"], ["updated_at", "2018-05-29 18:24:47.352117"], ["language", "en"]]
6237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6238
+  (0.1ms) SAVEPOINT active_record_1
6239
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6240
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6241
+  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6242
+  (0.2ms) SAVEPOINT active_record_1
6243
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6244
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6245
+  (5.0ms) ROLLBACK
6246
+  (0.2ms) BEGIN
6247
+  (0.2ms) SAVEPOINT active_record_1
6248
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 41"], ["created_at", "2018-05-29 18:24:47.375443"], ["updated_at", "2018-05-29 18:24:47.375443"]]
6249
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6250
+  (0.1ms) SAVEPOINT active_record_1
6251
+ 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" = 382 LIMIT $2 [["token", "ABCD28"], ["LIMIT", 1]]
6252
+ 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", "ABCD28"], ["provider", "mock"], ["app_id", 382], ["created_at", "2018-05-29 18:24:47.378827"], ["updated_at", "2018-05-29 18:24:47.378827"], ["name", "Matt's iPhone"]]
6253
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6254
+  (0.2ms) SAVEPOINT active_record_1
6255
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6257
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6258
+  (0.2ms) SAVEPOINT active_record_1
6259
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6260
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6261
+  (4.7ms) ROLLBACK
6262
+  (0.2ms) BEGIN
6263
+  (0.2ms) SAVEPOINT active_record_1
6264
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6265
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6266
+  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6267
+  (0.2ms) SAVEPOINT active_record_1
6268
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6269
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6270
+  (4.3ms) ROLLBACK
6271
+  (0.2ms) BEGIN
6272
+  (0.1ms) SAVEPOINT active_record_1
6273
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6275
+  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6276
+  (0.2ms) SAVEPOINT active_record_1
6277
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6278
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6279
+  (4.6ms) ROLLBACK
6280
+  (0.2ms) BEGIN
6281
+  (0.2ms) SAVEPOINT active_record_1
6282
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 42"], ["created_at", "2018-05-29 18:24:47.449078"], ["updated_at", "2018-05-29 18:24:47.449078"]]
6283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6284
+  (0.1ms) SAVEPOINT active_record_1
6285
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 383], ["created_at", "2018-05-29 18:24:47.451499"], ["updated_at", "2018-05-29 18:24:47.451499"]]
6286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6287
+  (0.5ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 383]]
6288
+  (0.1ms) SAVEPOINT active_record_1
6289
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6291
+  (9.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6292
+  (0.2ms) SAVEPOINT active_record_1
6293
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6295
+  (2.8ms) ROLLBACK
6296
+  (0.1ms) BEGIN
6297
+  (0.1ms) SAVEPOINT active_record_1
6298
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 43"], ["created_at", "2018-05-29 18:24:47.472945"], ["updated_at", "2018-05-29 18:24:47.472945"]]
6299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6300
+  (0.1ms) SAVEPOINT active_record_1
6301
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 384], ["created_at", "2018-05-29 18:24:47.475157"], ["updated_at", "2018-05-29 18:24:47.475157"]]
6302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6303
+  (0.1ms) SAVEPOINT active_record_1
6304
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6306
+  (9.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6307
+  (0.2ms) SAVEPOINT active_record_1
6308
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6309
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6310
+  (3.3ms) ROLLBACK
6311
+  (0.1ms) BEGIN
6312
+  (0.2ms) SAVEPOINT active_record_1
6313
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 44"], ["created_at", "2018-05-29 18:24:47.498899"], ["updated_at", "2018-05-29 18:24:47.498899"]]
6314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6315
+  (0.1ms) SAVEPOINT active_record_1
6316
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6318
+  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6319
+  (0.2ms) SAVEPOINT active_record_1
6320
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6321
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6322
+  (2.9ms) ROLLBACK
6323
+  (0.1ms) BEGIN
6324
+  (0.1ms) SAVEPOINT active_record_1
6325
+ SQL (0.6ms) 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-05-29 18:24:47.520050"], ["updated_at", "2018-05-29 18:24:47.520050"]]
6326
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6327
+  (0.1ms) SAVEPOINT active_record_1
6328
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 386], ["created_at", "2018-05-29 18:24:47.523363"], ["updated_at", "2018-05-29 18:24:47.523363"]]
6329
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6330
+  (0.1ms) SAVEPOINT active_record_1
6331
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6332
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6333
+  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6334
+  (0.2ms) SAVEPOINT active_record_1
6335
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6336
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6337
+  (3.2ms) ROLLBACK
6338
+  (0.1ms) BEGIN
6339
+  (0.1ms) SAVEPOINT active_record_1
6340
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6342
+  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6343
+  (0.2ms) SAVEPOINT active_record_1
6344
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6346
+  (3.2ms) ROLLBACK
6347
+  (0.1ms) BEGIN
6348
+  (0.1ms) SAVEPOINT active_record_1
6349
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6351
+  (9.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6352
+  (0.2ms) SAVEPOINT active_record_1
6353
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6355
+  (2.9ms) ROLLBACK
6356
+  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)
6357
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6358
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
6359
+  (0.2ms) BEGIN
6360
+  (0.2ms) COMMIT
6361
+  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)
6362
+  (0.2ms) BEGIN
6363
+  (0.3ms) SAVEPOINT active_record_1
6364
+ SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:25:11.397669"], ["updated_at", "2018-05-29 18:25:11.397669"]]
6365
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6366
+  (0.2ms) SAVEPOINT active_record_1
6367
+ 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" = 387 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]
6368
+ 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", "ABCD1"], ["provider", "mock"], ["locale", "en"], ["app_id", 387], ["created_at", "2018-05-29 18:25:11.408778"], ["updated_at", "2018-05-29 18:25:11.408778"]]
6369
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6370
+  (0.4ms) SAVEPOINT active_record_1
6371
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6372
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6373
+  (2.9ms)  SELECT schemaname || '.' || tablename
6374
+ FROM pg_tables
6375
+ WHERE
6376
+ tablename !~ '_prt_' AND
6377
+ tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND
6378
+ schemaname = ANY (current_schemas(false))
6379
+ 
6380
+  (1.5ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'
6381
+  (18.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6382
+  (0.3ms) SAVEPOINT active_record_1
6383
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6384
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6385
+  (5.2ms) ROLLBACK
6386
+  (0.1ms) BEGIN
6387
+  (0.1ms) SAVEPOINT active_record_1
6388
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:25:11.449542"], ["updated_at", "2018-05-29 18:25:11.449542"]]
6389
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6390
+  (0.1ms) SAVEPOINT active_record_1
6391
+ 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" = 388 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]
6392
+ SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 388], ["created_at", "2018-05-29 18:25:11.453613"], ["updated_at", "2018-05-29 18:25:11.453613"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6394
+  (0.2ms) SAVEPOINT active_record_1
6395
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6396
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6397
+  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6398
+  (0.2ms) SAVEPOINT active_record_1
6399
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6400
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6401
+  (4.7ms) ROLLBACK
6402
+  (0.2ms) BEGIN
6403
+  (0.2ms) SAVEPOINT active_record_1
6404
+ SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:25:11.481620"], ["updated_at", "2018-05-29 18:25:11.481620"]]
6405
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6406
+  (0.2ms) SAVEPOINT active_record_1
6407
+ 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" = 389 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]
6408
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["app_id", 389], ["created_at", "2018-05-29 18:25:11.486605"], ["updated_at", "2018-05-29 18:25:11.486605"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6410
+  (0.1ms) SAVEPOINT active_record_1
6411
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6413
+  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6414
+  (0.2ms) SAVEPOINT active_record_1
6415
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6416
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6417
+  (4.8ms) ROLLBACK
6418
+  (0.1ms) BEGIN
6419
+  (0.1ms) SAVEPOINT active_record_1
6420
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:25:11.511401"], ["updated_at", "2018-05-29 18:25:11.511401"]]
6421
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6422
+  (0.2ms) SAVEPOINT active_record_1
6423
+ 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" = 390 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]
6424
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["app_id", 390], ["created_at", "2018-05-29 18:25:11.516200"], ["updated_at", "2018-05-29 18:25:11.516200"], ["country", "gb"]]
6425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6426
+  (0.1ms) SAVEPOINT active_record_1
6427
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6429
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6430
+  (0.2ms) SAVEPOINT active_record_1
6431
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6433
+  (4.6ms) ROLLBACK
6434
+  (0.1ms) BEGIN
6435
+  (0.1ms) SAVEPOINT active_record_1
6436
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:25:11.540126"], ["updated_at", "2018-05-29 18:25:11.540126"]]
6437
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6438
+  (0.1ms) SAVEPOINT active_record_1
6439
+ 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" = 391 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]
6440
+ 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", "ABCD5"], ["provider", "mock"], ["app_id", 391], ["created_at", "2018-05-29 18:25:11.544275"], ["updated_at", "2018-05-29 18:25:11.544275"]]
6441
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6442
+  (0.1ms) SAVEPOINT active_record_1
6443
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6445
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6446
+  (0.2ms) SAVEPOINT active_record_1
6447
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6448
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6449
+  (5.1ms) ROLLBACK
6450
+  (0.2ms) BEGIN
6451
+  (0.1ms) SAVEPOINT active_record_1
6452
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:25:11.569438"], ["updated_at", "2018-05-29 18:25:11.569438"]]
6453
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6454
+  (0.2ms) SAVEPOINT active_record_1
6455
+ 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" = 392 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]
6456
+ SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 392], ["created_at", "2018-05-29 18:25:11.573739"], ["updated_at", "2018-05-29 18:25:11.573739"], ["name", "Matt's iPhone"]]
6457
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6458
+  (0.1ms) SAVEPOINT active_record_1
6459
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6460
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6461
+  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6462
+  (0.2ms) SAVEPOINT active_record_1
6463
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6464
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6465
+  (4.3ms) ROLLBACK
6466
+  (0.2ms) BEGIN
6467
+  (0.2ms) SAVEPOINT active_record_1
6468
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:25:11.597936"], ["updated_at", "2018-05-29 18:25:11.597936"]]
6469
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6470
+  (0.2ms) SAVEPOINT active_record_1
6471
+ 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" = 393 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]
6472
+ SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["app_id", 393], ["created_at", "2018-05-29 18:25:11.601452"], ["updated_at", "2018-05-29 18:25:11.601452"], ["language", "en"]]
6473
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6474
+  (0.2ms) SAVEPOINT active_record_1
6475
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6476
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6477
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6478
+  (0.2ms) SAVEPOINT active_record_1
6479
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6481
+  (4.4ms) ROLLBACK
6482
+  (0.1ms) BEGIN
6483
+  (0.1ms) SAVEPOINT active_record_1
6484
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:25:11.626836"], ["updated_at", "2018-05-29 18:25:11.626836"]]
6485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6486
+  (0.1ms) SAVEPOINT active_record_1
6487
+ 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" = 394 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]
6488
+ 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", "ABCD8"], ["provider", "mock"], ["app_id", 394], ["created_at", "2018-05-29 18:25:11.631234"], ["updated_at", "2018-05-29 18:25:11.631234"], ["language", "ido"]]
6489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6490
+  (0.1ms) SAVEPOINT active_record_1
6491
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6492
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6493
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6494
+  (0.2ms) SAVEPOINT active_record_1
6495
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6496
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6497
+  (5.1ms) ROLLBACK
6498
+  (0.1ms) BEGIN
6499
+  (0.1ms) SAVEPOINT active_record_1
6500
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:25:11.655456"], ["updated_at", "2018-05-29 18:25:11.655456"]]
6501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6502
+  (0.1ms) SAVEPOINT active_record_1
6503
+ 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" = 395 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]
6504
+ 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", 395], ["created_at", "2018-05-29 18:25:11.658645"], ["updated_at", "2018-05-29 18:25:11.658645"]]
6505
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6506
+  (0.2ms) SAVEPOINT active_record_1
6507
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6508
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6509
+  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6510
+  (0.2ms) SAVEPOINT active_record_1
6511
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6512
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6513
+  (5.3ms) ROLLBACK
6514
+  (0.1ms) BEGIN
6515
+  (0.1ms) SAVEPOINT active_record_1
6516
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:25:11.683482"], ["updated_at", "2018-05-29 18:25:11.683482"]]
6517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6518
+ 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" = 396 LIMIT $2 [["token", ""], ["LIMIT", 1]]
6519
+  (0.2ms) SAVEPOINT active_record_1
6520
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6522
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6523
+  (0.2ms) SAVEPOINT active_record_1
6524
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6525
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6526
+  (5.0ms) ROLLBACK
6527
+  (0.1ms) BEGIN
6528
+  (0.1ms) SAVEPOINT active_record_1
6529
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:25:11.714557"], ["updated_at", "2018-05-29 18:25:11.714557"]]
6530
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6531
+  (0.2ms) SAVEPOINT active_record_1
6532
+ 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" = 397 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]
6533
+ 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", "abc123"], ["provider", "mock"], ["app_id", 397], ["created_at", "2018-05-29 18:25:11.719299"], ["updated_at", "2018-05-29 18:25:11.719299"]]
6534
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6535
+ 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" = 397 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]
6536
+  (0.1ms) SAVEPOINT active_record_1
6537
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6539
+  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6540
+  (0.2ms) SAVEPOINT active_record_1
6541
+  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6542
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6543
+  (3.9ms) ROLLBACK
6544
+  (0.2ms) BEGIN
6545
+  (0.2ms) SAVEPOINT active_record_1
6546
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:25:11.745696"], ["updated_at", "2018-05-29 18:25:11.745696"]]
6547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6548
+ 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" = 398 LIMIT $1 [["LIMIT", 1]]
6549
+  (0.2ms) SAVEPOINT active_record_1
6550
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6551
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6552
+  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6553
+  (0.2ms) SAVEPOINT active_record_1
6554
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6555
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6556
+  (4.1ms) ROLLBACK
6557
+  (0.2ms) BEGIN
6558
+  (0.2ms) SAVEPOINT active_record_1
6559
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:25:11.808173"], ["updated_at", "2018-05-29 18:25:11.808173"]]
6560
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6561
+  (0.2ms) SAVEPOINT active_record_1
6562
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 399], ["created_at", "2018-05-29 18:25:11.811745"], ["updated_at", "2018-05-29 18:25:11.811745"]]
6563
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6564
+  (0.2ms) SAVEPOINT active_record_1
6565
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:25:11.815791"], ["updated_at", "2018-05-29 18:25:11.815791"]]
6566
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6567
+  (0.1ms) SAVEPOINT active_record_1
6568
+ 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" = 400 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]
6569
+ 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", "ABCD10"], ["provider", "mock"], ["app_id", 400], ["created_at", "2018-05-29 18:25:11.819555"], ["updated_at", "2018-05-29 18:25:11.819555"]]
6570
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6571
+  (0.2ms) SAVEPOINT active_record_1
6572
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 172], ["device_token_id", 142], ["status", 0], ["created_at", "2018-05-29 18:25:11.823119"]]
6573
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6574
+  (0.1ms) SAVEPOINT active_record_1
6575
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:25:11.826026"], ["updated_at", "2018-05-29 18:25:11.826026"]]
6576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6577
+  (0.2ms) SAVEPOINT active_record_1
6578
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 401], ["created_at", "2018-05-29 18:25:11.828037"], ["updated_at", "2018-05-29 18:25:11.828037"]]
6579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6580
+  (0.1ms) SAVEPOINT active_record_1
6581
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:25:11.830604"], ["updated_at", "2018-05-29 18:25:11.830604"]]
6582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6583
+  (0.1ms) SAVEPOINT active_record_1
6584
+ 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" = 402 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]
6585
+ 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", 402], ["created_at", "2018-05-29 18:25:11.833739"], ["updated_at", "2018-05-29 18:25:11.833739"]]
6586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6587
+  (0.1ms) SAVEPOINT active_record_1
6588
+ SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 173], ["device_token_id", 143], ["status", 0], ["created_at", "2018-05-29 18:25:11.835873"]]
6589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6590
+  (0.1ms) SAVEPOINT active_record_1
6591
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:25:11.838282"], ["updated_at", "2018-05-29 18:25:11.838282"]]
6592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6593
+  (0.2ms) SAVEPOINT active_record_1
6594
+ 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" = 403 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]
6595
+ 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", "ABCD12"], ["provider", "mock"], ["app_id", 403], ["created_at", "2018-05-29 18:25:11.851588"], ["updated_at", "2018-05-29 18:25:11.851588"]]
6596
+ SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 144], ["id", 63]]
6597
+ SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 144], ["id", 64]]
6598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6599
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 144]]
6600
+  (0.2ms) SAVEPOINT active_record_1
6601
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6603
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6604
+  (0.2ms) SAVEPOINT active_record_1
6605
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6606
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6607
+  (5.1ms) ROLLBACK
6608
+  (0.2ms) BEGIN
6609
+  (0.2ms) SAVEPOINT active_record_1
6610
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 18:25:11.881908"], ["updated_at", "2018-05-29 18:25:11.881908"]]
6611
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6612
+  (0.2ms) SAVEPOINT active_record_1
6613
+ 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" = 404 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]
6614
+ 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", "ABCD13"], ["provider", "mock"], ["app_id", 404], ["created_at", "2018-05-29 18:25:11.886600"], ["updated_at", "2018-05-29 18:25:11.886600"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
6615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6616
+  (1.3ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))
6617
+  (0.1ms) SAVEPOINT active_record_1
6618
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6620
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6621
+  (0.2ms) SAVEPOINT active_record_1
6622
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6623
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6624
+  (5.3ms) ROLLBACK
6625
+  (0.2ms) BEGIN
6626
+  (0.2ms) SAVEPOINT active_record_1
6627
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6629
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6630
+  (0.2ms) SAVEPOINT active_record_1
6631
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6632
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6633
+  (5.0ms) ROLLBACK
6634
+  (0.1ms) BEGIN
6635
+  (0.1ms) SAVEPOINT active_record_1
6636
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:11.939089"], ["updated_at", "2018-05-29 18:25:11.939089"]]
6637
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6638
+  (0.2ms) SAVEPOINT active_record_1
6639
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 405], ["created_at", "2018-05-29 18:25:11.944059"], ["updated_at", "2018-05-29 18:25:11.944059"]]
6640
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6641
+  (0.1ms) SAVEPOINT active_record_1
6642
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6644
+  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6645
+  (0.3ms) SAVEPOINT active_record_1
6646
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6647
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6648
+  (5.0ms) ROLLBACK
6649
+  (0.1ms) BEGIN
6650
+  (0.1ms) SAVEPOINT active_record_1
6651
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:11.968254"], ["updated_at", "2018-05-29 18:25:11.968254"]]
6652
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6653
+  (0.2ms) SAVEPOINT active_record_1
6654
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 406], ["created_at", "2018-05-29 18:25:11.971764"], ["updated_at", "2018-05-29 18:25:11.971764"]]
6655
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6656
+  (0.2ms) SAVEPOINT active_record_1
6657
+ 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" = 406 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]
6658
+ 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", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 406], ["created_at", "2018-05-29 18:25:11.976639"], ["updated_at", "2018-05-29 18:25:11.976639"]]
6659
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6660
+  (0.1ms) SAVEPOINT active_record_1
6661
+ 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" = 406 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]
6662
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 406], ["created_at", "2018-05-29 18:25:11.980817"], ["updated_at", "2018-05-29 18:25:11.980817"]]
6663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6664
+  (0.1ms) SAVEPOINT active_record_1
6665
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]]
6666
+ Notifiable::DeviceToken Load (0.5ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 146], ["LIMIT", 1]]
6667
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 175], ["device_token_id", 146], ["status", 0], ["created_at", "2018-05-29 18:25:11.978586"]]
6668
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]]
6669
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 147], ["LIMIT", 1]]
6670
+ SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 175], ["device_token_id", 147], ["status", 0], ["created_at", "2018-05-29 18:25:11.982091"]]
6671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6672
+  (0.1ms) SAVEPOINT active_record_1
6673
+ 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-05-29 18:25:11.994086"], ["id", 175]]
6674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6675
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
6676
+  (0.2ms) SAVEPOINT active_record_1
6677
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6678
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6679
+  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6680
+  (0.2ms) SAVEPOINT active_record_1
6681
+  (0.8ms) 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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6683
+  (5.0ms) ROLLBACK
6684
+  (0.2ms) BEGIN
6685
+  (0.2ms) SAVEPOINT active_record_1
6686
+ SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 21"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.028338"], ["updated_at", "2018-05-29 18:25:12.028338"]]
6687
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6688
+  (0.2ms) SAVEPOINT active_record_1
6689
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 407], ["created_at", "2018-05-29 18:25:12.032796"], ["updated_at", "2018-05-29 18:25:12.032796"]]
6690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6691
+  (0.1ms) SAVEPOINT active_record_1
6692
+ 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" = 407 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]
6693
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.036782"], ["updated_at", "2018-05-29 18:25:12.036782"]]
6694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6695
+  (0.1ms) SAVEPOINT active_record_1
6696
+ 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" = 407 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]
6697
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.039927"], ["updated_at", "2018-05-29 18:25:12.039927"]]
6698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6699
+  (0.1ms) SAVEPOINT active_record_1
6700
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]]
6701
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 148], ["LIMIT", 1]]
6702
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 176], ["device_token_id", 148], ["status", 0], ["created_at", "2018-05-29 18:25:12.038247"]]
6703
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]]
6704
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 149], ["LIMIT", 1]]
6705
+ SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 176], ["device_token_id", 149], ["status", 0], ["created_at", "2018-05-29 18:25:12.041182"]]
6706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6707
+  (0.1ms) SAVEPOINT active_record_1
6708
+ 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-05-29 18:25:12.048590"], ["id", 176]]
6709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6710
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"
6711
+  (0.1ms) SAVEPOINT active_record_1
6712
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6714
+  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6715
+  (0.2ms) SAVEPOINT active_record_1
6716
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6717
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6718
+  (4.8ms) ROLLBACK
6719
+  (0.2ms) BEGIN
6720
+  (0.2ms) SAVEPOINT active_record_1
6721
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.073706"], ["updated_at", "2018-05-29 18:25:12.073706"]]
6722
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6723
+  (0.2ms) SAVEPOINT active_record_1
6724
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 408], ["created_at", "2018-05-29 18:25:12.077386"], ["updated_at", "2018-05-29 18:25:12.077386"]]
6725
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6726
+  (0.1ms) SAVEPOINT active_record_1
6727
+ 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" = 408 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]]
6728
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD18"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.081793"], ["updated_at", "2018-05-29 18:25:12.081793"]]
6729
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6730
+  (0.2ms) SAVEPOINT active_record_1
6731
+ 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" = 408 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]]
6732
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.085392"], ["updated_at", "2018-05-29 18:25:12.085392"]]
6733
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6734
+  (0.2ms) SAVEPOINT active_record_1
6735
+ 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-05-29 18:25:12.087402"], ["id", 177]]
6736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6737
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
6738
+  (0.2ms) SAVEPOINT active_record_1
6739
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6741
+  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6742
+  (0.2ms) SAVEPOINT active_record_1
6743
+  (0.5ms) 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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6744
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6745
+  (5.6ms) ROLLBACK
6746
+  (0.2ms) BEGIN
6747
+  (0.2ms) SAVEPOINT active_record_1
6748
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.114245"], ["updated_at", "2018-05-29 18:25:12.114245"]]
6749
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6750
+  (0.1ms) SAVEPOINT active_record_1
6751
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 409], ["created_at", "2018-05-29 18:25:12.118335"], ["updated_at", "2018-05-29 18:25:12.118335"]]
6752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6753
+  (0.2ms) SAVEPOINT active_record_1
6754
+ 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" = 409 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]]
6755
+ 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", "ABCD20"], ["provider", "mock"], ["locale", "en"], ["app_id", 409], ["created_at", "2018-05-29 18:25:12.122045"], ["updated_at", "2018-05-29 18:25:12.122045"]]
6756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6757
+  (0.2ms) SAVEPOINT active_record_1
6758
+ 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" = 409 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]]
6759
+ SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD21"], ["provider", "mock"], ["locale", "en"], ["app_id", 409], ["created_at", "2018-05-29 18:25:12.125584"], ["updated_at", "2018-05-29 18:25:12.125584"]]
6760
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6761
+  (0.1ms) SAVEPOINT active_record_1
6762
+ 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-05-29 18:25:12.127419"], ["id", 178]]
6763
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6764
+  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"
6765
+  (0.1ms) SAVEPOINT active_record_1
6766
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6768
+  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6769
+  (0.2ms) SAVEPOINT active_record_1
6770
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6772
+  (6.4ms) ROLLBACK
6773
+  (0.2ms) BEGIN
6774
+  (0.1ms) SAVEPOINT active_record_1
6775
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 24"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.153718"], ["updated_at", "2018-05-29 18:25:12.153718"]]
6776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6777
+  (0.1ms) SAVEPOINT active_record_1
6778
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 410], ["created_at", "2018-05-29 18:25:12.156651"], ["updated_at", "2018-05-29 18:25:12.156651"]]
6779
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6780
+  (0.1ms) SAVEPOINT active_record_1
6781
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6782
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6783
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6784
+  (0.2ms) SAVEPOINT active_record_1
6785
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6786
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6787
+  (4.3ms) ROLLBACK
6788
+  (0.2ms) BEGIN
6789
+  (0.2ms) SAVEPOINT active_record_1
6790
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6792
+  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6793
+  (0.2ms) SAVEPOINT active_record_1
6794
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6795
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6796
+  (4.5ms) ROLLBACK
6797
+  (0.2ms) BEGIN
6798
+  (0.2ms) SAVEPOINT active_record_1
6799
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6800
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6801
+  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6802
+  (0.2ms) SAVEPOINT active_record_1
6803
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6804
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6805
+  (4.7ms) ROLLBACK
6806
+  (0.2ms) BEGIN
6807
+  (0.2ms) SAVEPOINT active_record_1
6808
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6809
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6810
+  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6811
+  (0.2ms) SAVEPOINT active_record_1
6812
+  (0.5ms) 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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6813
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6814
+  (4.8ms) ROLLBACK
6815
+  (0.2ms) BEGIN
6816
+  (0.2ms) SAVEPOINT active_record_1
6817
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6819
+  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6820
+  (0.2ms) SAVEPOINT active_record_1
6821
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6822
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6823
+  (4.7ms) ROLLBACK
6824
+  (0.2ms) BEGIN
6825
+  (0.2ms) SAVEPOINT active_record_1
6826
+ SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:25:12.278449"], ["updated_at", "2018-05-29 18:25:12.278449"]]
6827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6828
+  (0.1ms) SAVEPOINT active_record_1
6829
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 411], ["created_at", "2018-05-29 18:25:12.280990"], ["updated_at", "2018-05-29 18:25:12.280990"]]
6830
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6831
+  (0.1ms) SAVEPOINT active_record_1
6832
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6834
+  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6835
+  (0.2ms) SAVEPOINT active_record_1
6836
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6837
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6838
+  (4.8ms) ROLLBACK
6839
+  (0.2ms) BEGIN
6840
+  (0.1ms) SAVEPOINT active_record_1
6841
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:25:12.305359"], ["updated_at", "2018-05-29 18:25:12.305359"]]
6842
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6843
+  (0.1ms) SAVEPOINT active_record_1
6844
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 412], ["created_at", "2018-05-29 18:25:12.307781"], ["updated_at", "2018-05-29 18:25:12.307781"]]
6845
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6846
+  (0.6ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 412]]
6847
+  (0.2ms) SAVEPOINT active_record_1
6848
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6849
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6850
+  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6851
+  (0.2ms) SAVEPOINT active_record_1
6852
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6853
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6854
+  (5.4ms) ROLLBACK
6855
+  (0.1ms) BEGIN
6856
+  (0.1ms) SAVEPOINT active_record_1
6857
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:25:12.334679"], ["updated_at", "2018-05-29 18:25:12.334679"]]
6858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6859
+  (0.1ms) SAVEPOINT active_record_1
6860
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6861
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6862
+  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6863
+  (0.2ms) SAVEPOINT active_record_1
6864
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6866
+  (5.0ms) ROLLBACK
6867
+  (0.1ms) BEGIN
6868
+  (0.1ms) SAVEPOINT active_record_1
6869
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 28"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.359563"], ["updated_at", "2018-05-29 18:25:12.359563"]]
6870
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6871
+  (0.1ms) SAVEPOINT active_record_1
6872
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 414], ["created_at", "2018-05-29 18:25:12.362678"], ["updated_at", "2018-05-29 18:25:12.362678"]]
6873
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6874
+  (0.1ms) SAVEPOINT active_record_1
6875
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6877
+  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6878
+  (0.2ms) SAVEPOINT active_record_1
6879
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6880
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6881
+  (4.7ms) ROLLBACK
6882
+  (0.1ms) BEGIN
6883
+  (0.1ms) SAVEPOINT active_record_1
6884
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:25:12.387607"], ["updated_at", "2018-05-29 18:25:12.387607"]]
6885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6886
+  (0.1ms) SAVEPOINT active_record_1
6887
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 415], ["created_at", "2018-05-29 18:25:12.389755"], ["updated_at", "2018-05-29 18:25:12.389755"]]
6888
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6889
+  (0.2ms) SAVEPOINT active_record_1
6890
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6891
+  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"
6892
+  (0.1ms) SAVEPOINT active_record_1
6893
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6894
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6895
+  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6896
+  (0.2ms) SAVEPOINT active_record_1
6897
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6899
+  (4.8ms) ROLLBACK
6900
+  (0.2ms) BEGIN
6901
+  (0.1ms) SAVEPOINT active_record_1
6902
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.416652"], ["updated_at", "2018-05-29 18:25:12.416652"]]
6903
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6904
+  (0.2ms) SAVEPOINT active_record_1
6905
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 416], ["created_at", "2018-05-29 18:25:12.419651"], ["updated_at", "2018-05-29 18:25:12.419651"]]
6906
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6907
+  (0.1ms) SAVEPOINT active_record_1
6908
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:25:12.422516"], ["updated_at", "2018-05-29 18:25:12.422516"]]
6909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6910
+  (0.1ms) SAVEPOINT active_record_1
6911
+ 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" = 417 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]]
6912
+ 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", "ABCD22"], ["provider", "mock"], ["locale", "en"], ["app_id", 417], ["created_at", "2018-05-29 18:25:12.425470"], ["updated_at", "2018-05-29 18:25:12.425470"]]
6913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6914
+  (0.1ms) SAVEPOINT active_record_1
6915
+ 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-05-29 18:25:12.427574"], ["id", 184]]
6916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6917
+  (0.1ms) SAVEPOINT active_record_1
6918
+ Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 184], ["LIMIT", 1]]
6919
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 154], ["LIMIT", 1]]
6920
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 184], ["device_token_id", 154], ["status", 0], ["created_at", "2018-05-29 18:25:12.426990"]]
6921
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6922
+  (0.1ms) SAVEPOINT active_record_1
6923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6924
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
6925
+  (0.2ms) SAVEPOINT active_record_1
6926
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6927
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6928
+  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6929
+  (0.2ms) SAVEPOINT active_record_1
6930
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6932
+  (4.3ms) ROLLBACK
6933
+  (0.2ms) BEGIN
6934
+  (0.1ms) SAVEPOINT active_record_1
6935
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.456460"], ["updated_at", "2018-05-29 18:25:12.456460"]]
6936
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6937
+  (0.1ms) SAVEPOINT active_record_1
6938
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 418], ["created_at", "2018-05-29 18:25:12.459026"], ["updated_at", "2018-05-29 18:25:12.459026"]]
6939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6940
+  (0.1ms) SAVEPOINT active_record_1
6941
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:25:12.461370"], ["updated_at", "2018-05-29 18:25:12.461370"]]
6942
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6943
+  (0.2ms) SAVEPOINT active_record_1
6944
+ 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" = 419 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]]
6945
+ 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", 419], ["created_at", "2018-05-29 18:25:12.465388"], ["updated_at", "2018-05-29 18:25:12.465388"]]
6946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6947
+  (0.1ms) SAVEPOINT active_record_1
6948
+ 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-05-29 18:25:12.467708"], ["id", 185]]
6949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6950
+  (0.1ms) SAVEPOINT active_record_1
6951
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 185], ["LIMIT", 1]]
6952
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 155], ["LIMIT", 1]]
6953
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 185], ["device_token_id", 155], ["status", 0], ["created_at", "2018-05-29 18:25:12.467116"]]
6954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6955
+  (0.1ms) SAVEPOINT active_record_1
6956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6957
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
6958
+  (0.1ms) SAVEPOINT active_record_1
6959
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6961
+  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6962
+  (0.2ms) SAVEPOINT active_record_1
6963
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6964
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6965
+  (4.6ms) ROLLBACK
6966
+  (0.1ms) BEGIN
6967
+  (0.1ms) SAVEPOINT active_record_1
6968
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 34"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.497066"], ["updated_at", "2018-05-29 18:25:12.497066"]]
6969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6970
+  (0.2ms) SAVEPOINT active_record_1
6971
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 420], ["created_at", "2018-05-29 18:25:12.500103"], ["updated_at", "2018-05-29 18:25:12.500103"]]
6972
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6973
+  (0.2ms) SAVEPOINT active_record_1
6974
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:25:12.503514"], ["updated_at", "2018-05-29 18:25:12.503514"]]
6975
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6976
+  (0.1ms) SAVEPOINT active_record_1
6977
+ 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" = 421 LIMIT $2 [["token", "ABCD24"], ["LIMIT", 1]]
6978
+ 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", 421], ["created_at", "2018-05-29 18:25:12.506710"], ["updated_at", "2018-05-29 18:25:12.506710"]]
6979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6980
+  (0.1ms) SAVEPOINT active_record_1
6981
+ 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-05-29 18:25:12.508840"], ["id", 186]]
6982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6983
+  (0.1ms) SAVEPOINT active_record_1
6984
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 186], ["LIMIT", 1]]
6985
+ Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]]
6986
+ SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 186], ["device_token_id", 156], ["status", 0], ["created_at", "2018-05-29 18:25:12.508291"]]
6987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6988
+  (0.1ms) SAVEPOINT active_record_1
6989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6990
+ Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
6991
+  (0.2ms) SAVEPOINT active_record_1
6992
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
6993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6994
+  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
6995
+  (0.2ms) SAVEPOINT active_record_1
6996
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
6997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6998
+  (4.8ms) ROLLBACK
6999
+  (0.2ms) BEGIN
7000
+  (0.1ms) SAVEPOINT active_record_1
7001
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 36"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.538283"], ["updated_at", "2018-05-29 18:25:12.538283"]]
7002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7003
+  (0.1ms) SAVEPOINT active_record_1
7004
+ SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 422], ["created_at", "2018-05-29 18:25:12.540790"], ["updated_at", "2018-05-29 18:25:12.540790"]]
7005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7006
+  (0.1ms) SAVEPOINT active_record_1
7007
+ SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 18:25:12.543145"], ["updated_at", "2018-05-29 18:25:12.543145"]]
7008
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7009
+  (0.2ms) SAVEPOINT active_record_1
7010
+ 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" = 423 LIMIT $2 [["token", "ABCD25"], ["LIMIT", 1]]
7011
+ 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", "ABCD25"], ["provider", "mock"], ["locale", "en"], ["app_id", 423], ["created_at", "2018-05-29 18:25:12.547273"], ["updated_at", "2018-05-29 18:25:12.547273"]]
7012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7013
+  (0.2ms) SAVEPOINT active_record_1
7014
+ 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-05-29 18:25:12.549815"], ["id", 187]]
7015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7016
+  (0.1ms) SAVEPOINT active_record_1
7017
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 187], ["LIMIT", 1]]
7018
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]]
7019
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 187], ["device_token_id", 157], ["status", 0], ["created_at", "2018-05-29 18:25:12.549189"]]
7020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7021
+  (0.1ms) SAVEPOINT active_record_1
7022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7023
+  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"
7024
+  (0.1ms) SAVEPOINT active_record_1
7025
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7027
+  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7028
+  (0.3ms) SAVEPOINT active_record_1
7029
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7030
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7031
+  (3.9ms) ROLLBACK
7032
+  (0.2ms) BEGIN
7033
+  (0.1ms) SAVEPOINT active_record_1
7034
+ SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 38"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.579704"], ["updated_at", "2018-05-29 18:25:12.579704"]]
7035
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7036
+  (0.2ms) SAVEPOINT active_record_1
7037
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 424], ["created_at", "2018-05-29 18:25:12.583164"], ["updated_at", "2018-05-29 18:25:12.583164"]]
7038
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7039
+  (0.1ms) SAVEPOINT active_record_1
7040
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-05-29 18:25:12.586018"], ["updated_at", "2018-05-29 18:25:12.586018"]]
7041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7042
+  (0.1ms) SAVEPOINT active_record_1
7043
+ 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" = 425 LIMIT $2 [["token", "ABCD26"], ["LIMIT", 1]]
7044
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD26"], ["provider", "mock"], ["locale", "en"], ["app_id", 425], ["created_at", "2018-05-29 18:25:12.589005"], ["updated_at", "2018-05-29 18:25:12.589005"]]
7045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7046
+  (0.2ms) SAVEPOINT active_record_1
7047
+ 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-05-29 18:25:12.591202"], ["id", 188]]
7048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7049
+  (0.1ms) SAVEPOINT active_record_1
7050
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 188], ["LIMIT", 1]]
7051
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]]
7052
+ SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 188], ["device_token_id", 158], ["status", 0], ["created_at", "2018-05-29 18:25:12.590559"]]
7053
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7054
+  (0.2ms) SAVEPOINT active_record_1
7055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7056
+ Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]
7057
+  (0.1ms) SAVEPOINT active_record_1
7058
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7060
+  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7061
+  (0.2ms) SAVEPOINT active_record_1
7062
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7064
+  (4.7ms) ROLLBACK
7065
+  (0.1ms) BEGIN
7066
+  (0.1ms) SAVEPOINT active_record_1
7067
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 40"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.620363"], ["updated_at", "2018-05-29 18:25:12.620363"]]
7068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7069
+  (0.1ms) SAVEPOINT active_record_1
7070
+ SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 426], ["created_at", "2018-05-29 18:25:12.622976"], ["updated_at", "2018-05-29 18:25:12.622976"]]
7071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7072
+  (0.2ms) SAVEPOINT active_record_1
7073
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 41"], ["created_at", "2018-05-29 18:25:12.625518"], ["updated_at", "2018-05-29 18:25:12.625518"]]
7074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7075
+  (0.2ms) SAVEPOINT active_record_1
7076
+ 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" = 427 LIMIT $2 [["token", "ABCD27"], ["LIMIT", 1]]
7077
+ SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD27"], ["provider", "mock"], ["locale", "en"], ["app_id", 427], ["created_at", "2018-05-29 18:25:12.630167"], ["updated_at", "2018-05-29 18:25:12.630167"]]
7078
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7079
+  (0.1ms) SAVEPOINT active_record_1
7080
+ 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-05-29 18:25:12.632791"], ["id", 189]]
7081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7082
+  (0.1ms) SAVEPOINT active_record_1
7083
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 189], ["LIMIT", 1]]
7084
+ Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 159], ["LIMIT", 1]]
7085
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 189], ["device_token_id", 159], ["status", 0], ["created_at", "2018-05-29 18:25:12.632143"]]
7086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7087
+  (0.2ms) SAVEPOINT active_record_1
7088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7089
+ Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]
7090
+  (0.1ms) SAVEPOINT active_record_1
7091
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7093
+  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7094
+  (0.2ms) SAVEPOINT active_record_1
7095
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7097
+  (5.0ms) ROLLBACK
7098
+  (0.2ms) BEGIN
7099
+  (0.1ms) SAVEPOINT active_record_1
7100
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 42"], ["created_at", "2018-05-29 18:25:12.663731"], ["updated_at", "2018-05-29 18:25:12.663731"]]
7101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7102
+  (0.1ms) SAVEPOINT active_record_1
7103
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 428], ["created_at", "2018-05-29 18:25:12.666048"], ["updated_at", "2018-05-29 18:25:12.666048"]]
7104
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7105
+  (0.2ms) SAVEPOINT active_record_1
7106
+ SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 43"], ["created_at", "2018-05-29 18:25:12.669564"], ["updated_at", "2018-05-29 18:25:12.669564"]]
7107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7108
+  (0.1ms) SAVEPOINT active_record_1
7109
+ 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" = 429 LIMIT $2 [["token", "ABCD28"], ["LIMIT", 1]]
7110
+ SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD28"], ["provider", "mock"], ["app_id", 429], ["created_at", "2018-05-29 18:25:12.672714"], ["updated_at", "2018-05-29 18:25:12.672714"]]
7111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7112
+  (0.1ms) SAVEPOINT active_record_1
7113
+ SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 190], ["device_token_id", 160], ["status", 0], ["created_at", "2018-05-29 18:25:12.674537"]]
7114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7115
+  (0.1ms) SAVEPOINT active_record_1
7116
+ Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 190]]
7117
+ SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 75]]
7118
+ SQL (0.3ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 190]]
7119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7120
+  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"
7121
+  (0.1ms) SAVEPOINT active_record_1
7122
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7124
+  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7125
+  (0.2ms) SAVEPOINT active_record_1
7126
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7128
+  (5.1ms) ROLLBACK
7129
+  (0.2ms) BEGIN
7130
+  (0.1ms) SAVEPOINT active_record_1
7131
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 44"], ["created_at", "2018-05-29 18:25:12.702658"], ["updated_at", "2018-05-29 18:25:12.702658"]]
7132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7133
+  (0.1ms) SAVEPOINT active_record_1
7134
+ SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 430], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:25:12.704700"], ["updated_at", "2018-05-29 18:25:12.704700"]]
7135
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7136
+  (0.2ms) SAVEPOINT active_record_1
7137
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7138
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7139
+  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7140
+  (0.2ms) SAVEPOINT active_record_1
7141
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7142
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7143
+  (4.4ms) ROLLBACK
7144
+  (0.2ms) BEGIN
7145
+  (0.1ms) SAVEPOINT active_record_1
7146
+ SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 45"], ["created_at", "2018-05-29 18:25:12.731518"], ["updated_at", "2018-05-29 18:25:12.731518"]]
7147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7148
+  (0.1ms) SAVEPOINT active_record_1
7149
+ SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 431], ["created_at", "2018-05-29 18:25:12.733822"], ["updated_at", "2018-05-29 18:25:12.733822"]]
7150
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7151
+  (0.1ms) SAVEPOINT active_record_1
7152
+ SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:25:12.736673"], ["last_error_message", "SSL error occured"], ["id", 192]]
7153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7154
+  (0.1ms) SAVEPOINT active_record_1
7155
+  (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_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL
7156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7157
+  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;
7158
+  (0.2ms) SAVEPOINT active_record_1
7159
+  (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_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL
7160
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7161
+  (3.8ms) ROLLBACK