notifiable-rails 0.27.0 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifiable/device_token.rb +12 -1
- data/lib/notifiable/version.rb +1 -1
- data/spec/model/device_token_spec.rb +2 -2
- data/spec/test_app/log/test.log +2265 -0
- metadata +1 -1
data/spec/test_app/log/test.log
CHANGED
@@ -4894,3 +4894,2268 @@ Migrating to AddLanguageAndCountryToDeviceTokens (201805292135000)
|
|
4894
4894
|
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4895
4895
|
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4896
4896
|
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
4897
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5131134053504291175)[0m
|
4898
|
+
[1m[35m (2.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4899
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
4900
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4901
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
4902
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(5131134053504291175)[0m
|
4903
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
4904
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4905
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 1"], ["configuration", "---\n: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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4907
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4908
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 300], ["created_at", "2018-05-29 18:24:25.636821"], ["updated_at", "2018-05-29 18:24:25.636821"]]
|
4909
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4910
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4911
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4912
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4913
|
+
[1m[35m (2.4ms)[0m [1m[34m 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
|
+
[0m
|
4920
|
+
[1m[35m (1.5ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'notifiable-rails-test'[0m
|
4921
|
+
[1m[35m (13.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4922
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4923
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "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[0m
|
4924
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4925
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
4926
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4927
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4928
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4929
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4930
|
+
[1m[35m (11.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4931
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4932
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4933
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4934
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
4935
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4936
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4937
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4938
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4939
|
+
[1m[35m (10.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4940
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4941
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4942
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4943
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
4944
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4945
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4946
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4947
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4948
|
+
[1m[35m (10.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4949
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4950
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4951
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4952
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
4953
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
4954
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4955
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4956
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4957
|
+
[1m[35m (10.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4958
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4959
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4960
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4961
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
4962
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4963
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4964
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 2"], ["created_at", "2018-05-29 18:24:25.761957"], ["updated_at", "2018-05-29 18:24:25.761957"]]
|
4965
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4966
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4967
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 301], ["created_at", "2018-05-29 18:24:25.764753"], ["updated_at", "2018-05-29 18:24:25.764753"]]
|
4968
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4969
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4970
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4971
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4972
|
+
[1m[35m (9.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4973
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4974
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4975
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4976
|
+
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
|
4977
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4978
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4979
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 3"], ["created_at", "2018-05-29 18:24:25.787222"], ["updated_at", "2018-05-29 18:24:25.787222"]]
|
4980
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4981
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4982
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 302], ["created_at", "2018-05-29 18:24:25.789805"], ["updated_at", "2018-05-29 18:24:25.789805"]]
|
4983
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4984
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1[0m [["app_id", 302]]
|
4985
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4986
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4987
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4988
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
4989
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4990
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
4991
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4992
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
4993
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
4994
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4995
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 4"], ["created_at", "2018-05-29 18:24:25.823873"], ["updated_at", "2018-05-29 18:24:25.823873"]]
|
4996
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
4997
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
4998
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
4999
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5000
|
+
[1m[35m (10.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5001
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5002
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5003
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5004
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
5005
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5006
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5007
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 5"], ["created_at", "2018-05-29 18:24:25.846505"], ["updated_at", "2018-05-29 18:24:25.846505"]]
|
5008
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5009
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5010
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 304], ["created_at", "2018-05-29 18:24:25.848814"], ["updated_at", "2018-05-29 18:24:25.848814"]]
|
5011
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5012
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5013
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:25.851006"], ["last_error_message", "SSL error occured"], ["id", 134]]
|
5014
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5015
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5016
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5017
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5018
|
+
[1m[35m (10.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5019
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5020
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5021
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5022
|
+
[1m[35m (3.7ms)[0m [1m[31mROLLBACK[0m
|
5023
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5024
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5025
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 6"], ["created_at", "2018-05-29 18:24:25.873706"], ["updated_at", "2018-05-29 18:24:25.873706"]]
|
5026
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5027
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5028
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5030
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5031
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5032
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5033
|
+
[1m[35m (9.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5034
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5035
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5036
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5037
|
+
[1m[35m (4.0ms)[0m [1m[31mROLLBACK[0m
|
5038
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5039
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5040
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 7"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:25.900719"], ["updated_at", "2018-05-29 18:24:25.900719"]]
|
5041
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5042
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5043
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 306], ["created_at", "2018-05-29 18:24:25.904046"], ["updated_at", "2018-05-29 18:24:25.904046"]]
|
5044
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5045
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5046
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 8"], ["created_at", "2018-05-29 18:24:25.960335"], ["updated_at", "2018-05-29 18:24:25.960335"]]
|
5047
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5048
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5049
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 307 LIMIT $2[0m [["token", "ABCD1"], ["LIMIT", 1]]
|
5050
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5051
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5052
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:25.971543"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 136]]
|
5053
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5054
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5055
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5056
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5057
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5058
|
+
[1m[35m (10.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5059
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5060
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5061
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5062
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
5063
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5064
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5065
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 9"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.022171"], ["updated_at", "2018-05-29 18:24:26.022171"]]
|
5066
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5067
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5068
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 308], ["created_at", "2018-05-29 18:24:26.025396"], ["updated_at", "2018-05-29 18:24:26.025396"]]
|
5069
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5070
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5071
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 10"], ["created_at", "2018-05-29 18:24:26.028544"], ["updated_at", "2018-05-29 18:24:26.028544"]]
|
5072
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5073
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5074
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 309 LIMIT $2[0m [["token", "ABCD2"], ["LIMIT", 1]]
|
5075
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5076
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5077
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:26.036071"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 137]]
|
5078
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5079
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5080
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5081
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5082
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5083
|
+
[1m[35m (10.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5084
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5085
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5086
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5087
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
5088
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5089
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5090
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5092
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5093
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 310], ["created_at", "2018-05-29 18:24:26.069361"], ["updated_at", "2018-05-29 18:24:26.069361"]]
|
5094
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5095
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5096
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 12"], ["created_at", "2018-05-29 18:24:26.073876"], ["updated_at", "2018-05-29 18:24:26.073876"]]
|
5097
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5098
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5099
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 311 LIMIT $2[0m [["token", "ABCD3"], ["LIMIT", 1]]
|
5100
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5101
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5102
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:26.083040"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 138]]
|
5103
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5104
|
+
[1m[36mNotifiable::Notification Load (0.6ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5105
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5106
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5107
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5108
|
+
[1m[35m (14.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5109
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5110
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5111
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5112
|
+
[1m[35m (5.5ms)[0m [1m[31mROLLBACK[0m
|
5113
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5114
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5115
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5117
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5118
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 312], ["created_at", "2018-05-29 18:24:26.122733"], ["updated_at", "2018-05-29 18:24:26.122733"]]
|
5119
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5120
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5121
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 14"], ["created_at", "2018-05-29 18:24:26.128205"], ["updated_at", "2018-05-29 18:24:26.128205"]]
|
5122
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5123
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5124
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 313 LIMIT $2[0m [["token", "ABCD4"], ["LIMIT", 1]]
|
5125
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5126
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5127
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:26.136846"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 139]]
|
5128
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5129
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5130
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5131
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5132
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5133
|
+
[1m[35m (13.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5134
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5135
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5136
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5137
|
+
[1m[35m (5.5ms)[0m [1m[31mROLLBACK[0m
|
5138
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
5139
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5140
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5142
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5143
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 314], ["created_at", "2018-05-29 18:24:26.175344"], ["updated_at", "2018-05-29 18:24:26.175344"]]
|
5144
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5145
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5146
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 16"], ["created_at", "2018-05-29 18:24:26.181270"], ["updated_at", "2018-05-29 18:24:26.181270"]]
|
5147
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5148
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5149
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 315 LIMIT $2[0m [["token", "ABCD5"], ["LIMIT", 1]]
|
5150
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5151
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5152
|
+
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:26.191067"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 140]]
|
5153
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5154
|
+
[1m[36mNotifiable::NotificationStatus Load (0.5ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5155
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5156
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5157
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5158
|
+
[1m[35m (12.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5159
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5160
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5161
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5162
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
5163
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5164
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5165
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5167
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5168
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 316], ["created_at", "2018-05-29 18:24:26.232951"], ["updated_at", "2018-05-29 18:24:26.232951"]]
|
5169
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5170
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5171
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 18"], ["created_at", "2018-05-29 18:24:26.237952"], ["updated_at", "2018-05-29 18:24:26.237952"]]
|
5172
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5173
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5174
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 317 LIMIT $2[0m [["token", "ABCD6"], ["LIMIT", 1]]
|
5175
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5176
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5177
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:26.246137"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 141]]
|
5178
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5179
|
+
[1m[36mNotifiable::NotificationStatus Load (0.4ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5180
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5181
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5182
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5183
|
+
[1m[35m (9.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5184
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5185
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5186
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5187
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
5188
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5189
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5190
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 19"], ["created_at", "2018-05-29 18:24:26.270552"], ["updated_at", "2018-05-29 18:24:26.270552"]]
|
5191
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5192
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5193
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 318], ["created_at", "2018-05-29 18:24:26.273291"], ["updated_at", "2018-05-29 18:24:26.273291"]]
|
5194
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5195
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5196
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5197
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5198
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5199
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5200
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5201
|
+
[1m[35m (9.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5202
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5203
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5204
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5205
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
5206
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5207
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5208
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 20"], ["created_at", "2018-05-29 18:24:26.306473"], ["updated_at", "2018-05-29 18:24:26.306473"]]
|
5209
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5210
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5211
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 319], ["created_at", "2018-05-29 18:24:26.308948"], ["updated_at", "2018-05-29 18:24:26.308948"]]
|
5212
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5213
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5214
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 21"], ["created_at", "2018-05-29 18:24:26.317396"], ["updated_at", "2018-05-29 18:24:26.317396"]]
|
5215
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5216
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5217
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 320 LIMIT $2[0m [["token", "ABCD7"], ["LIMIT", 1]]
|
5218
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5219
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5220
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5221
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5222
|
+
[1m[35m (11.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5223
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5224
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5225
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5226
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
5227
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5228
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5229
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 22"], ["created_at", "2018-05-29 18:24:26.343082"], ["updated_at", "2018-05-29 18:24:26.343082"]]
|
5230
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5231
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5232
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 321 LIMIT $2[0m [["token", "ABCD8"], ["LIMIT", 1]]
|
5233
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5234
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5235
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5236
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5237
|
+
[1m[35m (10.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5238
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5239
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5240
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5241
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
5242
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5243
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5244
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 23"], ["created_at", "2018-05-29 18:24:26.369177"], ["updated_at", "2018-05-29 18:24:26.369177"]]
|
5245
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5246
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5247
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 322 LIMIT $2[0m [["token", "ABCD9"], ["LIMIT", 1]]
|
5248
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5249
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5250
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5251
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5252
|
+
[1m[35m (10.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5253
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5254
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5255
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5256
|
+
[1m[35m (3.7ms)[0m [1m[31mROLLBACK[0m
|
5257
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5258
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5259
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 24"], ["created_at", "2018-05-29 18:24:26.394168"], ["updated_at", "2018-05-29 18:24:26.394168"]]
|
5260
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5261
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5262
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 323], ["created_at", "2018-05-29 18:24:26.396329"], ["updated_at", "2018-05-29 18:24:26.396329"]]
|
5263
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5264
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5265
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 25"], ["created_at", "2018-05-29 18:24:26.398803"], ["updated_at", "2018-05-29 18:24:26.398803"]]
|
5266
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5267
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5268
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 324 LIMIT $2[0m [["token", "ABCD10"], ["LIMIT", 1]]
|
5269
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5270
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5271
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5272
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5273
|
+
[1m[35m (10.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5274
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5275
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5276
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5277
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
5278
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5279
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5280
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 26"], ["created_at", "2018-05-29 18:24:26.422478"], ["updated_at", "2018-05-29 18:24:26.422478"]]
|
5281
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5282
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5283
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 325 LIMIT $2[0m [["token", "ABCD11"], ["LIMIT", 1]]
|
5284
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5285
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5286
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5287
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5288
|
+
[1m[35m (8.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5289
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5290
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5291
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5292
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
5293
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5294
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5295
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 27"], ["created_at", "2018-05-29 18:24:26.443764"], ["updated_at", "2018-05-29 18:24:26.443764"]]
|
5296
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5297
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 326 LIMIT $2[0m [["token", ""], ["LIMIT", 1]]
|
5298
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5299
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5300
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5301
|
+
[1m[35m (9.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5302
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5303
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5304
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5305
|
+
[1m[35m (3.4ms)[0m [1m[31mROLLBACK[0m
|
5306
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5307
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5308
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 28"], ["created_at", "2018-05-29 18:24:26.465361"], ["updated_at", "2018-05-29 18:24:26.465361"]]
|
5309
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5310
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5311
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 327 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
5312
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5313
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5314
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5315
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5316
|
+
[1m[35m (8.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5317
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5318
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5319
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5320
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
5321
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5322
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5323
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 29"], ["created_at", "2018-05-29 18:24:26.486559"], ["updated_at", "2018-05-29 18:24:26.486559"]]
|
5324
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5325
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 328 LIMIT $1[0m [["LIMIT", 1]]
|
5326
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5327
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5328
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5329
|
+
[1m[35m (8.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5330
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5331
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5332
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5333
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
5334
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5336
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 30"], ["created_at", "2018-05-29 18:24:26.506759"], ["updated_at", "2018-05-29 18:24:26.506759"]]
|
5337
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5338
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5339
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 329 LIMIT $2[0m [["token", "ABCD12"], ["LIMIT", 1]]
|
5340
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5341
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5342
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5343
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5344
|
+
[1m[35m (10.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5345
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5346
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5347
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5348
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
5349
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5350
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5351
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 31"], ["created_at", "2018-05-29 18:24:26.529083"], ["updated_at", "2018-05-29 18:24:26.529083"]]
|
5352
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5353
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5354
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 330 LIMIT $2[0m [["token", "ABCD13"], ["LIMIT", 1]]
|
5355
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5356
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5357
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5358
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5359
|
+
[1m[35m (8.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5361
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5362
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5363
|
+
[1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
|
5364
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5365
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5366
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 32"], ["created_at", "2018-05-29 18:24:26.549544"], ["updated_at", "2018-05-29 18:24:26.549544"]]
|
5367
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5368
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5369
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 331 LIMIT $2[0m [["token", "ABCD14"], ["LIMIT", 1]]
|
5370
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5371
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5372
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5373
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5374
|
+
[1m[35m (9.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5375
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5376
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5377
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5378
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
5379
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5380
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5381
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 33"], ["created_at", "2018-05-29 18:24:26.572114"], ["updated_at", "2018-05-29 18:24:26.572114"]]
|
5382
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5383
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5384
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 332 LIMIT $2[0m [["token", "ABCD15"], ["LIMIT", 1]]
|
5385
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5386
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5387
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5388
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5389
|
+
[1m[35m (10.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5390
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5391
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5392
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5393
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
5394
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5395
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5396
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 34"], ["created_at", "2018-05-29 18:24:26.594794"], ["updated_at", "2018-05-29 18:24:26.594794"]]
|
5397
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5398
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5399
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 333 LIMIT $2[0m [["token", "ABCD16"], ["LIMIT", 1]]
|
5400
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5401
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5402
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5403
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5404
|
+
[1m[35m (9.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5405
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5406
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5407
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5408
|
+
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m
|
5409
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5410
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5411
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 35"], ["created_at", "2018-05-29 18:24:26.617201"], ["updated_at", "2018-05-29 18:24:26.617201"]]
|
5412
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5413
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5414
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 334 LIMIT $2[0m [["token", "ABCD17"], ["LIMIT", 1]]
|
5415
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5416
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5417
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5418
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5419
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5420
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5421
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5422
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5423
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
5424
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5425
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5426
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 36"], ["created_at", "2018-05-29 18:24:26.639677"], ["updated_at", "2018-05-29 18:24:26.639677"]]
|
5427
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5428
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5429
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 335 LIMIT $2[0m [["token", "ABCD18"], ["LIMIT", 1]]
|
5430
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5431
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5432
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5433
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5434
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5435
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5436
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5437
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5438
|
+
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m
|
5439
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5440
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5441
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5442
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5443
|
+
[1m[35m (9.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5444
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5445
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5446
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5447
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
5448
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5449
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5450
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5452
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5453
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 336], ["created_at", "2018-05-29 18:24:26.683382"], ["updated_at", "2018-05-29 18:24:26.683382"]]
|
5454
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5455
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5456
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5457
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5458
|
+
[1m[35m (10.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5459
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5460
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5461
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5462
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
5463
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5464
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5465
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5467
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5468
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 337], ["created_at", "2018-05-29 18:24:26.708276"], ["updated_at", "2018-05-29 18:24:26.708276"]]
|
5469
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5470
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5471
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 337 LIMIT $2[0m [["token", "ABCD19"], ["LIMIT", 1]]
|
5472
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5473
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5474
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5475
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5476
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5477
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5478
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5479
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5480
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
5481
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5482
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5483
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5485
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5486
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 338], ["created_at", "2018-05-29 18:24:26.735369"], ["updated_at", "2018-05-29 18:24:26.735369"]]
|
5487
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5488
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5489
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 338 LIMIT $2[0m [["token", "ABCD20"], ["LIMIT", 1]]
|
5490
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5491
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5492
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5493
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5494
|
+
[1m[35m (9.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5495
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5496
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5497
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5498
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
5499
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5500
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5501
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5503
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5504
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 339], ["created_at", "2018-05-29 18:24:26.760680"], ["updated_at", "2018-05-29 18:24:26.760680"]]
|
5505
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5506
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5507
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 339 LIMIT $2[0m [["token", "ABCD21"], ["LIMIT", 1]]
|
5508
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5509
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5510
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5511
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5512
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5513
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5514
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5515
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5516
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
5517
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5518
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5519
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5521
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5522
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 340], ["created_at", "2018-05-29 18:24:26.786719"], ["updated_at", "2018-05-29 18:24:26.786719"]]
|
5523
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5524
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5525
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 340 LIMIT $2[0m [["token", "ABCD22"], ["LIMIT", 1]]
|
5526
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
5527
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5528
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5529
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5530
|
+
[1m[35m (10.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5531
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5532
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5533
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5534
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
5535
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5536
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5537
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5539
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5540
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 341], ["created_at", "2018-05-29 18:24:26.812360"], ["updated_at", "2018-05-29 18:24:26.812360"]]
|
5541
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5542
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5543
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5544
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5545
|
+
[1m[35m (8.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5546
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5547
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5548
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5549
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
5550
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(5131134053504291175)[0m
|
5551
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5552
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
5553
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5554
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
5555
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(5131134053504291175)[0m
|
5556
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5557
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5558
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 1"], ["created_at", "2018-05-29 18:24:46.231617"], ["updated_at", "2018-05-29 18:24:46.231617"]]
|
5559
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5560
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5561
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 342], ["created_at", "2018-05-29 18:24:46.240011"], ["updated_at", "2018-05-29 18:24:46.240011"]]
|
5562
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5563
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5564
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 2"], ["created_at", "2018-05-29 18:24:46.276426"], ["updated_at", "2018-05-29 18:24:46.276426"]]
|
5565
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5566
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5567
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 343 LIMIT $2[0m [["token", "ABCD1"], ["LIMIT", 1]]
|
5568
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5570
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5571
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 151], ["device_token_id", 103], ["status", 0], ["created_at", "2018-05-29 18:24:46.285561"]]
|
5572
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5573
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5574
|
+
[1m[36mNotifiable::NotificationStatus Load (0.4ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1[0m [["notification_id", 151]]
|
5575
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1[0m [["id", 50]]
|
5576
|
+
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1[0m [["id", 151]]
|
5577
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5578
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5579
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5580
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5581
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5582
|
+
[1m[35m (2.3ms)[0m [1m[34m 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
|
+
[0m
|
5589
|
+
[1m[35m (1.3ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'notifiable-rails-test'[0m
|
5590
|
+
[1m[35m (12.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5591
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5592
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "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[0m
|
5593
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5594
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
5595
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5596
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5597
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 3"], ["created_at", "2018-05-29 18:24:46.332656"], ["updated_at", "2018-05-29 18:24:46.332656"]]
|
5598
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5599
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5600
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 344], ["created_at", "2018-05-29 18:24:46.335555"], ["updated_at", "2018-05-29 18:24:46.335555"]]
|
5601
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5602
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5603
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:24:46.338571"], ["last_error_message", "SSL error occured"], ["id", 152]]
|
5604
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5605
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5606
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5607
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5608
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5609
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5610
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5611
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5612
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
5613
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5614
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5615
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 4"], ["created_at", "2018-05-29 18:24:46.364964"], ["updated_at", "2018-05-29 18:24:46.364964"]]
|
5616
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5617
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5618
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5620
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5621
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5622
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5623
|
+
[1m[35m (12.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5624
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5625
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5626
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5627
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
5628
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5629
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5630
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5632
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5633
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 346], ["created_at", "2018-05-29 18:24:46.401053"], ["updated_at", "2018-05-29 18:24:46.401053"]]
|
5634
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5635
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5636
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 6"], ["created_at", "2018-05-29 18:24:46.404046"], ["updated_at", "2018-05-29 18:24:46.404046"]]
|
5637
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5638
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5639
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 347 LIMIT $2[0m [["token", "ABCD2"], ["LIMIT", 1]]
|
5640
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD2"], ["provider", "mock"], ["locale", "en"], ["app_id", 347], ["created_at", "2018-05-29 18:24:46.407292"], ["updated_at", "2018-05-29 18:24:46.407292"]]
|
5641
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5642
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5643
|
+
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.411023"], ["id", 154]]
|
5644
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5645
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5646
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 154], ["LIMIT", 1]]
|
5647
|
+
[1m[36mNotifiable::DeviceToken Load (0.9ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 104], ["LIMIT", 1]]
|
5648
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 154], ["device_token_id", 104], ["status", 0], ["created_at", "2018-05-29 18:24:46.409941"]]
|
5649
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5650
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5651
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5652
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5653
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5654
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5655
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5656
|
+
[1m[35m (13.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5657
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5658
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5659
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5660
|
+
[1m[35m (4.2ms)[0m [1m[31mROLLBACK[0m
|
5661
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5662
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5663
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 7"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.450788"], ["updated_at", "2018-05-29 18:24:46.450788"]]
|
5664
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5665
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5666
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 348], ["created_at", "2018-05-29 18:24:46.454908"], ["updated_at", "2018-05-29 18:24:46.454908"]]
|
5667
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5668
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5669
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 8"], ["created_at", "2018-05-29 18:24:46.457879"], ["updated_at", "2018-05-29 18:24:46.457879"]]
|
5670
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5671
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5672
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 349 LIMIT $2[0m [["token", "ABCD3"], ["LIMIT", 1]]
|
5673
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5675
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5676
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.463875"], ["id", 155]]
|
5677
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5678
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5679
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 155], ["LIMIT", 1]]
|
5680
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 105], ["LIMIT", 1]]
|
5681
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 155], ["device_token_id", 105], ["status", 0], ["created_at", "2018-05-29 18:24:46.463275"]]
|
5682
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5683
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5684
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5685
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5686
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5687
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5688
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5689
|
+
[1m[35m (10.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5690
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5691
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5692
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5693
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
5694
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5696
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5698
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5699
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 350], ["created_at", "2018-05-29 18:24:46.496914"], ["updated_at", "2018-05-29 18:24:46.496914"]]
|
5700
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5701
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5702
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 10"], ["created_at", "2018-05-29 18:24:46.499638"], ["updated_at", "2018-05-29 18:24:46.499638"]]
|
5703
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5704
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5705
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 351 LIMIT $2[0m [["token", "ABCD4"], ["LIMIT", 1]]
|
5706
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5708
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5709
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.506779"], ["id", 156]]
|
5710
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5711
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5712
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 156], ["LIMIT", 1]]
|
5713
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 106], ["LIMIT", 1]]
|
5714
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 156], ["device_token_id", 106], ["status", 0], ["created_at", "2018-05-29 18:24:46.506161"]]
|
5715
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5716
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5717
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5718
|
+
[1m[36mNotifiable::NotificationStatus Load (0.2ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5719
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5720
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5721
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5722
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5723
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5724
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5725
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5726
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
5727
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5728
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5729
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 11"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.537195"], ["updated_at", "2018-05-29 18:24:46.537195"]]
|
5730
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5731
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5732
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 352], ["created_at", "2018-05-29 18:24:46.540372"], ["updated_at", "2018-05-29 18:24:46.540372"]]
|
5733
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5734
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5735
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 12"], ["created_at", "2018-05-29 18:24:46.544102"], ["updated_at", "2018-05-29 18:24:46.544102"]]
|
5736
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5737
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5738
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 353 LIMIT $2[0m [["token", "ABCD5"], ["LIMIT", 1]]
|
5739
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5741
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5742
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.550507"], ["id", 157]]
|
5743
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5744
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5745
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
|
5746
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 107], ["LIMIT", 1]]
|
5747
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 157], ["device_token_id", 107], ["status", 0], ["created_at", "2018-05-29 18:24:46.549908"]]
|
5748
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5749
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5750
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5751
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5752
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5753
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5754
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5755
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5756
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5757
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5758
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5759
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
5760
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5761
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5762
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5764
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5765
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 354], ["created_at", "2018-05-29 18:24:46.583781"], ["updated_at", "2018-05-29 18:24:46.583781"]]
|
5766
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5767
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5768
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 14"], ["created_at", "2018-05-29 18:24:46.586761"], ["updated_at", "2018-05-29 18:24:46.586761"]]
|
5769
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5770
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5771
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 355 LIMIT $2[0m [["token", "ABCD6"], ["LIMIT", 1]]
|
5772
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD6"], ["provider", "mock"], ["locale", "en"], ["app_id", 355], ["created_at", "2018-05-29 18:24:46.591709"], ["updated_at", "2018-05-29 18:24:46.591709"]]
|
5773
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5774
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5775
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.594412"], ["id", 158]]
|
5776
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5777
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5778
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 158], ["LIMIT", 1]]
|
5779
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 108], ["LIMIT", 1]]
|
5780
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 158], ["device_token_id", 108], ["status", 0], ["created_at", "2018-05-29 18:24:46.593774"]]
|
5781
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5782
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5783
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5784
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5785
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5786
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5787
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5788
|
+
[1m[35m (10.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5789
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5790
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5791
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5792
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
5793
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5794
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5795
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5797
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5798
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 356], ["created_at", "2018-05-29 18:24:46.627893"], ["updated_at", "2018-05-29 18:24:46.627893"]]
|
5799
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5800
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5801
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 16"], ["created_at", "2018-05-29 18:24:46.631680"], ["updated_at", "2018-05-29 18:24:46.631680"]]
|
5802
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5803
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5804
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 357 LIMIT $2[0m [["token", "ABCD7"], ["LIMIT", 1]]
|
5805
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5807
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5808
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.637980"], ["id", 159]]
|
5809
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5810
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5811
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 159], ["LIMIT", 1]]
|
5812
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 109], ["LIMIT", 1]]
|
5813
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 159], ["device_token_id", 109], ["status", 0], ["created_at", "2018-05-29 18:24:46.637349"]]
|
5814
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5815
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5816
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5817
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5818
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5819
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5820
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5821
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5822
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5823
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5824
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5825
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
5826
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5827
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5828
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 17"], ["created_at", "2018-05-29 18:24:46.669127"], ["updated_at", "2018-05-29 18:24:46.669127"]]
|
5829
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5830
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5831
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 358], ["created_at", "2018-05-29 18:24:46.672046"], ["updated_at", "2018-05-29 18:24:46.672046"]]
|
5832
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5833
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5834
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5835
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5836
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5837
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5838
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5839
|
+
[1m[35m (12.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5840
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5841
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5842
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5843
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
5844
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5845
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5846
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5848
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5849
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 359], ["created_at", "2018-05-29 18:24:46.704701"], ["updated_at", "2018-05-29 18:24:46.704701"]]
|
5850
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5851
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5852
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5853
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5854
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5855
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5856
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5857
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5858
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
5859
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5860
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5861
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5863
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5864
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 360], ["created_at", "2018-05-29 18:24:46.742323"], ["updated_at", "2018-05-29 18:24:46.742323"]]
|
5865
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5866
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5867
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 360 LIMIT $2[0m [["token", "ABCD8"], ["LIMIT", 1]]
|
5868
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5870
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5871
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 360 LIMIT $2[0m [["token", "ABCD9"], ["LIMIT", 1]]
|
5872
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5874
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5875
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 162], ["LIMIT", 1]]
|
5876
|
+
[1m[36mNotifiable::DeviceToken Load (0.4ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 110], ["LIMIT", 1]]
|
5877
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 162], ["device_token_id", 110], ["status", 0], ["created_at", "2018-05-29 18:24:46.748432"]]
|
5878
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 162], ["LIMIT", 1]]
|
5879
|
+
[1m[36mNotifiable::DeviceToken Load (0.2ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 111], ["LIMIT", 1]]
|
5880
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 162], ["device_token_id", 111], ["status", 0], ["created_at", "2018-05-29 18:24:46.752001"]]
|
5881
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5882
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5883
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.760357"], ["id", 162]]
|
5884
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5885
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5886
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5887
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5888
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5889
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5890
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5891
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5892
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5893
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
5894
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5895
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5896
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5898
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5899
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 361], ["created_at", "2018-05-29 18:24:46.787995"], ["updated_at", "2018-05-29 18:24:46.787995"]]
|
5900
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5901
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5902
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 361 LIMIT $2[0m [["token", "ABCD10"], ["LIMIT", 1]]
|
5903
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5905
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5906
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 361 LIMIT $2[0m [["token", "ABCD11"], ["LIMIT", 1]]
|
5907
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5909
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5910
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 163], ["LIMIT", 1]]
|
5911
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 112], ["LIMIT", 1]]
|
5912
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 163], ["device_token_id", 112], ["status", 0], ["created_at", "2018-05-29 18:24:46.793873"]]
|
5913
|
+
[1m[36mNotifiable::Notification Load (0.2ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 163], ["LIMIT", 1]]
|
5914
|
+
[1m[36mNotifiable::DeviceToken Load (0.2ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 113], ["LIMIT", 1]]
|
5915
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 163], ["device_token_id", 113], ["status", 0], ["created_at", "2018-05-29 18:24:46.797034"]]
|
5916
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5917
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5918
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.805397"], ["id", 163]]
|
5919
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5920
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5921
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5922
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5923
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5924
|
+
[1m[35m (10.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5925
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5926
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5927
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5928
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
5929
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
5930
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5931
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 21"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.828419"], ["updated_at", "2018-05-29 18:24:46.828419"]]
|
5932
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5933
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5934
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 362], ["created_at", "2018-05-29 18:24:46.831441"], ["updated_at", "2018-05-29 18:24:46.831441"]]
|
5935
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5936
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5937
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 362 LIMIT $2[0m [["token", "ABCD12"], ["LIMIT", 1]]
|
5938
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5940
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5941
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 362 LIMIT $2[0m [["token", "ABCD13"], ["LIMIT", 1]]
|
5942
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5944
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5945
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.841574"], ["id", 164]]
|
5946
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5947
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
5948
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5949
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5950
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5951
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5952
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5953
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5954
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5955
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
5956
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5957
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5958
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.865542"], ["updated_at", "2018-05-29 18:24:46.865542"]]
|
5959
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5960
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5961
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 363], ["created_at", "2018-05-29 18:24:46.868778"], ["updated_at", "2018-05-29 18:24:46.868778"]]
|
5962
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5963
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5964
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 363 LIMIT $2[0m [["token", "ABCD14"], ["LIMIT", 1]]
|
5965
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5967
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5968
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 363 LIMIT $2[0m [["token", "ABCD15"], ["LIMIT", 1]]
|
5969
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 363], ["created_at", "2018-05-29 18:24:46.876692"], ["updated_at", "2018-05-29 18:24:46.876692"]]
|
5970
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5971
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5972
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.878515"], ["id", 165]]
|
5973
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5974
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
5975
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5976
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5977
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5978
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5979
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5980
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5981
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5982
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
5983
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5984
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5985
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
5986
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5987
|
+
[1m[35m (10.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
5988
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5989
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
5990
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5991
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
5992
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
5993
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5994
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5996
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5997
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 364], ["created_at", "2018-05-29 18:24:46.928121"], ["updated_at", "2018-05-29 18:24:46.928121"]]
|
5998
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
5999
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6000
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6001
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6002
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6003
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6004
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6005
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6006
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
6007
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6008
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6009
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 24"], ["created_at", "2018-05-29 18:24:46.952304"], ["updated_at", "2018-05-29 18:24:46.952304"]]
|
6010
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6011
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6012
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 365 LIMIT $2[0m [["token", "ABCD16"], ["LIMIT", 1]]
|
6013
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6015
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6016
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6017
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6018
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6019
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6020
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6021
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6022
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
6023
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6024
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6025
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 25"], ["created_at", "2018-05-29 18:24:46.980468"], ["updated_at", "2018-05-29 18:24:46.980468"]]
|
6026
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6027
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6028
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 366 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
6029
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "abc123"], ["provider", "mock"], ["app_id", 366], ["created_at", "2018-05-29 18:24:46.984522"], ["updated_at", "2018-05-29 18:24:46.984522"]]
|
6030
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6031
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 366 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
6032
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6033
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6034
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6035
|
+
[1m[35m (12.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6036
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6037
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6038
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6039
|
+
[1m[35m (4.0ms)[0m [1m[31mROLLBACK[0m
|
6040
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6041
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6042
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 26"], ["created_at", "2018-05-29 18:24:47.016441"], ["updated_at", "2018-05-29 18:24:47.016441"]]
|
6043
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6044
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 367 LIMIT $2[0m [["token", ""], ["LIMIT", 1]]
|
6045
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6046
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6047
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6048
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6049
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6050
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6051
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6052
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6053
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6054
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6055
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 27"], ["created_at", "2018-05-29 18:24:47.044265"], ["updated_at", "2018-05-29 18:24:47.044265"]]
|
6056
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6057
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 368 LIMIT $1[0m [["LIMIT", 1]]
|
6058
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6059
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6060
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6061
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6062
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6063
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6064
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6065
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
6066
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6067
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6068
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 28"], ["created_at", "2018-05-29 18:24:47.071314"], ["updated_at", "2018-05-29 18:24:47.071314"]]
|
6069
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6070
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6071
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 369 LIMIT $2[0m [["token", "ABCD17"], ["LIMIT", 1]]
|
6072
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6074
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6075
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6076
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6077
|
+
[1m[35m (11.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6078
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6079
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6080
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6081
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6082
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6083
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6084
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 29"], ["created_at", "2018-05-29 18:24:47.109167"], ["updated_at", "2018-05-29 18:24:47.109167"]]
|
6085
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6086
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6087
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 370 LIMIT $2[0m [["token", "ABCD18"], ["LIMIT", 1]]
|
6088
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD18"], ["provider", "mock"], ["app_id", 370], ["created_at", "2018-05-29 18:24:47.112580"], ["updated_at", "2018-05-29 18:24:47.112580"]]
|
6089
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6090
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6091
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6092
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6093
|
+
[1m[35m (11.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6094
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6095
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6096
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6097
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6098
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6099
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6100
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 30"], ["created_at", "2018-05-29 18:24:47.138090"], ["updated_at", "2018-05-29 18:24:47.138090"]]
|
6101
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6102
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6103
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 371 LIMIT $2[0m [["token", "ABCD19"], ["LIMIT", 1]]
|
6104
|
+
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6106
|
+
[1m[35m (6.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))[0m
|
6107
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6108
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6109
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6110
|
+
[1m[35m (11.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6111
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6112
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6113
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6114
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6115
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6116
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6117
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 31"], ["created_at", "2018-05-29 18:24:47.176907"], ["updated_at", "2018-05-29 18:24:47.176907"]]
|
6118
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6119
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6120
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 372], ["created_at", "2018-05-29 18:24:47.179370"], ["updated_at", "2018-05-29 18:24:47.179370"]]
|
6121
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6122
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6123
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 32"], ["created_at", "2018-05-29 18:24:47.182326"], ["updated_at", "2018-05-29 18:24:47.182326"]]
|
6124
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6125
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6126
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 373 LIMIT $2[0m [["token", "ABCD20"], ["LIMIT", 1]]
|
6127
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6129
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6130
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 167], ["device_token_id", 123], ["status", 0], ["created_at", "2018-05-29 18:24:47.186993"]]
|
6131
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6132
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6133
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 33"], ["created_at", "2018-05-29 18:24:47.189035"], ["updated_at", "2018-05-29 18:24:47.189035"]]
|
6134
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6135
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6136
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 374], ["created_at", "2018-05-29 18:24:47.190690"], ["updated_at", "2018-05-29 18:24:47.190690"]]
|
6137
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6138
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6139
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 34"], ["created_at", "2018-05-29 18:24:47.192725"], ["updated_at", "2018-05-29 18:24:47.192725"]]
|
6140
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6141
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6142
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 375 LIMIT $2[0m [["token", "ABCD21"], ["LIMIT", 1]]
|
6143
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6145
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6146
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 168], ["device_token_id", 124], ["status", 0], ["created_at", "2018-05-29 18:24:47.196823"]]
|
6147
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6148
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6149
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 35"], ["created_at", "2018-05-29 18:24:47.198491"], ["updated_at", "2018-05-29 18:24:47.198491"]]
|
6150
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6152
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 376 LIMIT $2[0m [["token", "ABCD22"], ["LIMIT", 1]]
|
6153
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 125], ["id", 61]]
|
6155
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 125], ["id", 62]]
|
6156
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6157
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1[0m [["device_token_id", 125]]
|
6158
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6159
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6160
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6161
|
+
[1m[35m (12.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6162
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6163
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6164
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6165
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
6166
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6167
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6168
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 36"], ["created_at", "2018-05-29 18:24:47.229594"], ["updated_at", "2018-05-29 18:24:47.229594"]]
|
6169
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6170
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6171
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 377 LIMIT $2[0m [["token", "ABCD23"], ["LIMIT", 1]]
|
6172
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6174
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6175
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6176
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6177
|
+
[1m[35m (12.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6178
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6179
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6180
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6181
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6182
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6183
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6184
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 37"], ["created_at", "2018-05-29 18:24:47.259362"], ["updated_at", "2018-05-29 18:24:47.259362"]]
|
6185
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6186
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6187
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 378 LIMIT $2[0m [["token", "ABCD24"], ["LIMIT", 1]]
|
6188
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6190
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6191
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6192
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6193
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6194
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6195
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6196
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6197
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6198
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6199
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6200
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 38"], ["created_at", "2018-05-29 18:24:47.289665"], ["updated_at", "2018-05-29 18:24:47.289665"]]
|
6201
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6202
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6203
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 379 LIMIT $2[0m [["token", "ABCD25"], ["LIMIT", 1]]
|
6204
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6206
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6207
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6208
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6209
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6210
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6211
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6212
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6213
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
6214
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6215
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6216
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 39"], ["created_at", "2018-05-29 18:24:47.318421"], ["updated_at", "2018-05-29 18:24:47.318421"]]
|
6217
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6218
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6219
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 380 LIMIT $2[0m [["token", "ABCD26"], ["LIMIT", 1]]
|
6220
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6222
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6223
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6224
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6225
|
+
[1m[35m (12.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6226
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6227
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6228
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6229
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
6230
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6231
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6232
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 40"], ["created_at", "2018-05-29 18:24:47.347610"], ["updated_at", "2018-05-29 18:24:47.347610"]]
|
6233
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6234
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6235
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 381 LIMIT $2[0m [["token", "ABCD27"], ["LIMIT", 1]]
|
6236
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6238
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6239
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6240
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6241
|
+
[1m[35m (10.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6242
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6243
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6244
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6245
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6246
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6247
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6248
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 41"], ["created_at", "2018-05-29 18:24:47.375443"], ["updated_at", "2018-05-29 18:24:47.375443"]]
|
6249
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6250
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6251
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 382 LIMIT $2[0m [["token", "ABCD28"], ["LIMIT", 1]]
|
6252
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6254
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6255
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6256
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6257
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6258
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6259
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6260
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6261
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6262
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6263
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6264
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6265
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6266
|
+
[1m[35m (11.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6267
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6268
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6269
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6270
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
6271
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6272
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6273
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6274
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6275
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6276
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6277
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6278
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6279
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
6280
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6281
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6282
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 42"], ["created_at", "2018-05-29 18:24:47.449078"], ["updated_at", "2018-05-29 18:24:47.449078"]]
|
6283
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6284
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6285
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 383], ["created_at", "2018-05-29 18:24:47.451499"], ["updated_at", "2018-05-29 18:24:47.451499"]]
|
6286
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6287
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1[0m [["app_id", 383]]
|
6288
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6289
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6290
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6291
|
+
[1m[35m (9.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6292
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6293
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6294
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6295
|
+
[1m[35m (2.8ms)[0m [1m[31mROLLBACK[0m
|
6296
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6297
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6298
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 43"], ["created_at", "2018-05-29 18:24:47.472945"], ["updated_at", "2018-05-29 18:24:47.472945"]]
|
6299
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6300
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6301
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 384], ["created_at", "2018-05-29 18:24:47.475157"], ["updated_at", "2018-05-29 18:24:47.475157"]]
|
6302
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6303
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6304
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6305
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6306
|
+
[1m[35m (9.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6307
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6308
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6309
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6310
|
+
[1m[35m (3.3ms)[0m [1m[31mROLLBACK[0m
|
6311
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6312
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6313
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 44"], ["created_at", "2018-05-29 18:24:47.498899"], ["updated_at", "2018-05-29 18:24:47.498899"]]
|
6314
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6315
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6316
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6317
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6318
|
+
[1m[35m (10.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6319
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6320
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6321
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6322
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
6323
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6324
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6325
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6327
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6328
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 386], ["created_at", "2018-05-29 18:24:47.523363"], ["updated_at", "2018-05-29 18:24:47.523363"]]
|
6329
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6330
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6331
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6332
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6333
|
+
[1m[35m (10.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6334
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6335
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6336
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6337
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
6338
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6339
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6340
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6341
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6342
|
+
[1m[35m (10.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6343
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6344
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6345
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6346
|
+
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
|
6347
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6348
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6349
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6350
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6351
|
+
[1m[35m (9.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6352
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6353
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6354
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6355
|
+
[1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m
|
6356
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5131134053504291175)[0m
|
6357
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
6358
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
6359
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6360
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
6361
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5131134053504291175)[0m
|
6362
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6363
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6364
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 1"], ["created_at", "2018-05-29 18:25:11.397669"], ["updated_at", "2018-05-29 18:25:11.397669"]]
|
6365
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6366
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6367
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 387 LIMIT $2[0m [["token", "ABCD1"], ["LIMIT", 1]]
|
6368
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6370
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6371
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6372
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6373
|
+
[1m[35m (2.9ms)[0m [1m[34m 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
|
+
[0m
|
6380
|
+
[1m[35m (1.5ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'notifiable-rails-test'[0m
|
6381
|
+
[1m[35m (18.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6382
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6383
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6384
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6385
|
+
[1m[35m (5.2ms)[0m [1m[31mROLLBACK[0m
|
6386
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6387
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6388
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 2"], ["created_at", "2018-05-29 18:25:11.449542"], ["updated_at", "2018-05-29 18:25:11.449542"]]
|
6389
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6390
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6391
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 388 LIMIT $2[0m [["token", "ABCD2"], ["LIMIT", 1]]
|
6392
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD2"], ["provider", "mock"], ["app_id", 388], ["created_at", "2018-05-29 18:25:11.453613"], ["updated_at", "2018-05-29 18:25:11.453613"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
6393
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6394
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6395
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6396
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6397
|
+
[1m[35m (12.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6398
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6399
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6400
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6401
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6402
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6403
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6404
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 3"], ["created_at", "2018-05-29 18:25:11.481620"], ["updated_at", "2018-05-29 18:25:11.481620"]]
|
6405
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6406
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6407
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 389 LIMIT $2[0m [["token", "ABCD3"], ["LIMIT", 1]]
|
6408
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD3"], ["provider", "mock"], ["app_id", 389], ["created_at", "2018-05-29 18:25:11.486605"], ["updated_at", "2018-05-29 18:25:11.486605"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]
|
6409
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6410
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6411
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6412
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6413
|
+
[1m[35m (11.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6414
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6415
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6416
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6417
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6418
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6419
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6420
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 4"], ["created_at", "2018-05-29 18:25:11.511401"], ["updated_at", "2018-05-29 18:25:11.511401"]]
|
6421
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6422
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6423
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 390 LIMIT $2[0m [["token", "ABCD4"], ["LIMIT", 1]]
|
6424
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6426
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6427
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6428
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6429
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6430
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6431
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6432
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6433
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
6434
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6435
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6436
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 5"], ["created_at", "2018-05-29 18:25:11.540126"], ["updated_at", "2018-05-29 18:25:11.540126"]]
|
6437
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6438
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6439
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 391 LIMIT $2[0m [["token", "ABCD5"], ["LIMIT", 1]]
|
6440
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6442
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6443
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6444
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6445
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6446
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6447
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6448
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6449
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6450
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6451
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6452
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 6"], ["created_at", "2018-05-29 18:25:11.569438"], ["updated_at", "2018-05-29 18:25:11.569438"]]
|
6453
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6454
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6455
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 392 LIMIT $2[0m [["token", "ABCD6"], ["LIMIT", 1]]
|
6456
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6458
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6459
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6460
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6461
|
+
[1m[35m (10.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6462
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6463
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6464
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6465
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
6466
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6467
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6468
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 7"], ["created_at", "2018-05-29 18:25:11.597936"], ["updated_at", "2018-05-29 18:25:11.597936"]]
|
6469
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6470
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6471
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 393 LIMIT $2[0m [["token", "ABCD7"], ["LIMIT", 1]]
|
6472
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD7"], ["provider", "mock"], ["app_id", 393], ["created_at", "2018-05-29 18:25:11.601452"], ["updated_at", "2018-05-29 18:25:11.601452"], ["language", "en"]]
|
6473
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6474
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6475
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6476
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6477
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6478
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6479
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6480
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6481
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
6482
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6483
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6484
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 8"], ["created_at", "2018-05-29 18:25:11.626836"], ["updated_at", "2018-05-29 18:25:11.626836"]]
|
6485
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6486
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6487
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 394 LIMIT $2[0m [["token", "ABCD8"], ["LIMIT", 1]]
|
6488
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6490
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6491
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6492
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6493
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6494
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6495
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6496
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6497
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6498
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6499
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6500
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 9"], ["created_at", "2018-05-29 18:25:11.655456"], ["updated_at", "2018-05-29 18:25:11.655456"]]
|
6501
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6502
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6503
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 395 LIMIT $2[0m [["token", "ABCD9"], ["LIMIT", 1]]
|
6504
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD9"], ["provider", "mock"], ["app_id", 395], ["created_at", "2018-05-29 18:25:11.658645"], ["updated_at", "2018-05-29 18:25:11.658645"]]
|
6505
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6506
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6507
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6508
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6509
|
+
[1m[35m (11.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6510
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6511
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6512
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6513
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
6514
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6515
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6516
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 10"], ["created_at", "2018-05-29 18:25:11.683482"], ["updated_at", "2018-05-29 18:25:11.683482"]]
|
6517
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6518
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 396 LIMIT $2[0m [["token", ""], ["LIMIT", 1]]
|
6519
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6520
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6521
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6522
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6523
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6524
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6525
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6526
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6527
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6528
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6529
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 11"], ["created_at", "2018-05-29 18:25:11.714557"], ["updated_at", "2018-05-29 18:25:11.714557"]]
|
6530
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6531
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6532
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 397 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
6533
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6535
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 397 LIMIT $2[0m [["token", "abc123"], ["LIMIT", 1]]
|
6536
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6537
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6538
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6539
|
+
[1m[35m (12.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6540
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6541
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER 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[0m
|
6542
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6543
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
6544
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6545
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6546
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 12"], ["created_at", "2018-05-29 18:25:11.745696"], ["updated_at", "2018-05-29 18:25:11.745696"]]
|
6547
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6548
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 398 LIMIT $1[0m [["LIMIT", 1]]
|
6549
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6550
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6551
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6552
|
+
[1m[35m (12.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6553
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6554
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6555
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6556
|
+
[1m[35m (4.1ms)[0m [1m[31mROLLBACK[0m
|
6557
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6558
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6559
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 13"], ["created_at", "2018-05-29 18:25:11.808173"], ["updated_at", "2018-05-29 18:25:11.808173"]]
|
6560
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6561
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6562
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 399], ["created_at", "2018-05-29 18:25:11.811745"], ["updated_at", "2018-05-29 18:25:11.811745"]]
|
6563
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6564
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6565
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 14"], ["created_at", "2018-05-29 18:25:11.815791"], ["updated_at", "2018-05-29 18:25:11.815791"]]
|
6566
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6568
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 400 LIMIT $2[0m [["token", "ABCD10"], ["LIMIT", 1]]
|
6569
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6571
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6572
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 172], ["device_token_id", 142], ["status", 0], ["created_at", "2018-05-29 18:25:11.823119"]]
|
6573
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6574
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6575
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 15"], ["created_at", "2018-05-29 18:25:11.826026"], ["updated_at", "2018-05-29 18:25:11.826026"]]
|
6576
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6577
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6578
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 401], ["created_at", "2018-05-29 18:25:11.828037"], ["updated_at", "2018-05-29 18:25:11.828037"]]
|
6579
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6580
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6581
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 16"], ["created_at", "2018-05-29 18:25:11.830604"], ["updated_at", "2018-05-29 18:25:11.830604"]]
|
6582
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6583
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6584
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 402 LIMIT $2[0m [["token", "ABCD11"], ["LIMIT", 1]]
|
6585
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD11"], ["provider", "mock"], ["app_id", 402], ["created_at", "2018-05-29 18:25:11.833739"], ["updated_at", "2018-05-29 18:25:11.833739"]]
|
6586
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6587
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6588
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 173], ["device_token_id", 143], ["status", 0], ["created_at", "2018-05-29 18:25:11.835873"]]
|
6589
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6590
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6591
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 17"], ["created_at", "2018-05-29 18:25:11.838282"], ["updated_at", "2018-05-29 18:25:11.838282"]]
|
6592
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6593
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6594
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 403 LIMIT $2[0m [["token", "ABCD12"], ["LIMIT", 1]]
|
6595
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "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
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 144], ["id", 63]]
|
6597
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2[0m [["device_token_id", 144], ["id", 64]]
|
6598
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6599
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1[0m [["device_token_id", 144]]
|
6600
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6601
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6602
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6603
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6604
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6605
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6606
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6607
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
6608
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6609
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6610
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 18"], ["created_at", "2018-05-29 18:25:11.881908"], ["updated_at", "2018-05-29 18:25:11.881908"]]
|
6611
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6612
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6613
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 404 LIMIT $2[0m [["token", "ABCD13"], ["LIMIT", 1]]
|
6614
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6616
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))[0m
|
6617
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6618
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6619
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6620
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6621
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6622
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6623
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6624
|
+
[1m[35m (5.3ms)[0m [1m[31mROLLBACK[0m
|
6625
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6626
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6627
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6628
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6629
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6630
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6631
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6632
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6633
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6634
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6635
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6636
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6638
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6639
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 405], ["created_at", "2018-05-29 18:25:11.944059"], ["updated_at", "2018-05-29 18:25:11.944059"]]
|
6640
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6641
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6642
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6643
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6644
|
+
[1m[35m (10.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6645
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6646
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6647
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6648
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6649
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6650
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6651
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6653
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6654
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 406], ["created_at", "2018-05-29 18:25:11.971764"], ["updated_at", "2018-05-29 18:25:11.971764"]]
|
6655
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6656
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6657
|
+
[1m[36mNotifiable::DeviceToken Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 406 LIMIT $2[0m [["token", "ABCD14"], ["LIMIT", 1]]
|
6658
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6660
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6661
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 406 LIMIT $2[0m [["token", "ABCD15"], ["LIMIT", 1]]
|
6662
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 406], ["created_at", "2018-05-29 18:25:11.980817"], ["updated_at", "2018-05-29 18:25:11.980817"]]
|
6663
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6664
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6665
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 175], ["LIMIT", 1]]
|
6666
|
+
[1m[36mNotifiable::DeviceToken Load (0.5ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 146], ["LIMIT", 1]]
|
6667
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 175], ["device_token_id", 146], ["status", 0], ["created_at", "2018-05-29 18:25:11.978586"]]
|
6668
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 175], ["LIMIT", 1]]
|
6669
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 147], ["LIMIT", 1]]
|
6670
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 175], ["device_token_id", 147], ["status", 0], ["created_at", "2018-05-29 18:25:11.982091"]]
|
6671
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6672
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6673
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:11.994086"], ["id", 175]]
|
6674
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6675
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
6676
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6677
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6678
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6679
|
+
[1m[35m (11.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6680
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6681
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6682
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6683
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6684
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6685
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6686
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6688
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6689
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 407], ["created_at", "2018-05-29 18:25:12.032796"], ["updated_at", "2018-05-29 18:25:12.032796"]]
|
6690
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6691
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6692
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 407 LIMIT $2[0m [["token", "ABCD16"], ["LIMIT", 1]]
|
6693
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.036782"], ["updated_at", "2018-05-29 18:25:12.036782"]]
|
6694
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6696
|
+
[1m[36mNotifiable::DeviceToken Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 407 LIMIT $2[0m [["token", "ABCD17"], ["LIMIT", 1]]
|
6697
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD17"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.039927"], ["updated_at", "2018-05-29 18:25:12.039927"]]
|
6698
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6699
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6700
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
|
6701
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 148], ["LIMIT", 1]]
|
6702
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 176], ["device_token_id", 148], ["status", 0], ["created_at", "2018-05-29 18:25:12.038247"]]
|
6703
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
|
6704
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 149], ["LIMIT", 1]]
|
6705
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 176], ["device_token_id", 149], ["status", 0], ["created_at", "2018-05-29 18:25:12.041182"]]
|
6706
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6707
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6708
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.048590"], ["id", 176]]
|
6709
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6710
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
6711
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6712
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6713
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6714
|
+
[1m[35m (12.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6715
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6716
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6717
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6718
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6719
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6720
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6721
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6723
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6724
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 408], ["created_at", "2018-05-29 18:25:12.077386"], ["updated_at", "2018-05-29 18:25:12.077386"]]
|
6725
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6726
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6727
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 408 LIMIT $2[0m [["token", "ABCD18"], ["LIMIT", 1]]
|
6728
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD18"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.081793"], ["updated_at", "2018-05-29 18:25:12.081793"]]
|
6729
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6730
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6731
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 408 LIMIT $2[0m [["token", "ABCD19"], ["LIMIT", 1]]
|
6732
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD19"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.085392"], ["updated_at", "2018-05-29 18:25:12.085392"]]
|
6733
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6734
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6735
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.087402"], ["id", 177]]
|
6736
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6737
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
6738
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6739
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6740
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6741
|
+
[1m[35m (11.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6742
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6743
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6744
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6745
|
+
[1m[35m (5.6ms)[0m [1m[31mROLLBACK[0m
|
6746
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6747
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6748
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6750
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6751
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 409], ["created_at", "2018-05-29 18:25:12.118335"], ["updated_at", "2018-05-29 18:25:12.118335"]]
|
6752
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6753
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6754
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 409 LIMIT $2[0m [["token", "ABCD20"], ["LIMIT", 1]]
|
6755
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6757
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6758
|
+
[1m[36mNotifiable::DeviceToken Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 409 LIMIT $2[0m [["token", "ABCD21"], ["LIMIT", 1]]
|
6759
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD21"], ["provider", "mock"], ["locale", "en"], ["app_id", 409], ["created_at", "2018-05-29 18:25:12.125584"], ["updated_at", "2018-05-29 18:25:12.125584"]]
|
6760
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6761
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6762
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.127419"], ["id", 178]]
|
6763
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6764
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
6765
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6766
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6767
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6768
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6769
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6770
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6771
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6772
|
+
[1m[35m (6.4ms)[0m [1m[31mROLLBACK[0m
|
6773
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6774
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6775
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 24"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.153718"], ["updated_at", "2018-05-29 18:25:12.153718"]]
|
6776
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6777
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6778
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 410], ["created_at", "2018-05-29 18:25:12.156651"], ["updated_at", "2018-05-29 18:25:12.156651"]]
|
6779
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6780
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6781
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6782
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6783
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6784
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6785
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6786
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6787
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
6788
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6789
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6790
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6791
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6792
|
+
[1m[35m (11.9ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6793
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6794
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6795
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6796
|
+
[1m[35m (4.5ms)[0m [1m[31mROLLBACK[0m
|
6797
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6798
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6799
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6800
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6801
|
+
[1m[35m (11.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6802
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6803
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6804
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6805
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6806
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6807
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6808
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6809
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6810
|
+
[1m[35m (11.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6811
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6812
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6813
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6814
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6815
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6816
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6817
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6818
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6819
|
+
[1m[35m (11.8ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6820
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6821
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6822
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6823
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6824
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6825
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6826
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 25"], ["created_at", "2018-05-29 18:25:12.278449"], ["updated_at", "2018-05-29 18:25:12.278449"]]
|
6827
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6828
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6829
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 411], ["created_at", "2018-05-29 18:25:12.280990"], ["updated_at", "2018-05-29 18:25:12.280990"]]
|
6830
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6831
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6832
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6833
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6834
|
+
[1m[35m (11.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6835
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6836
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6837
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6838
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6839
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6840
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6841
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 26"], ["created_at", "2018-05-29 18:25:12.305359"], ["updated_at", "2018-05-29 18:25:12.305359"]]
|
6842
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6843
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6844
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 412], ["created_at", "2018-05-29 18:25:12.307781"], ["updated_at", "2018-05-29 18:25:12.307781"]]
|
6845
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6846
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1[0m [["app_id", 412]]
|
6847
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6848
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6849
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6850
|
+
[1m[35m (10.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6851
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6852
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6853
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6854
|
+
[1m[35m (5.4ms)[0m [1m[31mROLLBACK[0m
|
6855
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6856
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6857
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 27"], ["created_at", "2018-05-29 18:25:12.334679"], ["updated_at", "2018-05-29 18:25:12.334679"]]
|
6858
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6859
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6860
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6861
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6862
|
+
[1m[35m (11.7ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6863
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6864
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6865
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6866
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
6867
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6868
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6869
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6871
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6872
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 414], ["created_at", "2018-05-29 18:25:12.362678"], ["updated_at", "2018-05-29 18:25:12.362678"]]
|
6873
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6874
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6875
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6876
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6877
|
+
[1m[35m (11.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6878
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6879
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6880
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6881
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
6882
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6883
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6884
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 29"], ["created_at", "2018-05-29 18:25:12.387607"], ["updated_at", "2018-05-29 18:25:12.387607"]]
|
6885
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6886
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6887
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 415], ["created_at", "2018-05-29 18:25:12.389755"], ["updated_at", "2018-05-29 18:25:12.389755"]]
|
6888
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6889
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6890
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6891
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
6892
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6893
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6894
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6895
|
+
[1m[35m (11.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6896
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6897
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6898
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6899
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6900
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6901
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6902
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.416652"], ["updated_at", "2018-05-29 18:25:12.416652"]]
|
6903
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6904
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6905
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 416], ["created_at", "2018-05-29 18:25:12.419651"], ["updated_at", "2018-05-29 18:25:12.419651"]]
|
6906
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6907
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6908
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 31"], ["created_at", "2018-05-29 18:25:12.422516"], ["updated_at", "2018-05-29 18:25:12.422516"]]
|
6909
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6910
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6911
|
+
[1m[36mNotifiable::DeviceToken Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 417 LIMIT $2[0m [["token", "ABCD22"], ["LIMIT", 1]]
|
6912
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6914
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6915
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.427574"], ["id", 184]]
|
6916
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6917
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6918
|
+
[1m[36mNotifiable::Notification Load (0.4ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 184], ["LIMIT", 1]]
|
6919
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 154], ["LIMIT", 1]]
|
6920
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 184], ["device_token_id", 154], ["status", 0], ["created_at", "2018-05-29 18:25:12.426990"]]
|
6921
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6922
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6923
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6924
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
6925
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6926
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6927
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6928
|
+
[1m[35m (10.5ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6929
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6930
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6931
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6932
|
+
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
|
6933
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
6934
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6935
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.456460"], ["updated_at", "2018-05-29 18:25:12.456460"]]
|
6936
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6937
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6938
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 418], ["created_at", "2018-05-29 18:25:12.459026"], ["updated_at", "2018-05-29 18:25:12.459026"]]
|
6939
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6940
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6941
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 33"], ["created_at", "2018-05-29 18:25:12.461370"], ["updated_at", "2018-05-29 18:25:12.461370"]]
|
6942
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6943
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6944
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 419 LIMIT $2[0m [["token", "ABCD23"], ["LIMIT", 1]]
|
6945
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD23"], ["provider", "mock"], ["locale", "en"], ["app_id", 419], ["created_at", "2018-05-29 18:25:12.465388"], ["updated_at", "2018-05-29 18:25:12.465388"]]
|
6946
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6947
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6948
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.467708"], ["id", 185]]
|
6949
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6950
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6951
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 185], ["LIMIT", 1]]
|
6952
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 155], ["LIMIT", 1]]
|
6953
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 185], ["device_token_id", 155], ["status", 0], ["created_at", "2018-05-29 18:25:12.467116"]]
|
6954
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6955
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6956
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6957
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
6958
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6959
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6960
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6961
|
+
[1m[35m (11.1ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6962
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6963
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6964
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6965
|
+
[1m[35m (4.6ms)[0m [1m[31mROLLBACK[0m
|
6966
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
6967
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6968
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6970
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6971
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 420], ["created_at", "2018-05-29 18:25:12.500103"], ["updated_at", "2018-05-29 18:25:12.500103"]]
|
6972
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6973
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6974
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 35"], ["created_at", "2018-05-29 18:25:12.503514"], ["updated_at", "2018-05-29 18:25:12.503514"]]
|
6975
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6976
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6977
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 421 LIMIT $2[0m [["token", "ABCD24"], ["LIMIT", 1]]
|
6978
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD24"], ["provider", "mock"], ["locale", "en"], ["app_id", 421], ["created_at", "2018-05-29 18:25:12.506710"], ["updated_at", "2018-05-29 18:25:12.506710"]]
|
6979
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6980
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6981
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.508840"], ["id", 186]]
|
6982
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6983
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6984
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 186], ["LIMIT", 1]]
|
6985
|
+
[1m[36mNotifiable::DeviceToken Load (0.4ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 156], ["LIMIT", 1]]
|
6986
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 186], ["device_token_id", 156], ["status", 0], ["created_at", "2018-05-29 18:25:12.508291"]]
|
6987
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6988
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6989
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6990
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
6991
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6992
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
6993
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6994
|
+
[1m[35m (10.4ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
6995
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
6996
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
6997
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
6998
|
+
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m
|
6999
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7000
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7001
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 36"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.538283"], ["updated_at", "2018-05-29 18:25:12.538283"]]
|
7002
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7003
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7004
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 422], ["created_at", "2018-05-29 18:25:12.540790"], ["updated_at", "2018-05-29 18:25:12.540790"]]
|
7005
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7006
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7007
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 37"], ["created_at", "2018-05-29 18:25:12.543145"], ["updated_at", "2018-05-29 18:25:12.543145"]]
|
7008
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7009
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7010
|
+
[1m[36mNotifiable::DeviceToken Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 423 LIMIT $2[0m [["token", "ABCD25"], ["LIMIT", 1]]
|
7011
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7013
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7014
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.549815"], ["id", 187]]
|
7015
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7016
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7017
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 187], ["LIMIT", 1]]
|
7018
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
|
7019
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 187], ["device_token_id", 157], ["status", 0], ["created_at", "2018-05-29 18:25:12.549189"]]
|
7020
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7021
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7022
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7023
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
7024
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7025
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7026
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7027
|
+
[1m[35m (12.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7028
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7029
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7030
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7031
|
+
[1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
|
7032
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7033
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7034
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7036
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7037
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 424], ["created_at", "2018-05-29 18:25:12.583164"], ["updated_at", "2018-05-29 18:25:12.583164"]]
|
7038
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7039
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7040
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 39"], ["created_at", "2018-05-29 18:25:12.586018"], ["updated_at", "2018-05-29 18:25:12.586018"]]
|
7041
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7042
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7043
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 425 LIMIT $2[0m [["token", "ABCD26"], ["LIMIT", 1]]
|
7044
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD26"], ["provider", "mock"], ["locale", "en"], ["app_id", 425], ["created_at", "2018-05-29 18:25:12.589005"], ["updated_at", "2018-05-29 18:25:12.589005"]]
|
7045
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7046
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7047
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.591202"], ["id", 188]]
|
7048
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7049
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7050
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 188], ["LIMIT", 1]]
|
7051
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 158], ["LIMIT", 1]]
|
7052
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 188], ["device_token_id", 158], ["status", 0], ["created_at", "2018-05-29 18:25:12.590559"]]
|
7053
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7054
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7055
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7056
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
7057
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7058
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7059
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7060
|
+
[1m[35m (10.2ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7061
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7062
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7063
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7064
|
+
[1m[35m (4.7ms)[0m [1m[31mROLLBACK[0m
|
7065
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
7066
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7067
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "App 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
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7069
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7070
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 426], ["created_at", "2018-05-29 18:25:12.622976"], ["updated_at", "2018-05-29 18:25:12.622976"]]
|
7071
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7072
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7073
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 41"], ["created_at", "2018-05-29 18:25:12.625518"], ["updated_at", "2018-05-29 18:25:12.625518"]]
|
7074
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7075
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7076
|
+
[1m[36mNotifiable::DeviceToken Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 427 LIMIT $2[0m [["token", "ABCD27"], ["LIMIT", 1]]
|
7077
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["token", "ABCD27"], ["provider", "mock"], ["locale", "en"], ["app_id", 427], ["created_at", "2018-05-29 18:25:12.630167"], ["updated_at", "2018-05-29 18:25:12.630167"]]
|
7078
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7079
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7080
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4[0m [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.632791"], ["id", 189]]
|
7081
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7082
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7083
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2[0m [["id", 189], ["LIMIT", 1]]
|
7084
|
+
[1m[36mNotifiable::DeviceToken Load (0.3ms)[0m [1m[34mSELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2[0m [["id", 159], ["LIMIT", 1]]
|
7085
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 189], ["device_token_id", 159], ["status", 0], ["created_at", "2018-05-29 18:25:12.632143"]]
|
7086
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7087
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7088
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7089
|
+
[1m[36mNotifiable::Notification Load (0.3ms)[0m [1m[34mSELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
7090
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7091
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7092
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7093
|
+
[1m[35m (12.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7094
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7095
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7096
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7097
|
+
[1m[35m (5.0ms)[0m [1m[31mROLLBACK[0m
|
7098
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7099
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7100
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 42"], ["created_at", "2018-05-29 18:25:12.663731"], ["updated_at", "2018-05-29 18:25:12.663731"]]
|
7101
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7102
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7103
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 428], ["created_at", "2018-05-29 18:25:12.666048"], ["updated_at", "2018-05-29 18:25:12.666048"]]
|
7104
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7105
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7106
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 43"], ["created_at", "2018-05-29 18:25:12.669564"], ["updated_at", "2018-05-29 18:25:12.669564"]]
|
7107
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7108
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7109
|
+
[1m[36mNotifiable::DeviceToken Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 429 LIMIT $2[0m [["token", "ABCD28"], ["LIMIT", 1]]
|
7110
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["token", "ABCD28"], ["provider", "mock"], ["app_id", 429], ["created_at", "2018-05-29 18:25:12.672714"], ["updated_at", "2018-05-29 18:25:12.672714"]]
|
7111
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7112
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7113
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["notification_id", 190], ["device_token_id", 160], ["status", 0], ["created_at", "2018-05-29 18:25:12.674537"]]
|
7114
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7115
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7116
|
+
[1m[36mNotifiable::NotificationStatus Load (0.3ms)[0m [1m[34mSELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1[0m [["notification_id", 190]]
|
7117
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1[0m [["id", 75]]
|
7118
|
+
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1[0m [["id", 190]]
|
7119
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7120
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "notifiable_statuses"[0m
|
7121
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7122
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7123
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7124
|
+
[1m[35m (10.3ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7125
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7126
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7127
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7128
|
+
[1m[35m (5.1ms)[0m [1m[31mROLLBACK[0m
|
7129
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7130
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7131
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 44"], ["created_at", "2018-05-29 18:25:12.702658"], ["updated_at", "2018-05-29 18:25:12.702658"]]
|
7132
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7133
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7134
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7136
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7137
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7138
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7139
|
+
[1m[35m (12.0ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7140
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7141
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7142
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7143
|
+
[1m[35m (4.4ms)[0m [1m[31mROLLBACK[0m
|
7144
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
7145
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7146
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "App 45"], ["created_at", "2018-05-29 18:25:12.731518"], ["updated_at", "2018-05-29 18:25:12.731518"]]
|
7147
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7148
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7149
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["app_id", 431], ["created_at", "2018-05-29 18:25:12.733822"], ["updated_at", "2018-05-29 18:25:12.733822"]]
|
7150
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7152
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3[0m [["updated_at", "2018-05-29 18:25:12.736673"], ["last_error_message", "SSL error occured"], ["id", 192]]
|
7153
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7154
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7155
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL[0m
|
7156
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7157
|
+
[1m[35m (12.6ms)[0m [1m[35mTRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;[0m
|
7158
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
7159
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL[0m
|
7160
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7161
|
+
[1m[35m (3.8ms)[0m [1m[31mROLLBACK[0m
|