(3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.2ms) BEGIN  (6.8ms) CREATE TABLE "notifiable_apps" ("id" serial primary key, "name" character varying, "configuration" text, "created_at" timestamp, "updated_at" timestamp)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115648"]]  (0.6ms) COMMIT Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.2ms) BEGIN  (4.2ms) CREATE TABLE "notifiable_device_tokens" ("id" serial primary key, "token" character varying, "provider" character varying, "locale" character varying, "is_valid" boolean DEFAULT 't', "user_alias" character varying, "app_id" integer, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) CREATE INDEX "index_notifiable_device_tokens_on_user_alias" ON "notifiable_device_tokens" ("user_alias") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115649"]]  (0.4ms) COMMIT Migrating to CreateNotifiableNotifications (20131210115650)  (0.2ms) BEGIN  (4.4ms) CREATE TABLE "notifiable_notifications" ("id" serial primary key, "app_id" integer, "sent_count" integer DEFAULT 0, "gateway_accepted_count" integer DEFAULT 0, "opened_count" integer DEFAULT 0, "message" text, "parameters" text, "sound" character varying, "identifier" character varying, "expiry" timestamp, "content_available" boolean, "mutable_content" boolean, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115650"]]  (0.5ms) COMMIT Migrating to CreateNotifiableStatuses (20131210115652)  (0.3ms) BEGIN  (2.9ms) CREATE TABLE "notifiable_statuses" ("id" serial primary key, "notification_id" integer, "device_token_id" integer, "status" integer, "created_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115652"]]  (0.4ms) COMMIT Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "notifiable_device_tokens" ADD "name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115653"]]  (0.5ms) COMMIT Migrating to AddBadgeCountToNotifiableNotifications (20161208221332)  (0.2ms) BEGIN  (0.4ms) ALTER TABLE "notifiable_notifications" ADD "badge_count" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161208221332"]]  (0.5ms) COMMIT Migrating to RemoveIsValidFromNotifiableDeviceTokens (20170108221332)  (0.2ms) BEGIN  (1.6ms) ALTER TABLE "notifiable_device_tokens" DROP "is_valid" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170108221332"]]  (0.5ms) COMMIT Migrating to AddAppIdTokenIndexToNotifiableDeviceTokens (20170108221432)  (0.1ms) BEGIN  (1.1ms) CREATE UNIQUE INDEX "index_notifiable_device_tokens_on_app_id_and_token" ON "notifiable_device_tokens" ("app_id", "token") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170108221432"]]  (0.5ms) COMMIT Migrating to AddLatLonToNotifiableDeviceTokens (20170116212641)  (0.2ms) BEGIN SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "postgis"  (4.0ms) ALTER TABLE "notifiable_device_tokens" ADD "lonlat" geography(POINT,4326) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170116212641"]]  (0.5ms) COMMIT Migrating to AddLastErrorMessageToNotifications (20180302212641)  (0.1ms) BEGIN  (0.4ms) ALTER TABLE "notifiable_notifications" ADD "last_error_message" text SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20180302212641"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'notifiable_apps' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'notifiable_device_tokens' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (3.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'notifiable_notifications' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'notifiable_statuses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-03-02 14:39:42.879143"], ["updated_at", "2018-03-02 14:39:42.879143"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 1], ["created_at", "2018-03-02 14:39:42.897901"], ["updated_at", "2018-03-02 14:39:42.897901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (1.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (2.2ms) SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))  (4.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 2"], ["created_at", "2018-03-02 14:39:42.937237"], ["updated_at", "2018-03-02 14:39:42.937237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 2], ["created_at", "2018-03-02 14:39:42.940525"], ["updated_at", "2018-03-02 14:39:42.940525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-03-02 14:39:42.954180"], ["updated_at", "2018-03-02 14:39:42.954180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD1' AND "notifiable_device_tokens"."app_id" = 3) LIMIT 1 SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD1"], ["app_id", 3], ["locale", "en"], ["created_at", "2018-03-02 14:39:42.967568"], ["updated_at", "2018-03-02 14:39:42.967568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:42.972132"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 2]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 1]] SQL (0.7ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 2], ["device_token_id", 1], ["status", 0], ["created_at", "2018-03-02 14:39:42.970403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.5ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 4"], ["created_at", "2018-03-02 14:39:43.020313"], ["updated_at", "2018-03-02 14:39:43.020313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 4], ["created_at", "2018-03-02 14:39:43.024668"], ["updated_at", "2018-03-02 14:39:43.024668"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-03-02 14:39:43.028687"], ["updated_at", "2018-03-02 14:39:43.028687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD2' AND "notifiable_device_tokens"."app_id" = 5) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD2"], ["app_id", 5], ["locale", "en"], ["created_at", "2018-03-02 14:39:43.031816"], ["updated_at", "2018-03-02 14:39:43.031816"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:43.033852"], ["id", 3]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 3]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 2]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 3], ["device_token_id", 2], ["status", 0], ["created_at", "2018-03-02 14:39:43.033295"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 6"], ["created_at", "2018-03-02 14:39:43.062352"], ["updated_at", "2018-03-02 14:39:43.062352"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 6], ["created_at", "2018-03-02 14:39:43.067749"], ["updated_at", "2018-03-02 14:39:43.067749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-03-02 14:39:43.071117"], ["updated_at", "2018-03-02 14:39:43.071117"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD3' AND "notifiable_device_tokens"."app_id" = 7) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD3"], ["app_id", 7], ["locale", "en"], ["created_at", "2018-03-02 14:39:43.074775"], ["updated_at", "2018-03-02 14:39:43.074775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:43.077123"], ["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 4]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 3]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 4], ["device_token_id", 3], ["status", 0], ["created_at", "2018-03-02 14:39:43.076484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 8"], ["created_at", "2018-03-02 14:39:43.106088"], ["updated_at", "2018-03-02 14:39:43.106088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 8], ["created_at", "2018-03-02 14:39:43.110796"], ["updated_at", "2018-03-02 14:39:43.110796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-03-02 14:39:43.113858"], ["updated_at", "2018-03-02 14:39:43.113858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD4' AND "notifiable_device_tokens"."app_id" = 9) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD4"], ["app_id", 9], ["locale", "en"], ["created_at", "2018-03-02 14:39:43.117384"], ["updated_at", "2018-03-02 14:39:43.117384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:43.119876"], ["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 5]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 4]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 5], ["device_token_id", 4], ["status", 0], ["created_at", "2018-03-02 14:39:43.119208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 10"], ["created_at", "2018-03-02 14:39:43.150312"], ["updated_at", "2018-03-02 14:39:43.150312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 10], ["created_at", "2018-03-02 14:39:43.154652"], ["updated_at", "2018-03-02 14:39:43.154652"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-03-02 14:39:43.158372"], ["updated_at", "2018-03-02 14:39:43.158372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD5' AND "notifiable_device_tokens"."app_id" = 11) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD5"], ["app_id", 11], ["locale", "en"], ["created_at", "2018-03-02 14:39:43.162127"], ["updated_at", "2018-03-02 14:39:43.162127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:43.165012"], ["id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 6]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 5]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 6], ["device_token_id", 5], ["status", 0], ["created_at", "2018-03-02 14:39:43.164020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 12"], ["created_at", "2018-03-02 14:39:43.195136"], ["updated_at", "2018-03-02 14:39:43.195136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 12], ["created_at", "2018-03-02 14:39:43.200618"], ["updated_at", "2018-03-02 14:39:43.200618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-03-02 14:39:43.203739"], ["updated_at", "2018-03-02 14:39:43.203739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD6' AND "notifiable_device_tokens"."app_id" = 13) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD6"], ["app_id", 13], ["locale", "en"], ["created_at", "2018-03-02 14:39:43.207091"], ["updated_at", "2018-03-02 14:39:43.207091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:39:43.209324"], ["id", 7]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 7]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 6]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 7], ["device_token_id", 6], ["status", 0], ["created_at", "2018-03-02 14:39:43.208727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-03-02 14:39:43.237649"], ["updated_at", "2018-03-02 14:39:43.237649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 14], ["created_at", "2018-03-02 14:39:43.240187"], ["updated_at", "2018-03-02 14:39:43.240187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-03-02 14:39:43.243954"], ["updated_at", "2018-03-02 14:39:43.243954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD7' AND "notifiable_device_tokens"."app_id" = 15) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["provider", "mock"], ["token", "ABCD7"], ["app_id", 15], ["created_at", "2018-03-02 14:39:43.247426"], ["updated_at", "2018-03-02 14:39:43.247426"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "status", "device_token_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 8], ["status", 0], ["device_token_id", 7], ["created_at", "2018-03-02 14:39:43.249839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 8]] SQL (0.2ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 7]] SQL (0.2ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-03-02 14:39:43.287315"], ["updated_at", "2018-03-02 14:39:43.287315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 16], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-03-02 14:39:43.289844"], ["updated_at", "2018-03-02 14:39:43.289844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-03-02 14:39:43.311854"], ["updated_at", "2018-03-02 14:39:43.311854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 17], ["created_at", "2018-03-02 14:39:43.313927"], ["updated_at", "2018-03-02 14:39:43.313927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-03-02 14:40:09.865157"], ["updated_at", "2018-03-02 14:40:09.865157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 18], ["created_at", "2018-03-02 14:40:09.873640"], ["updated_at", "2018-03-02 14:40:09.873640"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-03-02 14:40:09.897685"], ["updated_at", "2018-03-02 14:40:09.897685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD1' AND "notifiable_device_tokens"."app_id" = 19) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["provider", "mock"], ["token", "ABCD1"], ["app_id", 19], ["created_at", "2018-03-02 14:40:09.910168"], ["updated_at", "2018-03-02 14:40:09.910168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "status", "device_token_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 11], ["status", 0], ["device_token_id", 8], ["created_at", "2018-03-02 14:40:09.913863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 11]] SQL (0.2ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 8]] SQL (0.3ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.5ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (1.6ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-03-02 14:40:09.954061"], ["updated_at", "2018-03-02 14:40:09.954061"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 20], ["created_at", "2018-03-02 14:40:09.956450"], ["updated_at", "2018-03-02 14:40:09.956450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "last_error_message" = $1, "updated_at" = $2 WHERE "notifiable_notifications"."id" = $3 [["last_error_message", "SSL error occured"], ["updated_at", "2018-03-02 14:40:09.958983"], ["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-03-02 14:40:09.985361"], ["updated_at", "2018-03-02 14:40:09.985361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 21], ["created_at", "2018-03-02 14:40:09.988803"], ["updated_at", "2018-03-02 14:40:09.988803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 5"], ["created_at", "2018-03-02 14:40:10.014876"], ["updated_at", "2018-03-02 14:40:10.014876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 22], ["created_at", "2018-03-02 14:40:10.020539"], ["updated_at", "2018-03-02 14:40:10.020539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-03-02 14:40:10.023677"], ["updated_at", "2018-03-02 14:40:10.023677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD2' AND "notifiable_device_tokens"."app_id" = 23) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD2"], ["app_id", 23], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.027404"], ["updated_at", "2018-03-02 14:40:10.027404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.030454"], ["id", 14]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 14]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 9]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 14], ["device_token_id", 9], ["status", 0], ["created_at", "2018-03-02 14:40:10.029336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.5ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 7"], ["created_at", "2018-03-02 14:40:10.063760"], ["updated_at", "2018-03-02 14:40:10.063760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 24], ["created_at", "2018-03-02 14:40:10.068331"], ["updated_at", "2018-03-02 14:40:10.068331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-03-02 14:40:10.071571"], ["updated_at", "2018-03-02 14:40:10.071571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD3' AND "notifiable_device_tokens"."app_id" = 25) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD3"], ["app_id", 25], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.075348"], ["updated_at", "2018-03-02 14:40:10.075348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.077778"], ["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 15]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 10]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 15], ["device_token_id", 10], ["status", 0], ["created_at", "2018-03-02 14:40:10.077128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (4.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 9"], ["created_at", "2018-03-02 14:40:10.108387"], ["updated_at", "2018-03-02 14:40:10.108387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 26], ["created_at", "2018-03-02 14:40:10.112834"], ["updated_at", "2018-03-02 14:40:10.112834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-03-02 14:40:10.116400"], ["updated_at", "2018-03-02 14:40:10.116400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD4' AND "notifiable_device_tokens"."app_id" = 27) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD4"], ["app_id", 27], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.120022"], ["updated_at", "2018-03-02 14:40:10.120022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.122488"], ["id", 16]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 16]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 11]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 16], ["device_token_id", 11], ["status", 0], ["created_at", "2018-03-02 14:40:10.121534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL  (4.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 11"], ["created_at", "2018-03-02 14:40:10.152542"], ["updated_at", "2018-03-02 14:40:10.152542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 28], ["created_at", "2018-03-02 14:40:10.157008"], ["updated_at", "2018-03-02 14:40:10.157008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-03-02 14:40:10.161000"], ["updated_at", "2018-03-02 14:40:10.161000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD5' AND "notifiable_device_tokens"."app_id" = 29) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD5"], ["app_id", 29], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.164797"], ["updated_at", "2018-03-02 14:40:10.164797"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.167725"], ["id", 17]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 17]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 12]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 17], ["device_token_id", 12], ["status", 0], ["created_at", "2018-03-02 14:40:10.167037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 13"], ["created_at", "2018-03-02 14:40:10.195489"], ["updated_at", "2018-03-02 14:40:10.195489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 30], ["created_at", "2018-03-02 14:40:10.199787"], ["updated_at", "2018-03-02 14:40:10.199787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-03-02 14:40:10.203059"], ["updated_at", "2018-03-02 14:40:10.203059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD6' AND "notifiable_device_tokens"."app_id" = 31) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD6"], ["app_id", 31], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.206902"], ["updated_at", "2018-03-02 14:40:10.206902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.209123"], ["id", 18]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 18]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 13]] SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 18], ["device_token_id", 13], ["status", 0], ["created_at", "2018-03-02 14:40:10.208497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 15"], ["created_at", "2018-03-02 14:40:10.245171"], ["updated_at", "2018-03-02 14:40:10.245171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 32], ["created_at", "2018-03-02 14:40:10.248834"], ["updated_at", "2018-03-02 14:40:10.248834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-03-02 14:40:10.251628"], ["updated_at", "2018-03-02 14:40:10.251628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD7' AND "notifiable_device_tokens"."app_id" = 33) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD7"], ["app_id", 33], ["locale", "en"], ["created_at", "2018-03-02 14:40:10.255008"], ["updated_at", "2018-03-02 14:40:10.255008"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:10.256990"], ["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 19]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 14]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 19], ["device_token_id", 14], ["status", 0], ["created_at", "2018-03-02 14:40:10.256411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-03-02 14:40:10.284241"], ["updated_at", "2018-03-02 14:40:10.284241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 34], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-03-02 14:40:10.286972"], ["updated_at", "2018-03-02 14:40:10.286972"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-03-02 14:40:34.821416"], ["updated_at", "2018-03-02 14:40:34.821416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 35], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-03-02 14:40:34.831180"], ["updated_at", "2018-03-02 14:40:34.831180"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (1.7ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (1.8ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (14.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-03-02 14:40:34.866528"], ["updated_at", "2018-03-02 14:40:34.866528"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 36], ["created_at", "2018-03-02 14:40:34.869734"], ["updated_at", "2018-03-02 14:40:34.869734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (13.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 3"], ["created_at", "2018-03-02 14:40:34.898866"], ["updated_at", "2018-03-02 14:40:34.898866"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 37], ["created_at", "2018-03-02 14:40:34.904161"], ["updated_at", "2018-03-02 14:40:34.904161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-03-02 14:40:34.916154"], ["updated_at", "2018-03-02 14:40:34.916154"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD1' AND "notifiable_device_tokens"."app_id" = 38) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD1"], ["app_id", 38], ["locale", "en"], ["created_at", "2018-03-02 14:40:34.924921"], ["updated_at", "2018-03-02 14:40:34.924921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:34.927044"], ["id", 23]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 23]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 15]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 23], ["device_token_id", 15], ["status", 0], ["created_at", "2018-03-02 14:40:34.926452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.8ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 5"], ["created_at", "2018-03-02 14:40:34.966783"], ["updated_at", "2018-03-02 14:40:34.966783"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 39], ["created_at", "2018-03-02 14:40:34.971373"], ["updated_at", "2018-03-02 14:40:34.971373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-03-02 14:40:34.974271"], ["updated_at", "2018-03-02 14:40:34.974271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD2' AND "notifiable_device_tokens"."app_id" = 40) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD2"], ["app_id", 40], ["locale", "en"], ["created_at", "2018-03-02 14:40:34.977772"], ["updated_at", "2018-03-02 14:40:34.977772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:34.979774"], ["id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 24]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 16]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 24], ["device_token_id", 16], ["status", 0], ["created_at", "2018-03-02 14:40:34.979210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.5ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (14.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 7"], ["created_at", "2018-03-02 14:40:35.012337"], ["updated_at", "2018-03-02 14:40:35.012337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 41], ["created_at", "2018-03-02 14:40:35.017563"], ["updated_at", "2018-03-02 14:40:35.017563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-03-02 14:40:35.020838"], ["updated_at", "2018-03-02 14:40:35.020838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD3' AND "notifiable_device_tokens"."app_id" = 42) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD3"], ["app_id", 42], ["locale", "en"], ["created_at", "2018-03-02 14:40:35.024095"], ["updated_at", "2018-03-02 14:40:35.024095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:35.026573"], ["id", 25]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 25]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 17]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 25], ["device_token_id", 17], ["status", 0], ["created_at", "2018-03-02 14:40:35.025707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (12.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 9"], ["created_at", "2018-03-02 14:40:35.056845"], ["updated_at", "2018-03-02 14:40:35.056845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 43], ["created_at", "2018-03-02 14:40:35.061072"], ["updated_at", "2018-03-02 14:40:35.061072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-03-02 14:40:35.063200"], ["updated_at", "2018-03-02 14:40:35.063200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD4' AND "notifiable_device_tokens"."app_id" = 44) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD4"], ["app_id", 44], ["locale", "en"], ["created_at", "2018-03-02 14:40:35.066136"], ["updated_at", "2018-03-02 14:40:35.066136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:35.068613"], ["id", 26]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 26]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 18]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 26], ["device_token_id", 18], ["status", 0], ["created_at", "2018-03-02 14:40:35.068030"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (5.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 11"], ["created_at", "2018-03-02 14:40:35.099134"], ["updated_at", "2018-03-02 14:40:35.099134"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 45], ["created_at", "2018-03-02 14:40:35.105934"], ["updated_at", "2018-03-02 14:40:35.105934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-03-02 14:40:35.109115"], ["updated_at", "2018-03-02 14:40:35.109115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD5' AND "notifiable_device_tokens"."app_id" = 46) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD5"], ["app_id", 46], ["locale", "en"], ["created_at", "2018-03-02 14:40:35.112491"], ["updated_at", "2018-03-02 14:40:35.112491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:35.115259"], ["id", 27]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 27]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 19]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 27], ["device_token_id", 19], ["status", 0], ["created_at", "2018-03-02 14:40:35.114279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 13"], ["created_at", "2018-03-02 14:40:35.143197"], ["updated_at", "2018-03-02 14:40:35.143197"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 47], ["created_at", "2018-03-02 14:40:35.148019"], ["updated_at", "2018-03-02 14:40:35.148019"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-03-02 14:40:35.151892"], ["updated_at", "2018-03-02 14:40:35.151892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD6' AND "notifiable_device_tokens"."app_id" = 48) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD6"], ["app_id", 48], ["locale", "en"], ["created_at", "2018-03-02 14:40:35.155646"], ["updated_at", "2018-03-02 14:40:35.155646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:40:35.157920"], ["id", 28]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 28]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 20]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 28], ["device_token_id", 20], ["status", 0], ["created_at", "2018-03-02 14:40:35.157313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-03-02 14:40:35.186957"], ["updated_at", "2018-03-02 14:40:35.186957"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 49], ["created_at", "2018-03-02 14:40:35.189341"], ["updated_at", "2018-03-02 14:40:35.189341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "last_error_message" = $1, "updated_at" = $2 WHERE "notifiable_notifications"."id" = $3 [["last_error_message", "SSL error occured"], ["updated_at", "2018-03-02 14:40:35.191547"], ["id", 29]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-03-02 14:40:35.224749"], ["updated_at", "2018-03-02 14:40:35.224749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 50], ["created_at", "2018-03-02 14:40:35.227741"], ["updated_at", "2018-03-02 14:40:35.227741"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-03-02 14:40:35.230929"], ["updated_at", "2018-03-02 14:40:35.230929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD7' AND "notifiable_device_tokens"."app_id" = 51) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["provider", "mock"], ["token", "ABCD7"], ["app_id", 51], ["created_at", "2018-03-02 14:40:35.233727"], ["updated_at", "2018-03-02 14:40:35.233727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "status", "device_token_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 30], ["status", 0], ["device_token_id", 21], ["created_at", "2018-03-02 14:40:35.236071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 30]] SQL (0.2ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 21]] SQL (0.2ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 30]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 1"], ["created_at", "2018-03-02 14:41:01.876765"], ["updated_at", "2018-03-02 14:41:01.876765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 52], ["created_at", "2018-03-02 14:41:01.901276"], ["updated_at", "2018-03-02 14:41:01.901276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-03-02 14:41:01.919649"], ["updated_at", "2018-03-02 14:41:01.919649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD1' AND "notifiable_device_tokens"."app_id" = 53) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD1"], ["app_id", 53], ["locale", "en"], ["created_at", "2018-03-02 14:41:01.932658"], ["updated_at", "2018-03-02 14:41:01.932658"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:01.935553"], ["id", 31]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 31]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 22]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 31], ["device_token_id", 22], ["status", 0], ["created_at", "2018-03-02 14:41:01.934696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.5ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (1.5ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND schemaname = ANY (current_schemas(false))   (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (16.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 3"], ["created_at", "2018-03-02 14:41:01.990773"], ["updated_at", "2018-03-02 14:41:01.990773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 54], ["created_at", "2018-03-02 14:41:01.994792"], ["updated_at", "2018-03-02 14:41:01.994792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-03-02 14:41:01.997281"], ["updated_at", "2018-03-02 14:41:01.997281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD2' AND "notifiable_device_tokens"."app_id" = 55) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD2"], ["app_id", 55], ["locale", "en"], ["created_at", "2018-03-02 14:41:02.001173"], ["updated_at", "2018-03-02 14:41:02.001173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:02.003764"], ["id", 32]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 32]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 23]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 32], ["device_token_id", 23], ["status", 0], ["created_at", "2018-03-02 14:41:02.003016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) 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_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 5"], ["created_at", "2018-03-02 14:41:02.033185"], ["updated_at", "2018-03-02 14:41:02.033185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 56], ["created_at", "2018-03-02 14:41:02.037825"], ["updated_at", "2018-03-02 14:41:02.037825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-03-02 14:41:02.041358"], ["updated_at", "2018-03-02 14:41:02.041358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD3' AND "notifiable_device_tokens"."app_id" = 57) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD3"], ["app_id", 57], ["locale", "en"], ["created_at", "2018-03-02 14:41:02.045612"], ["updated_at", "2018-03-02 14:41:02.045612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:02.048514"], ["id", 33]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 33]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 24]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 33], ["device_token_id", 24], ["status", 0], ["created_at", "2018-03-02 14:41:02.047384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 7"], ["created_at", "2018-03-02 14:41:02.078566"], ["updated_at", "2018-03-02 14:41:02.078566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 58], ["created_at", "2018-03-02 14:41:02.083019"], ["updated_at", "2018-03-02 14:41:02.083019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-03-02 14:41:02.086917"], ["updated_at", "2018-03-02 14:41:02.086917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD4' AND "notifiable_device_tokens"."app_id" = 59) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD4"], ["app_id", 59], ["locale", "en"], ["created_at", "2018-03-02 14:41:02.090601"], ["updated_at", "2018-03-02 14:41:02.090601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:02.092862"], ["id", 34]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 34]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 25]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 34], ["device_token_id", 25], ["status", 0], ["created_at", "2018-03-02 14:41:02.092165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT 1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 9"], ["created_at", "2018-03-02 14:41:02.121164"], ["updated_at", "2018-03-02 14:41:02.121164"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 60], ["created_at", "2018-03-02 14:41:02.126313"], ["updated_at", "2018-03-02 14:41:02.126313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-03-02 14:41:02.130251"], ["updated_at", "2018-03-02 14:41:02.130251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD5' AND "notifiable_device_tokens"."app_id" = 61) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD5"], ["app_id", 61], ["locale", "en"], ["created_at", "2018-03-02 14:41:02.133936"], ["updated_at", "2018-03-02 14:41:02.133936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:02.136587"], ["id", 35]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 35]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 26]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 35], ["device_token_id", 26], ["status", 0], ["created_at", "2018-03-02 14:41:02.135635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT 1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (13.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("configuration", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["name", "App 11"], ["created_at", "2018-03-02 14:41:02.167494"], ["updated_at", "2018-03-02 14:41:02.167494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 62], ["created_at", "2018-03-02 14:41:02.172433"], ["updated_at", "2018-03-02 14:41:02.172433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-03-02 14:41:02.175151"], ["updated_at", "2018-03-02 14:41:02.175151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD6' AND "notifiable_device_tokens"."app_id" = 63) LIMIT 1 SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "locale", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["provider", "mock"], ["token", "ABCD6"], ["app_id", 63], ["locale", "en"], ["created_at", "2018-03-02 14:41:02.178354"], ["updated_at", "2018-03-02 14:41:02.178354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-03-02 14:41:02.180632"], ["id", 36]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT 1 [["id", 36]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT 1 [["id", 27]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 36], ["device_token_id", 27], ["status", 0], ["created_at", "2018-03-02 14:41:02.180038"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (15.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (2.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-03-02 14:41:02.212332"], ["updated_at", "2018-03-02 14:41:02.212332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 64], ["created_at", "2018-03-02 14:41:02.216114"], ["updated_at", "2018-03-02 14:41:02.216114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (16.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-03-02 14:41:02.245338"], ["updated_at", "2018-03-02 14:41:02.245338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 65], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-03-02 14:41:02.248994"], ["updated_at", "2018-03-02 14:41:02.248994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (14.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-03-02 14:41:02.273823"], ["updated_at", "2018-03-02 14:41:02.273823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 66], ["created_at", "2018-03-02 14:41:02.277498"], ["updated_at", "2018-03-02 14:41:02.277498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "last_error_message" = $1, "updated_at" = $2 WHERE "notifiable_notifications"."id" = $3 [["last_error_message", "SSL error occured"], ["updated_at", "2018-03-02 14:41:02.279607"], ["id", 39]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-03-02 14:41:02.307898"], ["updated_at", "2018-03-02 14:41:02.307898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 67], ["created_at", "2018-03-02 14:41:02.310170"], ["updated_at", "2018-03-02 14:41:02.310170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-03-02 14:41:02.312942"], ["updated_at", "2018-03-02 14:41:02.312942"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE ("notifiable_device_tokens"."token" = 'ABCD7' AND "notifiable_device_tokens"."app_id" = 68) LIMIT 1 SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("provider", "token", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["provider", "mock"], ["token", "ABCD7"], ["app_id", 68], ["created_at", "2018-03-02 14:41:02.315806"], ["updated_at", "2018-03-02 14:41:02.315806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "status", "device_token_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 40], ["status", 0], ["device_token_id", 28], ["created_at", "2018-03-02 14:41:02.318511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 40]] SQL (0.2ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 28]] SQL (0.2ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 40]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (13.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (4.1ms) ROLLBACK  (49.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) SELECT pg_try_advisory_lock(5131134053504291175)  (3.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddTitleToNotifications (201803142135000)  (5.6ms) BEGIN  (19.4ms) ALTER TABLE "notifiable_notifications" ADD "title" character varying SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201803142135000"]]  (0.7ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (1.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-03-21 05:51:03.711472"], ["updated_at", "2018-03-21 05:51:03.711472"]]  (0.5ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (1.0ms) SELECT pg_try_advisory_lock(5131134053504291175)  (3.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (2.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.5ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (6.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.8ms) RELEASE SAVEPOINT active_record_1  (9.5ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (5.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (18.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1  (1.0ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 1"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:58.949106"], ["updated_at", "2018-05-29 17:52:58.949106"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 69], ["created_at", "2018-05-29 17:52:58.986033"], ["updated_at", "2018-05-29 17:52:58.986033"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 17:52:59.011978"], ["updated_at", "2018-05-29 17:52:59.011978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 70], ["created_at", "2018-05-29 17:52:59.014150"], ["updated_at", "2018-05-29 17:52:59.014150"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 17:52:59.038790"], ["updated_at", "2018-05-29 17:52:59.038790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 71], ["created_at", "2018-05-29 17:52:59.041559"], ["updated_at", "2018-05-29 17:52:59.041559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 71]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 17:52:59.079723"], ["updated_at", "2018-05-29 17:52:59.079723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 17:52:59.250547"], ["updated_at", "2018-05-29 17:52:59.250547"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (2.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 73 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 17:52:59.282672"], ["updated_at", "2018-05-29 17:52:59.282672"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 74 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 17:52:59.310229"], ["updated_at", "2018-05-29 17:52:59.310229"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 75 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 17:52:59.336542"], ["updated_at", "2018-05-29 17:52:59.336542"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 76 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 17:52:59.366772"], ["updated_at", "2018-05-29 17:52:59.366772"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 77 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 17:52:59.396075"], ["updated_at", "2018-05-29 17:52:59.396075"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 78 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 17:52:59.422078"], ["updated_at", "2018-05-29 17:52:59.422078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 79 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 17:52:59.450289"], ["updated_at", "2018-05-29 17:52:59.450289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 80 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 17:52:59.488931"], ["updated_at", "2018-05-29 17:52:59.488931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 81], ["created_at", "2018-05-29 17:52:59.491077"], ["updated_at", "2018-05-29 17:52:59.491077"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 17:52:59.494230"], ["updated_at", "2018-05-29 17:52:59.494230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 82 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.521139"], ["updated_at", "2018-05-29 17:52:59.521139"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 83], ["created_at", "2018-05-29 17:52:59.525042"], ["updated_at", "2018-05-29 17:52:59.525042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 16"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.571201"], ["updated_at", "2018-05-29 17:52:59.571201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 84], ["created_at", "2018-05-29 17:52:59.574843"], ["updated_at", "2018-05-29 17:52:59.574843"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 17"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.598680"], ["updated_at", "2018-05-29 17:52:59.598680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 85], ["created_at", "2018-05-29 17:52:59.602121"], ["updated_at", "2018-05-29 17:52:59.602121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 85 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 18"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.630563"], ["updated_at", "2018-05-29 17:52:59.630563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 86], ["created_at", "2018-05-29 17:52:59.633767"], ["updated_at", "2018-05-29 17:52:59.633767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 86 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.661784"], ["updated_at", "2018-05-29 17:52:59.661784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 87], ["created_at", "2018-05-29 17:52:59.665281"], ["updated_at", "2018-05-29 17:52:59.665281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 87 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:52:59.691631"], ["updated_at", "2018-05-29 17:52:59.691631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 88], ["created_at", "2018-05-29 17:52:59.694712"], ["updated_at", "2018-05-29 17:52:59.694712"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 88 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 17:52:59.722129"], ["updated_at", "2018-05-29 17:52:59.722129"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 89], ["created_at", "2018-05-29 17:52:59.724837"], ["updated_at", "2018-05-29 17:52:59.724837"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.752416"], ["updated_at", "2018-05-29 17:52:59.752416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 90], ["created_at", "2018-05-29 17:52:59.755454"], ["updated_at", "2018-05-29 17:52:59.755454"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 23"], ["created_at", "2018-05-29 17:52:59.758497"], ["updated_at", "2018-05-29 17:52:59.758497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 91 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.767905"], ["last_error_message", "undefined method `language' for #"], ["id", 52]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 24"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.813187"], ["updated_at", "2018-05-29 17:52:59.813187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 92], ["created_at", "2018-05-29 17:52:59.815582"], ["updated_at", "2018-05-29 17:52:59.815582"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 17:52:59.817842"], ["updated_at", "2018-05-29 17:52:59.817842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 93 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.826355"], ["last_error_message", "undefined method `language' for #"], ["id", 53]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.9ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 26"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.848682"], ["updated_at", "2018-05-29 17:52:59.848682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 94], ["created_at", "2018-05-29 17:52:59.851111"], ["updated_at", "2018-05-29 17:52:59.851111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 17:52:59.853360"], ["updated_at", "2018-05-29 17:52:59.853360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 95 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.861802"], ["last_error_message", "undefined method `language' for #"], ["id", 54]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 28"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.883415"], ["updated_at", "2018-05-29 17:52:59.883415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 96], ["created_at", "2018-05-29 17:52:59.886738"], ["updated_at", "2018-05-29 17:52:59.886738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 17:52:59.889111"], ["updated_at", "2018-05-29 17:52:59.889111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 97 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.897385"], ["last_error_message", "undefined method `language' for #"], ["id", 55]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.918064"], ["updated_at", "2018-05-29 17:52:59.918064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 98], ["created_at", "2018-05-29 17:52:59.920750"], ["updated_at", "2018-05-29 17:52:59.920750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 17:52:59.922925"], ["updated_at", "2018-05-29 17:52:59.922925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 99 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.931111"], ["last_error_message", "undefined method `language' for #"], ["id", 56]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:52:59.952303"], ["updated_at", "2018-05-29 17:52:59.952303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 100], ["created_at", "2018-05-29 17:52:59.955364"], ["updated_at", "2018-05-29 17:52:59.955364"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 17:52:59.957442"], ["updated_at", "2018-05-29 17:52:59.957442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 101 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:52:59.965671"], ["last_error_message", "undefined method `language' for #"], ["id", 57]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 17:52:59.986455"], ["updated_at", "2018-05-29 17:52:59.986455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 102], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 17:52:59.988488"], ["updated_at", "2018-05-29 17:52:59.988488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 17:53:00.009949"], ["updated_at", "2018-05-29 17:53:00.009949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 103], ["created_at", "2018-05-29 17:53:00.011830"], ["updated_at", "2018-05-29 17:53:00.011830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 17:53:00.013973"], ["updated_at", "2018-05-29 17:53:00.013973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 104 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 17:53:00.036522"], ["updated_at", "2018-05-29 17:53:00.036522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 105], ["created_at", "2018-05-29 17:53:00.038638"], ["updated_at", "2018-05-29 17:53:00.038638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:00.040467"], ["last_error_message", "SSL error occured"], ["id", 60]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.4ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 1"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.548273"], ["updated_at", "2018-05-29 17:53:20.548273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 106], ["created_at", "2018-05-29 17:53:20.582525"], ["updated_at", "2018-05-29 17:53:20.582525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.0ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.7ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (21.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 2"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.625297"], ["updated_at", "2018-05-29 17:53:20.625297"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 107], ["created_at", "2018-05-29 17:53:20.628879"], ["updated_at", "2018-05-29 17:53:20.628879"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 107 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 3"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.678253"], ["updated_at", "2018-05-29 17:53:20.678253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 108], ["created_at", "2018-05-29 17:53:20.682041"], ["updated_at", "2018-05-29 17:53:20.682041"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 108 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 4"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.708797"], ["updated_at", "2018-05-29 17:53:20.708797"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 109], ["created_at", "2018-05-29 17:53:20.712989"], ["updated_at", "2018-05-29 17:53:20.712989"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 109 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 5"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.739564"], ["updated_at", "2018-05-29 17:53:20.739564"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 110], ["created_at", "2018-05-29 17:53:20.743856"], ["updated_at", "2018-05-29 17:53:20.743856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 110 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 6"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:20.769112"], ["updated_at", "2018-05-29 17:53:20.769112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 111], ["created_at", "2018-05-29 17:53:20.772161"], ["updated_at", "2018-05-29 17:53:20.772161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 17:53:20.819074"], ["updated_at", "2018-05-29 17:53:20.819074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 112], ["created_at", "2018-05-29 17:53:20.821373"], ["updated_at", "2018-05-29 17:53:20.821373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 17:53:20.845557"], ["updated_at", "2018-05-29 17:53:20.845557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 113], ["created_at", "2018-05-29 17:53:20.847896"], ["updated_at", "2018-05-29 17:53:20.847896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 113]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 17:53:20.980545"], ["updated_at", "2018-05-29 17:53:20.980545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 10"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:21.004908"], ["updated_at", "2018-05-29 17:53:21.004908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 115], ["created_at", "2018-05-29 17:53:21.008265"], ["updated_at", "2018-05-29 17:53:21.008265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 17:53:21.033944"], ["updated_at", "2018-05-29 17:53:21.033944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 116 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 17:53:21.060388"], ["updated_at", "2018-05-29 17:53:21.060388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 117 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 17:53:21.087657"], ["updated_at", "2018-05-29 17:53:21.087657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 118 LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (5.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 17:53:21.116219"], ["updated_at", "2018-05-29 17:53:21.116219"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 119 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 17:53:21.146360"], ["updated_at", "2018-05-29 17:53:21.146360"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.2ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 120 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 17:53:21.189911"], ["updated_at", "2018-05-29 17:53:21.189911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 121], ["created_at", "2018-05-29 17:53:21.192217"], ["updated_at", "2018-05-29 17:53:21.192217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 17:53:21.196171"], ["updated_at", "2018-05-29 17:53:21.196171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 122 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 17:53:21.223127"], ["updated_at", "2018-05-29 17:53:21.223127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 123 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 19"], ["created_at", "2018-05-29 17:53:21.249587"], ["updated_at", "2018-05-29 17:53:21.249587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 124 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-05-29 17:53:21.276447"], ["updated_at", "2018-05-29 17:53:21.276447"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 125 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 17:53:21.303925"], ["updated_at", "2018-05-29 17:53:21.303925"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 126], ["created_at", "2018-05-29 17:53:21.306508"], ["updated_at", "2018-05-29 17:53:21.306508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 22"], ["created_at", "2018-05-29 17:53:21.310437"], ["updated_at", "2018-05-29 17:53:21.310437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 127 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 23"], ["created_at", "2018-05-29 17:53:21.337490"], ["updated_at", "2018-05-29 17:53:21.337490"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 128], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 17:53:21.339985"], ["updated_at", "2018-05-29 17:53:21.339985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 17:53:21.365069"], ["updated_at", "2018-05-29 17:53:21.365069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 129], ["created_at", "2018-05-29 17:53:21.367201"], ["updated_at", "2018-05-29 17:53:21.367201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.369217"], ["last_error_message", "SSL error occured"], ["id", 73]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 17:53:21.404930"], ["updated_at", "2018-05-29 17:53:21.404930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 130], ["created_at", "2018-05-29 17:53:21.407670"], ["updated_at", "2018-05-29 17:53:21.407670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 26"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.435585"], ["updated_at", "2018-05-29 17:53:21.435585"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 131], ["created_at", "2018-05-29 17:53:21.439210"], ["updated_at", "2018-05-29 17:53:21.439210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 17:53:21.441603"], ["updated_at", "2018-05-29 17:53:21.441603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 132 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.450653"], ["last_error_message", "undefined method `language' for #"], ["id", 75]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 28"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.486373"], ["updated_at", "2018-05-29 17:53:21.486373"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 133], ["created_at", "2018-05-29 17:53:21.489524"], ["updated_at", "2018-05-29 17:53:21.489524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 17:53:21.491735"], ["updated_at", "2018-05-29 17:53:21.491735"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 134 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.500791"], ["last_error_message", "undefined method `language' for #"], ["id", 76]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.525313"], ["updated_at", "2018-05-29 17:53:21.525313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 135], ["created_at", "2018-05-29 17:53:21.528611"], ["updated_at", "2018-05-29 17:53:21.528611"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 17:53:21.531753"], ["updated_at", "2018-05-29 17:53:21.531753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 136 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.540398"], ["last_error_message", "undefined method `language' for #"], ["id", 77]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.566175"], ["updated_at", "2018-05-29 17:53:21.566175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 137], ["created_at", "2018-05-29 17:53:21.569506"], ["updated_at", "2018-05-29 17:53:21.569506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 17:53:21.572003"], ["updated_at", "2018-05-29 17:53:21.572003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 138 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.580580"], ["last_error_message", "undefined method `language' for #"], ["id", 78]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 34"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.604750"], ["updated_at", "2018-05-29 17:53:21.604750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 139], ["created_at", "2018-05-29 17:53:21.607558"], ["updated_at", "2018-05-29 17:53:21.607558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 17:53:21.609930"], ["updated_at", "2018-05-29 17:53:21.609930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 140 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.619103"], ["last_error_message", "undefined method `language' for #"], ["id", 79]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 36"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:21.640797"], ["updated_at", "2018-05-29 17:53:21.640797"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 141], ["created_at", "2018-05-29 17:53:21.643475"], ["updated_at", "2018-05-29 17:53:21.643475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 17:53:21.646210"], ["updated_at", "2018-05-29 17:53:21.646210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 142 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:21.655224"], ["last_error_message", "undefined method `language' for #"], ["id", 80]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_device_tokens", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddLanguageAndRegionToDeviceTokens (201805292135000)  (0.1ms) BEGIN  (5.6ms) ALTER TABLE "notifiable_device_tokens" ADD "language" character varying  (0.5ms) ALTER TABLE "notifiable_device_tokens" ADD "region" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201805292135000"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (19.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (17.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.4ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (15.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (1.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (17.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (6.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 17:53:50.433380"], ["updated_at", "2018-05-29 17:53:50.433380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (14.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 17:53:50.460908"], ["updated_at", "2018-05-29 17:53:50.460908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 144], ["created_at", "2018-05-29 17:53:50.484923"], ["updated_at", "2018-05-29 17:53:50.484923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 17:53:50.510578"], ["updated_at", "2018-05-29 17:53:50.510578"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 145], ["created_at", "2018-05-29 17:53:50.513873"], ["updated_at", "2018-05-29 17:53:50.513873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 145]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 4"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:50.545618"], ["updated_at", "2018-05-29 17:53:50.545618"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 146], ["created_at", "2018-05-29 17:53:50.549135"], ["updated_at", "2018-05-29 17:53:50.549135"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 17:53:50.574058"], ["updated_at", "2018-05-29 17:53:50.574058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 147], ["created_at", "2018-05-29 17:53:50.576098"], ["updated_at", "2018-05-29 17:53:50.576098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 17:53:50.610391"], ["updated_at", "2018-05-29 17:53:50.610391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 148 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 17:53:50.646466"], ["updated_at", "2018-05-29 17:53:50.646466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 149], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 17:53:50.649814"], ["updated_at", "2018-05-29 17:53:50.649814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 17:53:50.676070"], ["updated_at", "2018-05-29 17:53:50.676070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 150], ["created_at", "2018-05-29 17:53:50.678767"], ["updated_at", "2018-05-29 17:53:50.678767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 9"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.701604"], ["updated_at", "2018-05-29 17:53:50.701604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 151], ["created_at", "2018-05-29 17:53:50.704709"], ["updated_at", "2018-05-29 17:53:50.704709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 17:53:50.707444"], ["updated_at", "2018-05-29 17:53:50.707444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 152 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.713602"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 87]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 11"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.754785"], ["updated_at", "2018-05-29 17:53:50.754785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 153], ["created_at", "2018-05-29 17:53:50.757759"], ["updated_at", "2018-05-29 17:53:50.757759"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 17:53:50.760817"], ["updated_at", "2018-05-29 17:53:50.760817"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 154 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.767075"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 88]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 13"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.794959"], ["updated_at", "2018-05-29 17:53:50.794959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 155], ["created_at", "2018-05-29 17:53:50.798424"], ["updated_at", "2018-05-29 17:53:50.798424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 17:53:50.801265"], ["updated_at", "2018-05-29 17:53:50.801265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 156 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.807478"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 89]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.833106"], ["updated_at", "2018-05-29 17:53:50.833106"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 157], ["created_at", "2018-05-29 17:53:50.837503"], ["updated_at", "2018-05-29 17:53:50.837503"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 17:53:50.840838"], ["updated_at", "2018-05-29 17:53:50.840838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 158 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.846655"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 17"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.872615"], ["updated_at", "2018-05-29 17:53:50.872615"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 159], ["created_at", "2018-05-29 17:53:50.875630"], ["updated_at", "2018-05-29 17:53:50.875630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 17:53:50.878701"], ["updated_at", "2018-05-29 17:53:50.878701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 160 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.892509"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 91]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:53:50.919666"], ["updated_at", "2018-05-29 17:53:50.919666"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 161], ["created_at", "2018-05-29 17:53:50.923805"], ["updated_at", "2018-05-29 17:53:50.923805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-05-29 17:53:50.926593"], ["updated_at", "2018-05-29 17:53:50.926593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 162 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.931704"], ["last_error_message", "Validation failed: Language is too short (minimum is 2 characters), Region is too short (minimum is 2 characters)"], ["id", 92]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 17:53:50.957782"], ["updated_at", "2018-05-29 17:53:50.957782"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 163], ["created_at", "2018-05-29 17:53:50.960583"], ["updated_at", "2018-05-29 17:53:50.960583"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:53:50.963085"], ["last_error_message", "SSL error occured"], ["id", 93]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:50.985600"], ["updated_at", "2018-05-29 17:53:50.985600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 164], ["created_at", "2018-05-29 17:53:50.989320"], ["updated_at", "2018-05-29 17:53:50.989320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:51.034696"], ["updated_at", "2018-05-29 17:53:51.034696"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 165], ["created_at", "2018-05-29 17:53:51.038513"], ["updated_at", "2018-05-29 17:53:51.038513"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 24"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:51.063309"], ["updated_at", "2018-05-29 17:53:51.063309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 166], ["created_at", "2018-05-29 17:53:51.066866"], ["updated_at", "2018-05-29 17:53:51.066866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 166 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 25"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:51.094080"], ["updated_at", "2018-05-29 17:53:51.094080"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 167], ["created_at", "2018-05-29 17:53:51.097875"], ["updated_at", "2018-05-29 17:53:51.097875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 167 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 26"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:51.125990"], ["updated_at", "2018-05-29 17:53:51.125990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 168], ["created_at", "2018-05-29 17:53:51.129319"], ["updated_at", "2018-05-29 17:53:51.129319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 168 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 27"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:53:51.159844"], ["updated_at", "2018-05-29 17:53:51.159844"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 169], ["created_at", "2018-05-29 17:53:51.164021"], ["updated_at", "2018-05-29 17:53:51.164021"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 169 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 17:53:51.192860"], ["updated_at", "2018-05-29 17:53:51.192860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 170 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 17:53:51.220581"], ["updated_at", "2018-05-29 17:53:51.220581"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 171 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 17:53:51.249867"], ["updated_at", "2018-05-29 17:53:51.249867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 172 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 17:53:51.279282"], ["updated_at", "2018-05-29 17:53:51.279282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 173 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 17:53:51.307272"], ["updated_at", "2018-05-29 17:53:51.307272"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 174 LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (14.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 17:53:51.338358"], ["updated_at", "2018-05-29 17:53:51.338358"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 175], ["created_at", "2018-05-29 17:53:51.341438"], ["updated_at", "2018-05-29 17:53:51.341438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 17:53:51.343773"], ["updated_at", "2018-05-29 17:53:51.343773"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 176 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (19.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 17:53:51.378311"], ["updated_at", "2018-05-29 17:53:51.378311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 177 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 17:53:51.407091"], ["updated_at", "2018-05-29 17:53:51.407091"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 178 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 17:53:51.434529"], ["updated_at", "2018-05-29 17:53:51.434529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 179 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.6ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (21.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 1"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.388069"], ["updated_at", "2018-05-29 17:54:53.388069"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 180], ["created_at", "2018-05-29 17:54:53.425790"], ["updated_at", "2018-05-29 17:54:53.425790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (21.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 2"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.460636"], ["updated_at", "2018-05-29 17:54:53.460636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 181], ["created_at", "2018-05-29 17:54:53.463617"], ["updated_at", "2018-05-29 17:54:53.463617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 181 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (1.8ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["locale", "en"], ["app_id", 181], ["created_at", "2018-05-29 17:54:53.515229"], ["updated_at", "2018-05-29 17:54:53.515229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 181 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["locale", "en"], ["app_id", 181], ["created_at", "2018-05-29 17:54:53.522572"], ["updated_at", "2018-05-29 17:54:53.522572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 102], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.9ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 29], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 102], ["device_token_id", 29], ["status", 0], ["created_at", "2018-05-29 17:54:53.519356"]] Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 102], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 102], ["device_token_id", 30], ["status", 0], ["created_at", "2018-05-29 17:54:53.524315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 17:54:53.553200"], ["id", 102]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 3"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.579918"], ["updated_at", "2018-05-29 17:54:53.579918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 182], ["created_at", "2018-05-29 17:54:53.584112"], ["updated_at", "2018-05-29 17:54:53.584112"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 182 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 182], ["created_at", "2018-05-29 17:54:53.588189"], ["updated_at", "2018-05-29 17:54:53.588189"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 182 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 182], ["created_at", "2018-05-29 17:54:53.593391"], ["updated_at", "2018-05-29 17:54:53.593391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 103], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 31], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 103], ["device_token_id", 31], ["status", 0], ["created_at", "2018-05-29 17:54:53.590353"]] Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 103], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 103], ["device_token_id", 32], ["status", 0], ["created_at", "2018-05-29 17:54:53.594978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 17:54:53.602738"], ["id", 103]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 4"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.630584"], ["updated_at", "2018-05-29 17:54:53.630584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 183], ["created_at", "2018-05-29 17:54:53.634115"], ["updated_at", "2018-05-29 17:54:53.634115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 183 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["locale", "en"], ["app_id", 183], ["created_at", "2018-05-29 17:54:53.638021"], ["updated_at", "2018-05-29 17:54:53.638021"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 183 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["locale", "en"], ["app_id", 183], ["created_at", "2018-05-29 17:54:53.643832"], ["updated_at", "2018-05-29 17:54:53.643832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 17:54:53.645882"], ["id", 104]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 5"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.672677"], ["updated_at", "2018-05-29 17:54:53.672677"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 184], ["created_at", "2018-05-29 17:54:53.677491"], ["updated_at", "2018-05-29 17:54:53.677491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 184 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["locale", "en"], ["app_id", 184], ["created_at", "2018-05-29 17:54:53.681643"], ["updated_at", "2018-05-29 17:54:53.681643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 184 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["locale", "en"], ["app_id", 184], ["created_at", "2018-05-29 17:54:53.685692"], ["updated_at", "2018-05-29 17:54:53.685692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 17:54:53.687838"], ["id", 105]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 6"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.712002"], ["updated_at", "2018-05-29 17:54:53.712002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 185], ["created_at", "2018-05-29 17:54:53.715552"], ["updated_at", "2018-05-29 17:54:53.715552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 7"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 17:54:53.737273"], ["updated_at", "2018-05-29 17:54:53.737273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 186], ["created_at", "2018-05-29 17:54:53.740914"], ["updated_at", "2018-05-29 17:54:53.740914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 17:54:53.770795"], ["updated_at", "2018-05-29 17:54:53.770795"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 187], ["created_at", "2018-05-29 17:54:53.774290"], ["updated_at", "2018-05-29 17:54:53.774290"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 187]]  (0.2ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 17:54:53.811888"], ["updated_at", "2018-05-29 17:54:53.811888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 188], ["created_at", "2018-05-29 17:54:53.815460"], ["updated_at", "2018-05-29 17:54:53.815460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 17:54:53.885795"], ["updated_at", "2018-05-29 17:54:53.885795"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 17:54:53.968877"], ["updated_at", "2018-05-29 17:54:53.968877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 190 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (3.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 190], ["created_at", "2018-05-29 17:54:53.972845"], ["updated_at", "2018-05-29 17:54:53.972845"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (18.9ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 17:54:54.023170"], ["updated_at", "2018-05-29 17:54:54.023170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 191], ["created_at", "2018-05-29 17:54:54.025499"], ["updated_at", "2018-05-29 17:54:54.025499"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 17:54:54.028118"], ["updated_at", "2018-05-29 17:54:54.028118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 192 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 192], ["created_at", "2018-05-29 17:54:54.031176"], ["updated_at", "2018-05-29 17:54:54.031176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 110], ["device_token_id", 38], ["status", 0], ["created_at", "2018-05-29 17:54:54.033166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 17:54:54.035512"], ["updated_at", "2018-05-29 17:54:54.035512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 193], ["created_at", "2018-05-29 17:54:54.037093"], ["updated_at", "2018-05-29 17:54:54.037093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 17:54:54.039543"], ["updated_at", "2018-05-29 17:54:54.039543"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 194 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["app_id", 194], ["created_at", "2018-05-29 17:54:54.043044"], ["updated_at", "2018-05-29 17:54:54.043044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 111], ["device_token_id", 39], ["status", 0], ["created_at", "2018-05-29 17:54:54.044837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 17:54:54.046754"], ["updated_at", "2018-05-29 17:54:54.046754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 195 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["app_id", 195], ["created_at", "2018-05-29 17:54:54.058563"], ["updated_at", "2018-05-29 17:54:54.058563"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 40], ["id", 33]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 40], ["id", 34]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 40]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (16.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 17:54:54.092362"], ["updated_at", "2018-05-29 17:54:54.092362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 196 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 17:54:54.120300"], ["updated_at", "2018-05-29 17:54:54.120300"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 197 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 197], ["created_at", "2018-05-29 17:54:54.125542"], ["updated_at", "2018-05-29 17:54:54.125542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 197 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 19"], ["created_at", "2018-05-29 17:54:54.152641"], ["updated_at", "2018-05-29 17:54:54.152641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 198 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-05-29 17:54:54.180323"], ["updated_at", "2018-05-29 17:54:54.180323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 199 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD13"], ["provider", "mock"], ["app_id", 199], ["created_at", "2018-05-29 17:54:54.183912"], ["updated_at", "2018-05-29 17:54:54.183912"], ["name", "Matt's iPhone"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 17:54:54.208785"], ["updated_at", "2018-05-29 17:54:54.208785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 200 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 200], ["created_at", "2018-05-29 17:54:54.212646"], ["updated_at", "2018-05-29 17:54:54.212646"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 22"], ["created_at", "2018-05-29 17:54:54.237781"], ["updated_at", "2018-05-29 17:54:54.237781"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 201 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["app_id", 201], ["created_at", "2018-05-29 17:54:54.243829"], ["updated_at", "2018-05-29 17:54:54.243829"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 23"], ["created_at", "2018-05-29 17:54:54.270742"], ["updated_at", "2018-05-29 17:54:54.270742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 202 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD16"], ["provider", "mock"], ["app_id", 202], ["created_at", "2018-05-29 17:54:54.274949"], ["updated_at", "2018-05-29 17:54:54.274949"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 17:54:54.300811"], ["updated_at", "2018-05-29 17:54:54.300811"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 203], ["created_at", "2018-05-29 17:54:54.303481"], ["updated_at", "2018-05-29 17:54:54.303481"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 17:54:54.306151"], ["last_error_message", "SSL error occured"], ["id", 112]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 25"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.331667"], ["updated_at", "2018-05-29 17:54:54.331667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 204], ["created_at", "2018-05-29 17:54:54.334383"], ["updated_at", "2018-05-29 17:54:54.334383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 17:54:54.336648"], ["updated_at", "2018-05-29 17:54:54.336648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 205 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["locale", "en"], ["app_id", 205], ["created_at", "2018-05-29 17:54:54.340331"], ["updated_at", "2018-05-29 17:54:54.340331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.343198"], ["id", 113]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 113], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 46], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 113], ["device_token_id", 46], ["status", 0], ["created_at", "2018-05-29 17:54:54.342550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 27"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.373276"], ["updated_at", "2018-05-29 17:54:54.373276"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 206], ["created_at", "2018-05-29 17:54:54.376324"], ["updated_at", "2018-05-29 17:54:54.376324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 17:54:54.378806"], ["updated_at", "2018-05-29 17:54:54.378806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 207 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD18"], ["provider", "mock"], ["locale", "en"], ["app_id", 207], ["created_at", "2018-05-29 17:54:54.381833"], ["updated_at", "2018-05-29 17:54:54.381833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.383992"], ["id", 114]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 114], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 47], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 114], ["device_token_id", 47], ["status", 0], ["created_at", "2018-05-29 17:54:54.383436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 29"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.409778"], ["updated_at", "2018-05-29 17:54:54.409778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 208], ["created_at", "2018-05-29 17:54:54.412473"], ["updated_at", "2018-05-29 17:54:54.412473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 17:54:54.414908"], ["updated_at", "2018-05-29 17:54:54.414908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 209 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["locale", "en"], ["app_id", 209], ["created_at", "2018-05-29 17:54:54.418023"], ["updated_at", "2018-05-29 17:54:54.418023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.420101"], ["id", 115]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 115], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 48], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 115], ["device_token_id", 48], ["status", 0], ["created_at", "2018-05-29 17:54:54.419572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 31"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.450389"], ["updated_at", "2018-05-29 17:54:54.450389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 210], ["created_at", "2018-05-29 17:54:54.453445"], ["updated_at", "2018-05-29 17:54:54.453445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 17:54:54.456063"], ["updated_at", "2018-05-29 17:54:54.456063"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 211 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD20"], ["provider", "mock"], ["locale", "en"], ["app_id", 211], ["created_at", "2018-05-29 17:54:54.459528"], ["updated_at", "2018-05-29 17:54:54.459528"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.461976"], ["id", 116]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 116], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 116], ["device_token_id", 49], ["status", 0], ["created_at", "2018-05-29 17:54:54.461257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 33"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.493250"], ["updated_at", "2018-05-29 17:54:54.493250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 212], ["created_at", "2018-05-29 17:54:54.496392"], ["updated_at", "2018-05-29 17:54:54.496392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 17:54:54.498682"], ["updated_at", "2018-05-29 17:54:54.498682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 213 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD21"], ["provider", "mock"], ["locale", "en"], ["app_id", 213], ["created_at", "2018-05-29 17:54:54.501912"], ["updated_at", "2018-05-29 17:54:54.501912"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.504403"], ["id", 117]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 117], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 50], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 117], ["device_token_id", 50], ["status", 0], ["created_at", "2018-05-29 17:54:54.503681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 35"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 17:54:54.535895"], ["updated_at", "2018-05-29 17:54:54.535895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 214], ["created_at", "2018-05-29 17:54:54.539035"], ["updated_at", "2018-05-29 17:54:54.539035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 17:54:54.541807"], ["updated_at", "2018-05-29 17:54:54.541807"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 215 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD22"], ["provider", "mock"], ["locale", "en"], ["app_id", 215], ["created_at", "2018-05-29 17:54:54.545143"], ["updated_at", "2018-05-29 17:54:54.545143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 17:54:54.547531"], ["id", 118]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 118], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 118], ["device_token_id", 51], ["status", 0], ["created_at", "2018-05-29 17:54:54.546902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 17:54:54.578096"], ["updated_at", "2018-05-29 17:54:54.578096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 216], ["created_at", "2018-05-29 17:54:54.580632"], ["updated_at", "2018-05-29 17:54:54.580632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 38"], ["created_at", "2018-05-29 17:54:54.603575"], ["updated_at", "2018-05-29 17:54:54.603575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 217], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 17:54:54.605639"], ["updated_at", "2018-05-29 17:54:54.605639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-05-29 17:54:54.631336"], ["updated_at", "2018-05-29 17:54:54.631336"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 218], ["created_at", "2018-05-29 17:54:54.633896"], ["updated_at", "2018-05-29 17:54:54.633896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 40"], ["created_at", "2018-05-29 17:54:54.636839"], ["updated_at", "2018-05-29 17:54:54.636839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 219 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD23"], ["provider", "mock"], ["app_id", 219], ["created_at", "2018-05-29 17:54:54.640619"], ["updated_at", "2018-05-29 17:54:54.640619"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 121], ["device_token_id", 52], ["status", 0], ["created_at", "2018-05-29 17:54:54.642916"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 121]] SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 41]] SQL (0.3ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 121]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:00:35.477751"], ["updated_at", "2018-05-29 18:00:35.477751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 220 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 220], ["created_at", "2018-05-29 18:00:35.539405"], ["updated_at", "2018-05-29 18:00:35.539405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 220 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.1ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:00:35.574976"], ["updated_at", "2018-05-29 18:00:35.574976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 221 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:00:35.599276"], ["updated_at", "2018-05-29 18:00:35.599276"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 222 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:00:35.624383"], ["updated_at", "2018-05-29 18:00:35.624383"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 223 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 223], ["created_at", "2018-05-29 18:00:35.628371"], ["updated_at", "2018-05-29 18:00:35.628371"], ["language", "en"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:00:35.651154"], ["updated_at", "2018-05-29 18:00:35.651154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 224 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 224], ["created_at", "2018-05-29 18:00:35.654844"], ["updated_at", "2018-05-29 18:00:35.654844"], ["language", "ido"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:00:35.676727"], ["updated_at", "2018-05-29 18:00:35.676727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 225 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (3.1ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["app_id", 225], ["created_at", "2018-05-29 18:00:35.680702"], ["updated_at", "2018-05-29 18:00:35.680702"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.4ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:00:35.736959"], ["updated_at", "2018-05-29 18:00:35.736959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 226], ["created_at", "2018-05-29 18:00:35.739843"], ["updated_at", "2018-05-29 18:00:35.739843"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:00:35.742703"], ["updated_at", "2018-05-29 18:00:35.742703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 227 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["app_id", 227], ["created_at", "2018-05-29 18:00:35.745816"], ["updated_at", "2018-05-29 18:00:35.745816"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 122], ["device_token_id", 57], ["status", 0], ["created_at", "2018-05-29 18:00:35.748718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:00:35.751009"], ["updated_at", "2018-05-29 18:00:35.751009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 228], ["created_at", "2018-05-29 18:00:35.752566"], ["updated_at", "2018-05-29 18:00:35.752566"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:00:35.754596"], ["updated_at", "2018-05-29 18:00:35.754596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 229 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["app_id", 229], ["created_at", "2018-05-29 18:00:35.757009"], ["updated_at", "2018-05-29 18:00:35.757009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 123], ["device_token_id", 58], ["status", 0], ["created_at", "2018-05-29 18:00:35.758631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:00:35.760466"], ["updated_at", "2018-05-29 18:00:35.760466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 230 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 230], ["created_at", "2018-05-29 18:00:35.773054"], ["updated_at", "2018-05-29 18:00:35.773054"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 59], ["id", 42]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 59], ["id", 43]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 59]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:00:35.800873"], ["updated_at", "2018-05-29 18:00:35.800873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 231 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["app_id", 231], ["created_at", "2018-05-29 18:00:35.804214"], ["updated_at", "2018-05-29 18:00:35.804214"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:00:35.828725"], ["updated_at", "2018-05-29 18:00:35.828725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 232 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["app_id", 232], ["created_at", "2018-05-29 18:00:35.832855"], ["updated_at", "2018-05-29 18:00:35.832855"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:00:35.856850"], ["updated_at", "2018-05-29 18:00:35.856850"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 233 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["locale", "en"], ["app_id", 233], ["created_at", "2018-05-29 18:00:35.860605"], ["updated_at", "2018-05-29 18:00:35.860605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:00:35.886266"], ["updated_at", "2018-05-29 18:00:35.886266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 234 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 234], ["created_at", "2018-05-29 18:00:35.890828"], ["updated_at", "2018-05-29 18:00:35.890828"], ["name", "Matt's iPhone"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:01:06.165326"], ["updated_at", "2018-05-29 18:01:06.165326"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 235 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 235], ["created_at", "2018-05-29 18:01:06.182479"], ["updated_at", "2018-05-29 18:01:06.182479"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.3ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (2.7ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (17.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:01:06.222893"], ["updated_at", "2018-05-29 18:01:06.222893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 236 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 236], ["created_at", "2018-05-29 18:01:06.226610"], ["updated_at", "2018-05-29 18:01:06.226610"], ["name", "Matt's iPhone"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:01:06.251766"], ["updated_at", "2018-05-29 18:01:06.251766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 237 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 237], ["created_at", "2018-05-29 18:01:06.256519"], ["updated_at", "2018-05-29 18:01:06.256519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:01:06.281020"], ["updated_at", "2018-05-29 18:01:06.281020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 238 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["app_id", 238], ["created_at", "2018-05-29 18:01:06.284696"], ["updated_at", "2018-05-29 18:01:06.284696"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:01:06.309052"], ["updated_at", "2018-05-29 18:01:06.309052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 239 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["app_id", 239], ["created_at", "2018-05-29 18:01:06.312422"], ["updated_at", "2018-05-29 18:01:06.312422"], ["language", "ido"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:01:06.336126"], ["updated_at", "2018-05-29 18:01:06.336126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 240 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 240], ["created_at", "2018-05-29 18:01:06.339376"], ["updated_at", "2018-05-29 18:01:06.339376"], ["language", "en"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:01:06.363124"], ["updated_at", "2018-05-29 18:01:06.363124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 241 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (1.0ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["app_id", 241], ["created_at", "2018-05-29 18:01:06.366674"], ["updated_at", "2018-05-29 18:01:06.366674"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:01:06.391710"], ["updated_at", "2018-05-29 18:01:06.391710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 242 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["app_id", 242], ["created_at", "2018-05-29 18:01:06.394890"], ["updated_at", "2018-05-29 18:01:06.394890"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:01:06.418533"], ["updated_at", "2018-05-29 18:01:06.418533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 243 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 243], ["created_at", "2018-05-29 18:01:06.421986"], ["updated_at", "2018-05-29 18:01:06.421986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 243 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:01:06.452219"], ["updated_at", "2018-05-29 18:01:06.452219"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 244 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:01:06.478389"], ["updated_at", "2018-05-29 18:01:06.478389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 245 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:01:06.529751"], ["updated_at", "2018-05-29 18:01:06.529751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 246], ["created_at", "2018-05-29 18:01:06.532544"], ["updated_at", "2018-05-29 18:01:06.532544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:01:06.535362"], ["updated_at", "2018-05-29 18:01:06.535362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 247 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 247], ["created_at", "2018-05-29 18:01:06.538883"], ["updated_at", "2018-05-29 18:01:06.538883"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 124], ["device_token_id", 73], ["status", 0], ["created_at", "2018-05-29 18:01:06.541647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:01:06.543761"], ["updated_at", "2018-05-29 18:01:06.543761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 248], ["created_at", "2018-05-29 18:01:06.545252"], ["updated_at", "2018-05-29 18:01:06.545252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:01:06.547109"], ["updated_at", "2018-05-29 18:01:06.547109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 249 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 249], ["created_at", "2018-05-29 18:01:06.549577"], ["updated_at", "2018-05-29 18:01:06.549577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 125], ["device_token_id", 74], ["status", 0], ["created_at", "2018-05-29 18:01:06.551309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:01:06.553256"], ["updated_at", "2018-05-29 18:01:06.553256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 250 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["app_id", 250], ["created_at", "2018-05-29 18:01:06.562604"], ["updated_at", "2018-05-29 18:01:06.562604"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 75], ["id", 44]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 75], ["id", 45]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 75]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" 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;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications", "public"."notifiable_device_tokens" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddLanguageAndRegionToDeviceTokens (201805292135000)  (0.1ms) BEGIN  (7.4ms) ALTER TABLE "notifiable_device_tokens" DROP "region"  (0.5ms) ALTER TABLE "notifiable_device_tokens" DROP "language" SQL (1.6ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "201805292135000"]]  (0.8ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddLanguageAndRegionToDeviceTokens (201805292135000)  (0.1ms) BEGIN  (0.8ms) ALTER TABLE "notifiable_device_tokens" ADD "language" character varying  (0.4ms) ALTER TABLE "notifiable_device_tokens" ADD "region" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201805292135000"]]  (6.2ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:07:16.587301"], ["updated_at", "2018-05-29 18:07:16.587301"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 251 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.7ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (13.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:07:16.659384"], ["updated_at", "2018-05-29 18:07:16.659384"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 252 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:07:16.694288"], ["updated_at", "2018-05-29 18:07:16.694288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 253 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:07:16.721892"], ["updated_at", "2018-05-29 18:07:16.721892"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 254 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:07:16.748909"], ["updated_at", "2018-05-29 18:07:16.748909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 255 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:07:16.802204"], ["updated_at", "2018-05-29 18:07:16.802204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 256], ["created_at", "2018-05-29 18:07:16.805177"], ["updated_at", "2018-05-29 18:07:16.805177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:07:16.808330"], ["updated_at", "2018-05-29 18:07:16.808330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 257 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:07:16.832792"], ["updated_at", "2018-05-29 18:07:16.832792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 258 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:07:16.858629"], ["updated_at", "2018-05-29 18:07:16.858629"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:07:16.903110"], ["updated_at", "2018-05-29 18:07:16.903110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 260 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:07:16.928282"], ["updated_at", "2018-05-29 18:07:16.928282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 261 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:07:16.954241"], ["updated_at", "2018-05-29 18:07:16.954241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 262 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:07:16.981675"], ["updated_at", "2018-05-29 18:07:16.981675"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 263 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:07:17.007963"], ["updated_at", "2018-05-29 18:07:17.007963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 264 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddLanguageAndRegionToDeviceTokens (201805292135000)  (0.1ms) BEGIN  (0.9ms) ALTER TABLE "notifiable_device_tokens" DROP "region"  (0.3ms) ALTER TABLE "notifiable_device_tokens" DROP "language" SQL (0.6ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "201805292135000"]]  (6.2ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddLanguageAndCountryToDeviceTokens (201805292135000)  (0.1ms) BEGIN  (0.7ms) ALTER TABLE "notifiable_device_tokens" ADD "language" character varying  (0.3ms) ALTER TABLE "notifiable_device_tokens" ADD "country" character varying SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201805292135000"]]  (6.1ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:08:11.833074"], ["updated_at", "2018-05-29 18:08:11.833074"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 265], ["created_at", "2018-05-29 18:08:11.841546"], ["updated_at", "2018-05-29 18:08:11.841546"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:08:11.869757"], ["updated_at", "2018-05-29 18:08:11.869757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 266 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 266], ["created_at", "2018-05-29 18:08:11.877490"], ["updated_at", "2018-05-29 18:08:11.877490"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 127], ["device_token_id", 76], ["status", 0], ["created_at", "2018-05-29 18:08:11.881174"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:08:11.883931"], ["updated_at", "2018-05-29 18:08:11.883931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 267], ["created_at", "2018-05-29 18:08:11.885906"], ["updated_at", "2018-05-29 18:08:11.885906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:08:11.887961"], ["updated_at", "2018-05-29 18:08:11.887961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 268 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 268], ["created_at", "2018-05-29 18:08:11.890457"], ["updated_at", "2018-05-29 18:08:11.890457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 128], ["device_token_id", 77], ["status", 0], ["created_at", "2018-05-29 18:08:11.892128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:08:11.893811"], ["updated_at", "2018-05-29 18:08:11.893811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 269 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["app_id", 269], ["created_at", "2018-05-29 18:08:11.906616"], ["updated_at", "2018-05-29 18:08:11.906616"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 78], ["id", 46]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 78], ["id", 47]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 78]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.2ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:08:11.937690"], ["updated_at", "2018-05-29 18:08:11.937690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 270 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["app_id", 270], ["created_at", "2018-05-29 18:08:11.940921"], ["updated_at", "2018-05-29 18:08:11.940921"], ["language", "en"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:08:11.960641"], ["updated_at", "2018-05-29 18:08:11.960641"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 271 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["app_id", 271], ["created_at", "2018-05-29 18:08:11.964109"], ["updated_at", "2018-05-29 18:08:11.964109"], ["language", "ido"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:08:11.983354"], ["updated_at", "2018-05-29 18:08:11.983354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 272 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 272], ["created_at", "2018-05-29 18:08:11.986873"], ["updated_at", "2018-05-29 18:08:11.986873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:08:12.006684"], ["updated_at", "2018-05-29 18:08:12.006684"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 273 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["locale", "en"], ["app_id", 273], ["created_at", "2018-05-29 18:08:12.010479"], ["updated_at", "2018-05-29 18:08:12.010479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:08:12.030865"], ["updated_at", "2018-05-29 18:08:12.030865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 274 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (3.8ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["app_id", 274], ["created_at", "2018-05-29 18:08:12.034311"], ["updated_at", "2018-05-29 18:08:12.034311"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:08:12.057020"], ["updated_at", "2018-05-29 18:08:12.057020"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 275 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 275], ["created_at", "2018-05-29 18:08:12.060121"], ["updated_at", "2018-05-29 18:08:12.060121"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:08:12.078795"], ["updated_at", "2018-05-29 18:08:12.078795"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 276 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 276], ["created_at", "2018-05-29 18:08:12.081955"], ["updated_at", "2018-05-29 18:08:12.081955"], ["name", "Matt's iPhone"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:08:12.120245"], ["updated_at", "2018-05-29 18:08:12.120245"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 277 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["app_id", 277], ["created_at", "2018-05-29 18:08:12.123841"], ["updated_at", "2018-05-29 18:08:12.123841"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:08:12.146422"], ["updated_at", "2018-05-29 18:08:12.146422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 278 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["app_id", 278], ["created_at", "2018-05-29 18:08:12.150152"], ["updated_at", "2018-05-29 18:08:12.150152"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:08:12.178915"], ["updated_at", "2018-05-29 18:08:12.178915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 279 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:08:12.208220"], ["updated_at", "2018-05-29 18:08:12.208220"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 280 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:08:12.232154"], ["updated_at", "2018-05-29 18:08:12.232154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 281 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 281], ["created_at", "2018-05-29 18:08:12.236161"], ["updated_at", "2018-05-29 18:08:12.236161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 281 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:08:26.062537"], ["updated_at", "2018-05-29 18:08:26.062537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 282 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 282], ["created_at", "2018-05-29 18:08:26.080289"], ["updated_at", "2018-05-29 18:08:26.080289"], ["country", "GB"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.8ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (20.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:08:26.122850"], ["updated_at", "2018-05-29 18:08:26.122850"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 283 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 283], ["created_at", "2018-05-29 18:08:26.126924"], ["updated_at", "2018-05-29 18:08:26.126924"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:08:26.153830"], ["updated_at", "2018-05-29 18:08:26.153830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 284 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["app_id", 284], ["created_at", "2018-05-29 18:08:26.158552"], ["updated_at", "2018-05-29 18:08:26.158552"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:08:26.184427"], ["updated_at", "2018-05-29 18:08:26.184427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 285 LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:08:26.214145"], ["updated_at", "2018-05-29 18:08:26.214145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 286 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:08:26.242022"], ["updated_at", "2018-05-29 18:08:26.242022"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 287 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 287], ["created_at", "2018-05-29 18:08:26.246481"], ["updated_at", "2018-05-29 18:08:26.246481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 287 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:08:26.271902"], ["updated_at", "2018-05-29 18:08:26.271902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.0ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 288 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 288], ["created_at", "2018-05-29 18:08:26.276268"], ["updated_at", "2018-05-29 18:08:26.276268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:08:26.301930"], ["updated_at", "2018-05-29 18:08:26.301930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 289 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["app_id", 289], ["created_at", "2018-05-29 18:08:26.305708"], ["updated_at", "2018-05-29 18:08:26.305708"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:08:26.330029"], ["updated_at", "2018-05-29 18:08:26.330029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 290 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 290], ["created_at", "2018-05-29 18:08:26.333735"], ["updated_at", "2018-05-29 18:08:26.333735"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:08:26.384711"], ["updated_at", "2018-05-29 18:08:26.384711"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 291], ["created_at", "2018-05-29 18:08:26.387527"], ["updated_at", "2018-05-29 18:08:26.387527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:08:26.390362"], ["updated_at", "2018-05-29 18:08:26.390362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 292 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["app_id", 292], ["created_at", "2018-05-29 18:08:26.393366"], ["updated_at", "2018-05-29 18:08:26.393366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 129], ["device_token_id", 96], ["status", 0], ["created_at", "2018-05-29 18:08:26.396037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:08:26.398148"], ["updated_at", "2018-05-29 18:08:26.398148"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 293], ["created_at", "2018-05-29 18:08:26.399662"], ["updated_at", "2018-05-29 18:08:26.399662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:08:26.401506"], ["updated_at", "2018-05-29 18:08:26.401506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 294 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["app_id", 294], ["created_at", "2018-05-29 18:08:26.404074"], ["updated_at", "2018-05-29 18:08:26.404074"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 130], ["device_token_id", 97], ["status", 0], ["created_at", "2018-05-29 18:08:26.406017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:08:26.408030"], ["updated_at", "2018-05-29 18:08:26.408030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 295 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 295], ["created_at", "2018-05-29 18:08:26.417090"], ["updated_at", "2018-05-29 18:08:26.417090"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 98], ["id", 48]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 98], ["id", 49]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 98]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:08:26.443714"], ["updated_at", "2018-05-29 18:08:26.443714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 296 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 296], ["created_at", "2018-05-29 18:08:26.446903"], ["updated_at", "2018-05-29 18:08:26.446903"], ["name", "Matt's iPhone"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (1.0ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:08:26.472100"], ["updated_at", "2018-05-29 18:08:26.472100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 297 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["app_id", 297], ["created_at", "2018-05-29 18:08:26.476067"], ["updated_at", "2018-05-29 18:08:26.476067"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (14.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:08:26.504588"], ["updated_at", "2018-05-29 18:08:26.504588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 298 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["app_id", 298], ["created_at", "2018-05-29 18:08:26.507964"], ["updated_at", "2018-05-29 18:08:26.507964"], ["language", "en"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 18:08:26.531065"], ["updated_at", "2018-05-29 18:08:26.531065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 299 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD13"], ["provider", "mock"], ["app_id", 299], ["created_at", "2018-05-29 18:08:26.534285"], ["updated_at", "2018-05-29 18:08:26.534285"], ["language", "ido"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (2.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 1"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:25.604584"], ["updated_at", "2018-05-29 18:24:25.604584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 300], ["created_at", "2018-05-29 18:24:25.636821"], ["updated_at", "2018-05-29 18:24:25.636821"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.4ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.5ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (13.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:24:25.761957"], ["updated_at", "2018-05-29 18:24:25.761957"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 301], ["created_at", "2018-05-29 18:24:25.764753"], ["updated_at", "2018-05-29 18:24:25.764753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:24:25.787222"], ["updated_at", "2018-05-29 18:24:25.787222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 302], ["created_at", "2018-05-29 18:24:25.789805"], ["updated_at", "2018-05-29 18:24:25.789805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 302]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:24:25.823873"], ["updated_at", "2018-05-29 18:24:25.823873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:24:25.846505"], ["updated_at", "2018-05-29 18:24:25.846505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 304], ["created_at", "2018-05-29 18:24:25.848814"], ["updated_at", "2018-05-29 18:24:25.848814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:25.851006"], ["last_error_message", "SSL error occured"], ["id", 134]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:24:25.873706"], ["updated_at", "2018-05-29 18:24:25.873706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 305], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:24:25.876132"], ["updated_at", "2018-05-29 18:24:25.876132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 7"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:25.900719"], ["updated_at", "2018-05-29 18:24:25.900719"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 306], ["created_at", "2018-05-29 18:24:25.904046"], ["updated_at", "2018-05-29 18:24:25.904046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:24:25.960335"], ["updated_at", "2018-05-29 18:24:25.960335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 307 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:25.971543"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 136]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 9"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.022171"], ["updated_at", "2018-05-29 18:24:26.022171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 308], ["created_at", "2018-05-29 18:24:26.025396"], ["updated_at", "2018-05-29 18:24:26.025396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:24:26.028544"], ["updated_at", "2018-05-29 18:24:26.028544"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 309 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.036071"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 137]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 11"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.064213"], ["updated_at", "2018-05-29 18:24:26.064213"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 310], ["created_at", "2018-05-29 18:24:26.069361"], ["updated_at", "2018-05-29 18:24:26.069361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:24:26.073876"], ["updated_at", "2018-05-29 18:24:26.073876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 311 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.083040"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 138]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (14.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 13"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.116905"], ["updated_at", "2018-05-29 18:24:26.116905"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 312], ["created_at", "2018-05-29 18:24:26.122733"], ["updated_at", "2018-05-29 18:24:26.122733"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:24:26.128205"], ["updated_at", "2018-05-29 18:24:26.128205"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 313 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.136846"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 139]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.169749"], ["updated_at", "2018-05-29 18:24:26.169749"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 314], ["created_at", "2018-05-29 18:24:26.175344"], ["updated_at", "2018-05-29 18:24:26.175344"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:24:26.181270"], ["updated_at", "2018-05-29 18:24:26.181270"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 315 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.191067"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 140]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.5ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 17"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:26.227261"], ["updated_at", "2018-05-29 18:24:26.227261"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 316], ["created_at", "2018-05-29 18:24:26.232951"], ["updated_at", "2018-05-29 18:24:26.232951"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 18:24:26.237952"], ["updated_at", "2018-05-29 18:24:26.237952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 317 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:26.246137"], ["last_error_message", "undefined method `downcase!' for nil:NilClass"], ["id", 141]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 19"], ["created_at", "2018-05-29 18:24:26.270552"], ["updated_at", "2018-05-29 18:24:26.270552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 318], ["created_at", "2018-05-29 18:24:26.273291"], ["updated_at", "2018-05-29 18:24:26.273291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-05-29 18:24:26.306473"], ["updated_at", "2018-05-29 18:24:26.306473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 319], ["created_at", "2018-05-29 18:24:26.308948"], ["updated_at", "2018-05-29 18:24:26.308948"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 21"], ["created_at", "2018-05-29 18:24:26.317396"], ["updated_at", "2018-05-29 18:24:26.317396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 320 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 22"], ["created_at", "2018-05-29 18:24:26.343082"], ["updated_at", "2018-05-29 18:24:26.343082"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 321 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 23"], ["created_at", "2018-05-29 18:24:26.369177"], ["updated_at", "2018-05-29 18:24:26.369177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 322 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 18:24:26.394168"], ["updated_at", "2018-05-29 18:24:26.394168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 323], ["created_at", "2018-05-29 18:24:26.396329"], ["updated_at", "2018-05-29 18:24:26.396329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:24:26.398803"], ["updated_at", "2018-05-29 18:24:26.398803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 324 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:24:26.422478"], ["updated_at", "2018-05-29 18:24:26.422478"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 325 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:24:26.443764"], ["updated_at", "2018-05-29 18:24:26.443764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 326 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 18:24:26.465361"], ["updated_at", "2018-05-29 18:24:26.465361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 327 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:24:26.486559"], ["updated_at", "2018-05-29 18:24:26.486559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 328 LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 18:24:26.506759"], ["updated_at", "2018-05-29 18:24:26.506759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 329 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:24:26.529083"], ["updated_at", "2018-05-29 18:24:26.529083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 330 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 18:24:26.549544"], ["updated_at", "2018-05-29 18:24:26.549544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 331 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:24:26.572114"], ["updated_at", "2018-05-29 18:24:26.572114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 332 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 18:24:26.594794"], ["updated_at", "2018-05-29 18:24:26.594794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 333 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:24:26.617201"], ["updated_at", "2018-05-29 18:24:26.617201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 334 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 18:24:26.639677"], ["updated_at", "2018-05-29 18:24:26.639677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 335 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 37"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.680024"], ["updated_at", "2018-05-29 18:24:26.680024"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 336], ["created_at", "2018-05-29 18:24:26.683382"], ["updated_at", "2018-05-29 18:24:26.683382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 38"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.705217"], ["updated_at", "2018-05-29 18:24:26.705217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 337], ["created_at", "2018-05-29 18:24:26.708276"], ["updated_at", "2018-05-29 18:24:26.708276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 337 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 39"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.732357"], ["updated_at", "2018-05-29 18:24:26.732357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 338], ["created_at", "2018-05-29 18:24:26.735369"], ["updated_at", "2018-05-29 18:24:26.735369"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 338 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 40"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.757785"], ["updated_at", "2018-05-29 18:24:26.757785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 339], ["created_at", "2018-05-29 18:24:26.760680"], ["updated_at", "2018-05-29 18:24:26.760680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 339 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 41"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.783905"], ["updated_at", "2018-05-29 18:24:26.783905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 340], ["created_at", "2018-05-29 18:24:26.786719"], ["updated_at", "2018-05-29 18:24:26.786719"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 340 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 42"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:26.809683"], ["updated_at", "2018-05-29 18:24:26.809683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 341], ["created_at", "2018-05-29 18:24:26.812360"], ["updated_at", "2018-05-29 18:24:26.812360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:24:46.231617"], ["updated_at", "2018-05-29 18:24:46.231617"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 342], ["created_at", "2018-05-29 18:24:46.240011"], ["updated_at", "2018-05-29 18:24:46.240011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:24:46.276426"], ["updated_at", "2018-05-29 18:24:46.276426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 343 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 343], ["created_at", "2018-05-29 18:24:46.282385"], ["updated_at", "2018-05-29 18:24:46.282385"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 151], ["device_token_id", 103], ["status", 0], ["created_at", "2018-05-29 18:24:46.285561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.4ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 151]] SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 50]] SQL (0.4ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 151]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:24:46.332656"], ["updated_at", "2018-05-29 18:24:46.332656"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 344], ["created_at", "2018-05-29 18:24:46.335555"], ["updated_at", "2018-05-29 18:24:46.335555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:24:46.338571"], ["last_error_message", "SSL error occured"], ["id", 152]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:24:46.364964"], ["updated_at", "2018-05-29 18:24:46.364964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 345], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:24:46.368177"], ["updated_at", "2018-05-29 18:24:46.368177"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 5"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.397071"], ["updated_at", "2018-05-29 18:24:46.397071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 346], ["created_at", "2018-05-29 18:24:46.401053"], ["updated_at", "2018-05-29 18:24:46.401053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:24:46.404046"], ["updated_at", "2018-05-29 18:24:46.404046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 347 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["locale", "en"], ["app_id", 347], ["created_at", "2018-05-29 18:24:46.407292"], ["updated_at", "2018-05-29 18:24:46.407292"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.411023"], ["id", 154]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 154], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.9ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 104], ["LIMIT", 1]] SQL (0.8ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 154], ["device_token_id", 104], ["status", 0], ["created_at", "2018-05-29 18:24:46.409941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (13.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 7"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.450788"], ["updated_at", "2018-05-29 18:24:46.450788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 348], ["created_at", "2018-05-29 18:24:46.454908"], ["updated_at", "2018-05-29 18:24:46.454908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:24:46.457879"], ["updated_at", "2018-05-29 18:24:46.457879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 349 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 349], ["created_at", "2018-05-29 18:24:46.461131"], ["updated_at", "2018-05-29 18:24:46.461131"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.463875"], ["id", 155]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 155], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 105], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 155], ["device_token_id", 105], ["status", 0], ["created_at", "2018-05-29 18:24:46.463275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 9"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.493888"], ["updated_at", "2018-05-29 18:24:46.493888"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 350], ["created_at", "2018-05-29 18:24:46.496914"], ["updated_at", "2018-05-29 18:24:46.496914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:24:46.499638"], ["updated_at", "2018-05-29 18:24:46.499638"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 351 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 351], ["created_at", "2018-05-29 18:24:46.504218"], ["updated_at", "2018-05-29 18:24:46.504218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.506779"], ["id", 156]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 106], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 156], ["device_token_id", 106], ["status", 0], ["created_at", "2018-05-29 18:24:46.506161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.4ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 11"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.537195"], ["updated_at", "2018-05-29 18:24:46.537195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 352], ["created_at", "2018-05-29 18:24:46.540372"], ["updated_at", "2018-05-29 18:24:46.540372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:24:46.544102"], ["updated_at", "2018-05-29 18:24:46.544102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 353 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["locale", "en"], ["app_id", 353], ["created_at", "2018-05-29 18:24:46.547983"], ["updated_at", "2018-05-29 18:24:46.547983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.550507"], ["id", 157]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 107], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 157], ["device_token_id", 107], ["status", 0], ["created_at", "2018-05-29 18:24:46.549908"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 13"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.580692"], ["updated_at", "2018-05-29 18:24:46.580692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 354], ["created_at", "2018-05-29 18:24:46.583781"], ["updated_at", "2018-05-29 18:24:46.583781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:24:46.586761"], ["updated_at", "2018-05-29 18:24:46.586761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 355 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["locale", "en"], ["app_id", 355], ["created_at", "2018-05-29 18:24:46.591709"], ["updated_at", "2018-05-29 18:24:46.591709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.594412"], ["id", 158]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 158], ["device_token_id", 108], ["status", 0], ["created_at", "2018-05-29 18:24:46.593774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:24:46.624523"], ["updated_at", "2018-05-29 18:24:46.624523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 356], ["created_at", "2018-05-29 18:24:46.627893"], ["updated_at", "2018-05-29 18:24:46.627893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:24:46.631680"], ["updated_at", "2018-05-29 18:24:46.631680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 357 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["locale", "en"], ["app_id", 357], ["created_at", "2018-05-29 18:24:46.635306"], ["updated_at", "2018-05-29 18:24:46.635306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:24:46.637980"], ["id", 159]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 159], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 109], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 159], ["device_token_id", 109], ["status", 0], ["created_at", "2018-05-29 18:24:46.637349"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:24:46.669127"], ["updated_at", "2018-05-29 18:24:46.669127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 358], ["created_at", "2018-05-29 18:24:46.672046"], ["updated_at", "2018-05-29 18:24:46.672046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 18"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.700150"], ["updated_at", "2018-05-29 18:24:46.700150"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 359], ["created_at", "2018-05-29 18:24:46.704701"], ["updated_at", "2018-05-29 18:24:46.704701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.730208"], ["updated_at", "2018-05-29 18:24:46.730208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 360], ["created_at", "2018-05-29 18:24:46.742323"], ["updated_at", "2018-05-29 18:24:46.742323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 360 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["locale", "en"], ["app_id", 360], ["created_at", "2018-05-29 18:24:46.746827"], ["updated_at", "2018-05-29 18:24:46.746827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 360 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["locale", "en"], ["app_id", 360], ["created_at", "2018-05-29 18:24:46.750241"], ["updated_at", "2018-05-29 18:24:46.750241"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 110], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 162], ["device_token_id", 110], ["status", 0], ["created_at", "2018-05-29 18:24:46.748432"]] Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 162], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 111], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 162], ["device_token_id", 111], ["status", 0], ["created_at", "2018-05-29 18:24:46.752001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.760357"], ["id", 162]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.784854"], ["updated_at", "2018-05-29 18:24:46.784854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 361], ["created_at", "2018-05-29 18:24:46.787995"], ["updated_at", "2018-05-29 18:24:46.787995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 361 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["locale", "en"], ["app_id", 361], ["created_at", "2018-05-29 18:24:46.792001"], ["updated_at", "2018-05-29 18:24:46.792001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 361 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["locale", "en"], ["app_id", 361], ["created_at", "2018-05-29 18:24:46.795732"], ["updated_at", "2018-05-29 18:24:46.795732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 163], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 112], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 163], ["device_token_id", 112], ["status", 0], ["created_at", "2018-05-29 18:24:46.793873"]] Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 163], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 113], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 163], ["device_token_id", 113], ["status", 0], ["created_at", "2018-05-29 18:24:46.797034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.805397"], ["id", 163]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 21"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.828419"], ["updated_at", "2018-05-29 18:24:46.828419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 362], ["created_at", "2018-05-29 18:24:46.831441"], ["updated_at", "2018-05-29 18:24:46.831441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 362 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["locale", "en"], ["app_id", 362], ["created_at", "2018-05-29 18:24:46.835526"], ["updated_at", "2018-05-29 18:24:46.835526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 362 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD13"], ["provider", "mock"], ["locale", "en"], ["app_id", 362], ["created_at", "2018-05-29 18:24:46.839767"], ["updated_at", "2018-05-29 18:24:46.839767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.841574"], ["id", 164]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.865542"], ["updated_at", "2018-05-29 18:24:46.865542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 363], ["created_at", "2018-05-29 18:24:46.868778"], ["updated_at", "2018-05-29 18:24:46.868778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 363 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 363], ["created_at", "2018-05-29 18:24:46.873293"], ["updated_at", "2018-05-29 18:24:46.873293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 363 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 363], ["created_at", "2018-05-29 18:24:46.876692"], ["updated_at", "2018-05-29 18:24:46.876692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:24:46.878515"], ["id", 165]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:46.925226"], ["updated_at", "2018-05-29 18:24:46.925226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 364], ["created_at", "2018-05-29 18:24:46.928121"], ["updated_at", "2018-05-29 18:24:46.928121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-05-29 18:24:46.952304"], ["updated_at", "2018-05-29 18:24:46.952304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 365 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 365], ["created_at", "2018-05-29 18:24:46.956332"], ["updated_at", "2018-05-29 18:24:46.956332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:24:46.980468"], ["updated_at", "2018-05-29 18:24:46.980468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 366 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 366], ["created_at", "2018-05-29 18:24:46.984522"], ["updated_at", "2018-05-29 18:24:46.984522"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 366 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:24:47.016441"], ["updated_at", "2018-05-29 18:24:47.016441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 367 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:24:47.044265"], ["updated_at", "2018-05-29 18:24:47.044265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 368 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-05-29 18:24:47.071314"], ["updated_at", "2018-05-29 18:24:47.071314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 369 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["app_id", 369], ["created_at", "2018-05-29 18:24:47.075290"], ["updated_at", "2018-05-29 18:24:47.075290"], ["country", "gb"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:24:47.109167"], ["updated_at", "2018-05-29 18:24:47.109167"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 370 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD18"], ["provider", "mock"], ["app_id", 370], ["created_at", "2018-05-29 18:24:47.112580"], ["updated_at", "2018-05-29 18:24:47.112580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-05-29 18:24:47.138090"], ["updated_at", "2018-05-29 18:24:47.138090"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 371 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]] SQL (3.0ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["app_id", 371], ["created_at", "2018-05-29 18:24:47.142455"], ["updated_at", "2018-05-29 18:24:47.142455"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.3ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:24:47.176907"], ["updated_at", "2018-05-29 18:24:47.176907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 372], ["created_at", "2018-05-29 18:24:47.179370"], ["updated_at", "2018-05-29 18:24:47.179370"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-05-29 18:24:47.182326"], ["updated_at", "2018-05-29 18:24:47.182326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 373 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD20"], ["provider", "mock"], ["app_id", 373], ["created_at", "2018-05-29 18:24:47.185289"], ["updated_at", "2018-05-29 18:24:47.185289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 167], ["device_token_id", 123], ["status", 0], ["created_at", "2018-05-29 18:24:47.186993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:24:47.189035"], ["updated_at", "2018-05-29 18:24:47.189035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 374], ["created_at", "2018-05-29 18:24:47.190690"], ["updated_at", "2018-05-29 18:24:47.190690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-05-29 18:24:47.192725"], ["updated_at", "2018-05-29 18:24:47.192725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 375 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD21"], ["provider", "mock"], ["app_id", 375], ["created_at", "2018-05-29 18:24:47.195106"], ["updated_at", "2018-05-29 18:24:47.195106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 168], ["device_token_id", 124], ["status", 0], ["created_at", "2018-05-29 18:24:47.196823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:24:47.198491"], ["updated_at", "2018-05-29 18:24:47.198491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 376 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD22"], ["provider", "mock"], ["app_id", 376], ["created_at", "2018-05-29 18:24:47.202006"], ["updated_at", "2018-05-29 18:24:47.202006"]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 125], ["id", 61]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 125], ["id", 62]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 125]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-05-29 18:24:47.229594"], ["updated_at", "2018-05-29 18:24:47.229594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 377 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD23"], ["provider", "mock"], ["app_id", 377], ["created_at", "2018-05-29 18:24:47.233989"], ["updated_at", "2018-05-29 18:24:47.233989"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 18:24:47.259362"], ["updated_at", "2018-05-29 18:24:47.259362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 378 LIMIT $2 [["token", "ABCD24"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD24"], ["provider", "mock"], ["app_id", 378], ["created_at", "2018-05-29 18:24:47.263876"], ["updated_at", "2018-05-29 18:24:47.263876"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 38"], ["created_at", "2018-05-29 18:24:47.289665"], ["updated_at", "2018-05-29 18:24:47.289665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 379 LIMIT $2 [["token", "ABCD25"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD25"], ["provider", "mock"], ["app_id", 379], ["created_at", "2018-05-29 18:24:47.293766"], ["updated_at", "2018-05-29 18:24:47.293766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-05-29 18:24:47.318421"], ["updated_at", "2018-05-29 18:24:47.318421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 380 LIMIT $2 [["token", "ABCD26"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD26"], ["provider", "mock"], ["app_id", 380], ["created_at", "2018-05-29 18:24:47.322612"], ["updated_at", "2018-05-29 18:24:47.322612"], ["language", "ido"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 40"], ["created_at", "2018-05-29 18:24:47.347610"], ["updated_at", "2018-05-29 18:24:47.347610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 381 LIMIT $2 [["token", "ABCD27"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD27"], ["provider", "mock"], ["app_id", 381], ["created_at", "2018-05-29 18:24:47.352117"], ["updated_at", "2018-05-29 18:24:47.352117"], ["language", "en"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 41"], ["created_at", "2018-05-29 18:24:47.375443"], ["updated_at", "2018-05-29 18:24:47.375443"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 382 LIMIT $2 [["token", "ABCD28"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD28"], ["provider", "mock"], ["app_id", 382], ["created_at", "2018-05-29 18:24:47.378827"], ["updated_at", "2018-05-29 18:24:47.378827"], ["name", "Matt's iPhone"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 42"], ["created_at", "2018-05-29 18:24:47.449078"], ["updated_at", "2018-05-29 18:24:47.449078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 383], ["created_at", "2018-05-29 18:24:47.451499"], ["updated_at", "2018-05-29 18:24:47.451499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 383]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 43"], ["created_at", "2018-05-29 18:24:47.472945"], ["updated_at", "2018-05-29 18:24:47.472945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 384], ["created_at", "2018-05-29 18:24:47.475157"], ["updated_at", "2018-05-29 18:24:47.475157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 44"], ["created_at", "2018-05-29 18:24:47.498899"], ["updated_at", "2018-05-29 18:24:47.498899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 45"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:24:47.520050"], ["updated_at", "2018-05-29 18:24:47.520050"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 386], ["created_at", "2018-05-29 18:24:47.523363"], ["updated_at", "2018-05-29 18:24:47.523363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-05-29 18:25:11.397669"], ["updated_at", "2018-05-29 18:25:11.397669"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 387 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["locale", "en"], ["app_id", 387], ["created_at", "2018-05-29 18:25:11.408778"], ["updated_at", "2018-05-29 18:25:11.408778"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.5ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (18.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-05-29 18:25:11.449542"], ["updated_at", "2018-05-29 18:25:11.449542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 388 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 388], ["created_at", "2018-05-29 18:25:11.453613"], ["updated_at", "2018-05-29 18:25:11.453613"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-05-29 18:25:11.481620"], ["updated_at", "2018-05-29 18:25:11.481620"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 389 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["app_id", 389], ["created_at", "2018-05-29 18:25:11.486605"], ["updated_at", "2018-05-29 18:25:11.486605"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-05-29 18:25:11.511401"], ["updated_at", "2018-05-29 18:25:11.511401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 390 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["app_id", 390], ["created_at", "2018-05-29 18:25:11.516200"], ["updated_at", "2018-05-29 18:25:11.516200"], ["country", "gb"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 5"], ["created_at", "2018-05-29 18:25:11.540126"], ["updated_at", "2018-05-29 18:25:11.540126"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 391 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["app_id", 391], ["created_at", "2018-05-29 18:25:11.544275"], ["updated_at", "2018-05-29 18:25:11.544275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 6"], ["created_at", "2018-05-29 18:25:11.569438"], ["updated_at", "2018-05-29 18:25:11.569438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 392 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["app_id", 392], ["created_at", "2018-05-29 18:25:11.573739"], ["updated_at", "2018-05-29 18:25:11.573739"], ["name", "Matt's iPhone"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 7"], ["created_at", "2018-05-29 18:25:11.597936"], ["updated_at", "2018-05-29 18:25:11.597936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 393 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["app_id", 393], ["created_at", "2018-05-29 18:25:11.601452"], ["updated_at", "2018-05-29 18:25:11.601452"], ["language", "en"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 8"], ["created_at", "2018-05-29 18:25:11.626836"], ["updated_at", "2018-05-29 18:25:11.626836"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 394 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["app_id", 394], ["created_at", "2018-05-29 18:25:11.631234"], ["updated_at", "2018-05-29 18:25:11.631234"], ["language", "ido"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 9"], ["created_at", "2018-05-29 18:25:11.655456"], ["updated_at", "2018-05-29 18:25:11.655456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 395 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 395], ["created_at", "2018-05-29 18:25:11.658645"], ["updated_at", "2018-05-29 18:25:11.658645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 10"], ["created_at", "2018-05-29 18:25:11.683482"], ["updated_at", "2018-05-29 18:25:11.683482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 396 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-05-29 18:25:11.714557"], ["updated_at", "2018-05-29 18:25:11.714557"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 397 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 397], ["created_at", "2018-05-29 18:25:11.719299"], ["updated_at", "2018-05-29 18:25:11.719299"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 397 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-05-29 18:25:11.745696"], ["updated_at", "2018-05-29 18:25:11.745696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 398 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-05-29 18:25:11.808173"], ["updated_at", "2018-05-29 18:25:11.808173"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 399], ["created_at", "2018-05-29 18:25:11.811745"], ["updated_at", "2018-05-29 18:25:11.811745"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-05-29 18:25:11.815791"], ["updated_at", "2018-05-29 18:25:11.815791"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 400 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["app_id", 400], ["created_at", "2018-05-29 18:25:11.819555"], ["updated_at", "2018-05-29 18:25:11.819555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 172], ["device_token_id", 142], ["status", 0], ["created_at", "2018-05-29 18:25:11.823119"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 15"], ["created_at", "2018-05-29 18:25:11.826026"], ["updated_at", "2018-05-29 18:25:11.826026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 401], ["created_at", "2018-05-29 18:25:11.828037"], ["updated_at", "2018-05-29 18:25:11.828037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-05-29 18:25:11.830604"], ["updated_at", "2018-05-29 18:25:11.830604"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 402 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["app_id", 402], ["created_at", "2018-05-29 18:25:11.833739"], ["updated_at", "2018-05-29 18:25:11.833739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 173], ["device_token_id", 143], ["status", 0], ["created_at", "2018-05-29 18:25:11.835873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 17"], ["created_at", "2018-05-29 18:25:11.838282"], ["updated_at", "2018-05-29 18:25:11.838282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 403 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["app_id", 403], ["created_at", "2018-05-29 18:25:11.851588"], ["updated_at", "2018-05-29 18:25:11.851588"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 144], ["id", 63]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 144], ["id", 64]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 144]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-05-29 18:25:11.881908"], ["updated_at", "2018-05-29 18:25:11.881908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 404 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD13"], ["provider", "mock"], ["app_id", 404], ["created_at", "2018-05-29 18:25:11.886600"], ["updated_at", "2018-05-29 18:25:11.886600"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:11.939089"], ["updated_at", "2018-05-29 18:25:11.939089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 405], ["created_at", "2018-05-29 18:25:11.944059"], ["updated_at", "2018-05-29 18:25:11.944059"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 20"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:11.968254"], ["updated_at", "2018-05-29 18:25:11.968254"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 406], ["created_at", "2018-05-29 18:25:11.971764"], ["updated_at", "2018-05-29 18:25:11.971764"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 406 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 406], ["created_at", "2018-05-29 18:25:11.976639"], ["updated_at", "2018-05-29 18:25:11.976639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 406 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 406], ["created_at", "2018-05-29 18:25:11.980817"], ["updated_at", "2018-05-29 18:25:11.980817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.5ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 146], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 175], ["device_token_id", 146], ["status", 0], ["created_at", "2018-05-29 18:25:11.978586"]] Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 147], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 175], ["device_token_id", 147], ["status", 0], ["created_at", "2018-05-29 18:25:11.982091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:11.994086"], ["id", 175]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 21"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.028338"], ["updated_at", "2018-05-29 18:25:12.028338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 407], ["created_at", "2018-05-29 18:25:12.032796"], ["updated_at", "2018-05-29 18:25:12.032796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 407 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD16"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.036782"], ["updated_at", "2018-05-29 18:25:12.036782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 407 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["locale", "en"], ["app_id", 407], ["created_at", "2018-05-29 18:25:12.039927"], ["updated_at", "2018-05-29 18:25:12.039927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 148], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 176], ["device_token_id", 148], ["status", 0], ["created_at", "2018-05-29 18:25:12.038247"]] Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 176], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 149], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 176], ["device_token_id", 149], ["status", 0], ["created_at", "2018-05-29 18:25:12.041182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.048590"], ["id", 176]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 22"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.073706"], ["updated_at", "2018-05-29 18:25:12.073706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 408], ["created_at", "2018-05-29 18:25:12.077386"], ["updated_at", "2018-05-29 18:25:12.077386"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 408 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD18"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.081793"], ["updated_at", "2018-05-29 18:25:12.081793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 408 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["locale", "en"], ["app_id", 408], ["created_at", "2018-05-29 18:25:12.085392"], ["updated_at", "2018-05-29 18:25:12.085392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.087402"], ["id", 177]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.114245"], ["updated_at", "2018-05-29 18:25:12.114245"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 409], ["created_at", "2018-05-29 18:25:12.118335"], ["updated_at", "2018-05-29 18:25:12.118335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 409 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD20"], ["provider", "mock"], ["locale", "en"], ["app_id", 409], ["created_at", "2018-05-29 18:25:12.122045"], ["updated_at", "2018-05-29 18:25:12.122045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 409 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD21"], ["provider", "mock"], ["locale", "en"], ["app_id", 409], ["created_at", "2018-05-29 18:25:12.125584"], ["updated_at", "2018-05-29 18:25:12.125584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-05-29 18:25:12.127419"], ["id", 178]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 24"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.153718"], ["updated_at", "2018-05-29 18:25:12.153718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 410], ["created_at", "2018-05-29 18:25:12.156651"], ["updated_at", "2018-05-29 18:25:12.156651"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 25"], ["created_at", "2018-05-29 18:25:12.278449"], ["updated_at", "2018-05-29 18:25:12.278449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 411], ["created_at", "2018-05-29 18:25:12.280990"], ["updated_at", "2018-05-29 18:25:12.280990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-05-29 18:25:12.305359"], ["updated_at", "2018-05-29 18:25:12.305359"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 412], ["created_at", "2018-05-29 18:25:12.307781"], ["updated_at", "2018-05-29 18:25:12.307781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 412]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-05-29 18:25:12.334679"], ["updated_at", "2018-05-29 18:25:12.334679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 28"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-05-29 18:25:12.359563"], ["updated_at", "2018-05-29 18:25:12.359563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 [1m (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 414], ["created_at", "2018-05-29 18:25:12.362678"], ["updated_at", "2018-05-29 18:25:12.362678"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-05-29 18:25:12.387607"], ["updated_at", "2018-05-29 18:25:12.387607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 415], ["created_at", "2018-05-29 18:25:12.389755"], ["updated_at", "2018-05-29 18:25:12.389755"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (11.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 30"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.416652"], ["updated_at", "2018-05-29 18:25:12.416652"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 416], ["created_at", "2018-05-29 18:25:12.419651"], ["updated_at", "2018-05-29 18:25:12.419651"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-05-29 18:25:12.422516"], ["updated_at", "2018-05-29 18:25:12.422516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 417 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD22"], ["provider", "mock"], ["locale", "en"], ["app_id", 417], ["created_at", "2018-05-29 18:25:12.425470"], ["updated_at", "2018-05-29 18:25:12.425470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.427574"], ["id", 184]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 184], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 154], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 184], ["device_token_id", 154], ["status", 0], ["created_at", "2018-05-29 18:25:12.426990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 32"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.456460"], ["updated_at", "2018-05-29 18:25:12.456460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 418], ["created_at", "2018-05-29 18:25:12.459026"], ["updated_at", "2018-05-29 18:25:12.459026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-05-29 18:25:12.461370"], ["updated_at", "2018-05-29 18:25:12.461370"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 419 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD23"], ["provider", "mock"], ["locale", "en"], ["app_id", 419], ["created_at", "2018-05-29 18:25:12.465388"], ["updated_at", "2018-05-29 18:25:12.465388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.467708"], ["id", 185]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 185], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 155], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 185], ["device_token_id", 155], ["status", 0], ["created_at", "2018-05-29 18:25:12.467116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 34"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.497066"], ["updated_at", "2018-05-29 18:25:12.497066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 420], ["created_at", "2018-05-29 18:25:12.500103"], ["updated_at", "2018-05-29 18:25:12.500103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-05-29 18:25:12.503514"], ["updated_at", "2018-05-29 18:25:12.503514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 421 LIMIT $2 [["token", "ABCD24"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD24"], ["provider", "mock"], ["locale", "en"], ["app_id", 421], ["created_at", "2018-05-29 18:25:12.506710"], ["updated_at", "2018-05-29 18:25:12.506710"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.508840"], ["id", 186]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 186], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 156], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 186], ["device_token_id", 156], ["status", 0], ["created_at", "2018-05-29 18:25:12.508291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 36"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.538283"], ["updated_at", "2018-05-29 18:25:12.538283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 422], ["created_at", "2018-05-29 18:25:12.540790"], ["updated_at", "2018-05-29 18:25:12.540790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-05-29 18:25:12.543145"], ["updated_at", "2018-05-29 18:25:12.543145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 423 LIMIT $2 [["token", "ABCD25"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD25"], ["provider", "mock"], ["locale", "en"], ["app_id", 423], ["created_at", "2018-05-29 18:25:12.547273"], ["updated_at", "2018-05-29 18:25:12.547273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.549815"], ["id", 187]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 187], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 157], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 187], ["device_token_id", 157], ["status", 0], ["created_at", "2018-05-29 18:25:12.549189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 38"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.579704"], ["updated_at", "2018-05-29 18:25:12.579704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 424], ["created_at", "2018-05-29 18:25:12.583164"], ["updated_at", "2018-05-29 18:25:12.583164"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-05-29 18:25:12.586018"], ["updated_at", "2018-05-29 18:25:12.586018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 425 LIMIT $2 [["token", "ABCD26"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD26"], ["provider", "mock"], ["locale", "en"], ["app_id", 425], ["created_at", "2018-05-29 18:25:12.589005"], ["updated_at", "2018-05-29 18:25:12.589005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.591202"], ["id", 188]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 188], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 158], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 188], ["device_token_id", 158], ["status", 0], ["created_at", "2018-05-29 18:25:12.590559"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 40"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-05-29 18:25:12.620363"], ["updated_at", "2018-05-29 18:25:12.620363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 426], ["created_at", "2018-05-29 18:25:12.622976"], ["updated_at", "2018-05-29 18:25:12.622976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 41"], ["created_at", "2018-05-29 18:25:12.625518"], ["updated_at", "2018-05-29 18:25:12.625518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 427 LIMIT $2 [["token", "ABCD27"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD27"], ["provider", "mock"], ["locale", "en"], ["app_id", 427], ["created_at", "2018-05-29 18:25:12.630167"], ["updated_at", "2018-05-29 18:25:12.630167"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-05-29 18:25:12.632791"], ["id", 189]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 189], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 159], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 189], ["device_token_id", 159], ["status", 0], ["created_at", "2018-05-29 18:25:12.632143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 42"], ["created_at", "2018-05-29 18:25:12.663731"], ["updated_at", "2018-05-29 18:25:12.663731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 428], ["created_at", "2018-05-29 18:25:12.666048"], ["updated_at", "2018-05-29 18:25:12.666048"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 43"], ["created_at", "2018-05-29 18:25:12.669564"], ["updated_at", "2018-05-29 18:25:12.669564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 429 LIMIT $2 [["token", "ABCD28"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD28"], ["provider", "mock"], ["app_id", 429], ["created_at", "2018-05-29 18:25:12.672714"], ["updated_at", "2018-05-29 18:25:12.672714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 190], ["device_token_id", 160], ["status", 0], ["created_at", "2018-05-29 18:25:12.674537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 190]] SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 75]] SQL (0.3ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 190]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 44"], ["created_at", "2018-05-29 18:25:12.702658"], ["updated_at", "2018-05-29 18:25:12.702658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 430], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-05-29 18:25:12.704700"], ["updated_at", "2018-05-29 18:25:12.704700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (12.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 45"], ["created_at", "2018-05-29 18:25:12.731518"], ["updated_at", "2018-05-29 18:25:12.731518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 431], ["created_at", "2018-05-29 18:25:12.733822"], ["updated_at", "2018-05-29 18:25:12.733822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-05-29 18:25:12.736673"], ["last_error_message", "SSL error occured"], ["id", 192]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (12.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_statuses", "public"."notifiable_notifications" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (1.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddTheadIdToNotifications (201806182135000)  (0.6ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to AddThreadIdToNotifications (201806182135000)  (0.4ms) BEGIN  (9.8ms) ALTER TABLE "notifiable_notifications" ADD "thead_id" character varying SQL (2.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "201806182135000"]]  (1.9ms) COMMIT ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (1.2ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.5ms) RELEASE SAVEPOINT active_record_1  (7.0ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (2.9ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (12.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-06-18 14:55:46.579358"], ["updated_at", "2018-06-18 14:55:46.579358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 432], ["created_at", "2018-06-18 14:55:46.613835"], ["updated_at", "2018-06-18 14:55:46.613835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_notifications" WHERE "notifiable_notifications"."app_id" = $1 [["app_id", 432]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-06-18 14:55:46.644261"], ["updated_at", "2018-06-18 14:55:46.644261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 433], ["created_at", "2018-06-18 14:55:46.646524"], ["updated_at", "2018-06-18 14:55:46.646524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-06-18 14:55:46.664520"], ["updated_at", "2018-06-18 14:55:46.664520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 4"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.727139"], ["updated_at", "2018-06-18 14:55:46.727139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 435], ["created_at", "2018-06-18 14:55:46.730110"], ["updated_at", "2018-06-18 14:55:46.730110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 5"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.765028"], ["updated_at", "2018-06-18 14:55:46.765028"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 436], ["created_at", "2018-06-18 14:55:46.769017"], ["updated_at", "2018-06-18 14:55:46.769017"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 6"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.788973"], ["updated_at", "2018-06-18 14:55:46.788973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 437], ["created_at", "2018-06-18 14:55:46.792023"], ["updated_at", "2018-06-18 14:55:46.792023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 437 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (1.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["locale", "en"], ["app_id", 437], ["created_at", "2018-06-18 14:55:46.822542"], ["updated_at", "2018-06-18 14:55:46.822542"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 437 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["locale", "en"], ["app_id", 437], ["created_at", "2018-06-18 14:55:46.828181"], ["updated_at", "2018-06-18 14:55:46.828181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-06-18 14:55:46.830315"], ["id", 197]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 7"], ["configuration", "---\n:save_notification_statuses: false\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.850815"], ["updated_at", "2018-06-18 14:55:46.850815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 438], ["created_at", "2018-06-18 14:55:46.853945"], ["updated_at", "2018-06-18 14:55:46.853945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 438 LIMIT $2 [["token", "ABCD3"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD3"], ["provider", "mock"], ["locale", "en"], ["app_id", 438], ["created_at", "2018-06-18 14:55:46.858634"], ["updated_at", "2018-06-18 14:55:46.858634"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.4ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 438 LIMIT $2 [["token", "ABCD4"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD4"], ["provider", "mock"], ["locale", "en"], ["app_id", 438], ["created_at", "2018-06-18 14:55:46.863281"], ["updated_at", "2018-06-18 14:55:46.863281"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-06-18 14:55:46.865896"], ["id", 198]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 8"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.889708"], ["updated_at", "2018-06-18 14:55:46.889708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 439], ["created_at", "2018-06-18 14:55:46.893144"], ["updated_at", "2018-06-18 14:55:46.893144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 439 LIMIT $2 [["token", "ABCD5"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD5"], ["provider", "mock"], ["locale", "en"], ["app_id", 439], ["created_at", "2018-06-18 14:55:46.897347"], ["updated_at", "2018-06-18 14:55:46.897347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 439 LIMIT $2 [["token", "ABCD6"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD6"], ["provider", "mock"], ["locale", "en"], ["app_id", 439], ["created_at", "2018-06-18 14:55:46.900841"], ["updated_at", "2018-06-18 14:55:46.900841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 199], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.8ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 165], ["LIMIT", 1]] SQL (1.2ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 199], ["device_token_id", 165], ["status", 0], ["created_at", "2018-06-18 14:55:46.898932"]] Notifiable::Notification Load (0.5ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 199], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 166], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 199], ["device_token_id", 166], ["status", 0], ["created_at", "2018-06-18 14:55:46.902194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-06-18 14:55:46.928550"], ["id", 199]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 9"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.947102"], ["updated_at", "2018-06-18 14:55:46.947102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 440], ["created_at", "2018-06-18 14:55:46.950240"], ["updated_at", "2018-06-18 14:55:46.950240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 440 LIMIT $2 [["token", "ABCD7"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD7"], ["provider", "mock"], ["locale", "en"], ["app_id", 440], ["created_at", "2018-06-18 14:55:46.953769"], ["updated_at", "2018-06-18 14:55:46.953769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 440 LIMIT $2 [["token", "ABCD8"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD8"], ["provider", "mock"], ["locale", "en"], ["app_id", 440], ["created_at", "2018-06-18 14:55:46.957096"], ["updated_at", "2018-06-18 14:55:46.957096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 200], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 167], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 200], ["device_token_id", 167], ["status", 0], ["created_at", "2018-06-18 14:55:46.955288"]] Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 200], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 168], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 200], ["device_token_id", 168], ["status", 0], ["created_at", "2018-06-18 14:55:46.959155"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 2], ["gateway_accepted_count", 2], ["updated_at", "2018-06-18 14:55:46.969700"], ["id", 200]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 10"], ["configuration", "---\n:configurable_mock:\n :use_sandbox: true\n"], ["created_at", "2018-06-18 14:55:46.992656"], ["updated_at", "2018-06-18 14:55:46.992656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 441], ["created_at", "2018-06-18 14:55:46.995665"], ["updated_at", "2018-06-18 14:55:46.995665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 11"], ["created_at", "2018-06-18 14:55:47.014645"], ["updated_at", "2018-06-18 14:55:47.014645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "notifiable_notifications" ("app_id", "parameters", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["app_id", 442], ["parameters", "---\n:custom_property: A different message\n"], ["created_at", "2018-06-18 14:55:47.018247"], ["updated_at", "2018-06-18 14:55:47.018247"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.7ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.4ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 12"], ["created_at", "2018-06-18 14:55:47.040026"], ["updated_at", "2018-06-18 14:55:47.040026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 443], ["created_at", "2018-06-18 14:55:47.042516"], ["updated_at", "2018-06-18 14:55:47.042516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "updated_at" = $1, "last_error_message" = $2 WHERE "notifiable_notifications"."id" = $3 [["updated_at", "2018-06-18 14:55:47.044676"], ["last_error_message", "SSL error occured"], ["id", 203]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 13"], ["created_at", "2018-06-18 14:55:47.064425"], ["updated_at", "2018-06-18 14:55:47.064425"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 444], ["created_at", "2018-06-18 14:55:47.067866"], ["updated_at", "2018-06-18 14:55:47.067866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 14"], ["created_at", "2018-06-18 14:55:47.081389"], ["updated_at", "2018-06-18 14:55:47.081389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 445 LIMIT $2 [["token", "ABCD9"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD9"], ["provider", "mock"], ["app_id", 445], ["created_at", "2018-06-18 14:55:47.085129"], ["updated_at", "2018-06-18 14:55:47.085129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 204], ["device_token_id", 169], ["status", 0], ["created_at", "2018-06-18 14:55:47.087109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" WHERE "notifiable_statuses"."notification_id" = $1 [["notification_id", 204]] SQL (0.3ms) DELETE FROM "notifiable_statuses" WHERE "notifiable_statuses"."id" = $1 [["id", 80]] SQL (0.3ms) DELETE FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 [["id", 204]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (7.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 15"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.108796"], ["updated_at", "2018-06-18 14:55:47.108796"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 446], ["created_at", "2018-06-18 14:55:47.112144"], ["updated_at", "2018-06-18 14:55:47.112144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 16"], ["created_at", "2018-06-18 14:55:47.115277"], ["updated_at", "2018-06-18 14:55:47.115277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 447 LIMIT $2 [["token", "ABCD10"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD10"], ["provider", "mock"], ["locale", "en"], ["app_id", 447], ["created_at", "2018-06-18 14:55:47.119520"], ["updated_at", "2018-06-18 14:55:47.119520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.122838"], ["id", 205]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 205], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.3ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 170], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 205], ["device_token_id", 170], ["status", 0], ["created_at", "2018-06-18 14:55:47.121897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 17"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.146201"], ["updated_at", "2018-06-18 14:55:47.146201"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 448], ["created_at", "2018-06-18 14:55:47.148707"], ["updated_at", "2018-06-18 14:55:47.148707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 18"], ["created_at", "2018-06-18 14:55:47.150704"], ["updated_at", "2018-06-18 14:55:47.150704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 449 LIMIT $2 [["token", "ABCD11"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD11"], ["provider", "mock"], ["locale", "en"], ["app_id", 449], ["created_at", "2018-06-18 14:55:47.153272"], ["updated_at", "2018-06-18 14:55:47.153272"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.155513"], ["id", 206]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 206], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 171], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 206], ["device_token_id", 171], ["status", 0], ["created_at", "2018-06-18 14:55:47.154956"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (10.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 19"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.184926"], ["updated_at", "2018-06-18 14:55:47.184926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 450], ["created_at", "2018-06-18 14:55:47.187478"], ["updated_at", "2018-06-18 14:55:47.187478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 20"], ["created_at", "2018-06-18 14:55:47.189614"], ["updated_at", "2018-06-18 14:55:47.189614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 451 LIMIT $2 [["token", "ABCD12"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD12"], ["provider", "mock"], ["locale", "en"], ["app_id", 451], ["created_at", "2018-06-18 14:55:47.192593"], ["updated_at", "2018-06-18 14:55:47.192593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.194854"], ["id", 207]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 207], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 172], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 207], ["device_token_id", 172], ["status", 0], ["created_at", "2018-06-18 14:55:47.194245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.2ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 21"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.220747"], ["updated_at", "2018-06-18 14:55:47.220747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 452], ["created_at", "2018-06-18 14:55:47.224487"], ["updated_at", "2018-06-18 14:55:47.224487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 22"], ["created_at", "2018-06-18 14:55:47.227782"], ["updated_at", "2018-06-18 14:55:47.227782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 453 LIMIT $2 [["token", "ABCD13"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD13"], ["provider", "mock"], ["locale", "en"], ["app_id", 453], ["created_at", "2018-06-18 14:55:47.230706"], ["updated_at", "2018-06-18 14:55:47.230706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.232746"], ["id", 208]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.3ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 208], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.2ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 173], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 208], ["device_token_id", 173], ["status", 0], ["created_at", "2018-06-18 14:55:47.232218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.2ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 23"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.254925"], ["updated_at", "2018-06-18 14:55:47.254925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 454], ["created_at", "2018-06-18 14:55:47.257340"], ["updated_at", "2018-06-18 14:55:47.257340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 24"], ["created_at", "2018-06-18 14:55:47.260907"], ["updated_at", "2018-06-18 14:55:47.260907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.9ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 455 LIMIT $2 [["token", "ABCD14"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD14"], ["provider", "mock"], ["locale", "en"], ["app_id", 455], ["created_at", "2018-06-18 14:55:47.265152"], ["updated_at", "2018-06-18 14:55:47.265152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.268508"], ["id", 209]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.5ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 209], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.6ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 174], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 209], ["device_token_id", 174], ["status", 0], ["created_at", "2018-06-18 14:55:47.267683"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::NotificationStatus Load (0.3ms) SELECT "notifiable_statuses".* FROM "notifiable_statuses" ORDER BY "notifiable_statuses"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "configuration", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "App 25"], ["configuration", "---\n:mock: {}\n:configurable_mock:\n :use_sandbox: \n:save_notification_statuses: true\n"], ["created_at", "2018-06-18 14:55:47.294698"], ["updated_at", "2018-06-18 14:55:47.294698"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 456], ["created_at", "2018-06-18 14:55:47.297546"], ["updated_at", "2018-06-18 14:55:47.297546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 26"], ["created_at", "2018-06-18 14:55:47.299669"], ["updated_at", "2018-06-18 14:55:47.299669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 457 LIMIT $2 [["token", "ABCD15"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD15"], ["provider", "mock"], ["locale", "en"], ["app_id", 457], ["created_at", "2018-06-18 14:55:47.302582"], ["updated_at", "2018-06-18 14:55:47.302582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) UPDATE "notifiable_notifications" SET "sent_count" = $1, "gateway_accepted_count" = $2, "updated_at" = $3 WHERE "notifiable_notifications"."id" = $4 [["sent_count", 1], ["gateway_accepted_count", 1], ["updated_at", "2018-06-18 14:55:47.305020"], ["id", 210]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::Notification Load (0.6ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" WHERE "notifiable_notifications"."id" = $1 LIMIT $2 [["id", 210], ["LIMIT", 1]] Notifiable::DeviceToken Load (0.4ms) SELECT "notifiable_device_tokens".* FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 210], ["device_token_id", 175], ["status", 0], ["created_at", "2018-06-18 14:55:47.304293"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::Notification Load (0.4ms) SELECT "notifiable_notifications".* FROM "notifiable_notifications" ORDER BY "notifiable_notifications"."id" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (9.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 27"], ["created_at", "2018-06-18 14:55:47.334231"], ["updated_at", "2018-06-18 14:55:47.334231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 458], ["created_at", "2018-06-18 14:55:47.336152"], ["updated_at", "2018-06-18 14:55:47.336152"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "notifiable_statuses"  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 28"], ["created_at", "2018-06-18 14:55:47.355373"], ["updated_at", "2018-06-18 14:55:47.355373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 459 LIMIT $2 [["token", "ABCD16"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD16"], ["provider", "mock"], ["app_id", 459], ["created_at", "2018-06-18 14:55:47.358677"], ["updated_at", "2018-06-18 14:55:47.358677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 29"], ["created_at", "2018-06-18 14:55:47.379637"], ["updated_at", "2018-06-18 14:55:47.379637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 460 LIMIT $2 [["token", "ABCD17"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD17"], ["provider", "mock"], ["app_id", 460], ["created_at", "2018-06-18 14:55:47.382756"], ["updated_at", "2018-06-18 14:55:47.382756"], ["language", "en"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 30"], ["created_at", "2018-06-18 14:55:47.398748"], ["updated_at", "2018-06-18 14:55:47.398748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 461 LIMIT $2 [["token", "ABCD18"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "language") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD18"], ["provider", "mock"], ["app_id", 461], ["created_at", "2018-06-18 14:55:47.401768"], ["updated_at", "2018-06-18 14:55:47.401768"], ["language", "ido"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 31"], ["created_at", "2018-06-18 14:55:47.423441"], ["updated_at", "2018-06-18 14:55:47.423441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 462 LIMIT $2 [["token", "ABCD19"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "name") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD19"], ["provider", "mock"], ["app_id", 462], ["created_at", "2018-06-18 14:55:47.427866"], ["updated_at", "2018-06-18 14:55:47.427866"], ["name", "Matt's iPhone"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (7.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 32"], ["created_at", "2018-06-18 14:55:47.445799"], ["updated_at", "2018-06-18 14:55:47.445799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 463 LIMIT $2 [["token", "ABCD20"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "locale", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD20"], ["provider", "mock"], ["locale", "en"], ["app_id", 463], ["created_at", "2018-06-18 14:55:47.448988"], ["updated_at", "2018-06-18 14:55:47.448988"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 33"], ["created_at", "2018-06-18 14:55:47.469753"], ["updated_at", "2018-06-18 14:55:47.469753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 464 LIMIT $2 [["token", "ABCD21"], ["LIMIT", 1]] SQL (3.8ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD21"], ["provider", "mock"], ["app_id", 464], ["created_at", "2018-06-18 14:55:47.474820"], ["updated_at", "2018-06-18 14:55:47.474820"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (8.7ms) SELECT COUNT(*) FROM "notifiable_device_tokens" WHERE (ST_DWithin(lonlat, ST_MakePoint(-122,47), 500))  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.0ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 34"], ["created_at", "2018-06-18 14:55:47.506095"], ["updated_at", "2018-06-18 14:55:47.506095"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 465], ["created_at", "2018-06-18 14:55:47.508642"], ["updated_at", "2018-06-18 14:55:47.508642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 35"], ["created_at", "2018-06-18 14:55:47.511580"], ["updated_at", "2018-06-18 14:55:47.511580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 466 LIMIT $2 [["token", "ABCD22"], ["LIMIT", 1]] SQL (0.6ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD22"], ["provider", "mock"], ["app_id", 466], ["created_at", "2018-06-18 14:55:47.515484"], ["updated_at", "2018-06-18 14:55:47.515484"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 212], ["device_token_id", 182], ["status", 0], ["created_at", "2018-06-18 14:55:47.518391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 36"], ["created_at", "2018-06-18 14:55:47.521349"], ["updated_at", "2018-06-18 14:55:47.521349"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 467], ["created_at", "2018-06-18 14:55:47.523784"], ["updated_at", "2018-06-18 14:55:47.523784"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 37"], ["created_at", "2018-06-18 14:55:47.526972"], ["updated_at", "2018-06-18 14:55:47.526972"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 468 LIMIT $2 [["token", "ABCD23"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD23"], ["provider", "mock"], ["app_id", 468], ["created_at", "2018-06-18 14:55:47.529849"], ["updated_at", "2018-06-18 14:55:47.529849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_statuses" ("notification_id", "device_token_id", "status", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["notification_id", 213], ["device_token_id", 183], ["status", 0], ["created_at", "2018-06-18 14:55:47.531511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 38"], ["created_at", "2018-06-18 14:55:47.533204"], ["updated_at", "2018-06-18 14:55:47.533204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 469 LIMIT $2 [["token", "ABCD24"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD24"], ["provider", "mock"], ["app_id", 469], ["created_at", "2018-06-18 14:55:47.536772"], ["updated_at", "2018-06-18 14:55:47.536772"]] SQL (0.4ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 184], ["id", 87]] SQL (0.3ms) UPDATE "notifiable_statuses" SET "device_token_id" = $1 WHERE "notifiable_statuses"."id" = $2 [["device_token_id", 184], ["id", 88]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "notifiable_statuses" WHERE "notifiable_statuses"."device_token_id" = $1 [["device_token_id", 184]]  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.9ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 39"], ["created_at", "2018-06-18 14:55:47.556461"], ["updated_at", "2018-06-18 14:55:47.556461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 470 LIMIT $2 [["token", ""], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 40"], ["created_at", "2018-06-18 14:55:47.582554"], ["updated_at", "2018-06-18 14:55:47.582554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 471 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "abc123"], ["provider", "mock"], ["app_id", 471], ["created_at", "2018-06-18 14:55:47.586002"], ["updated_at", "2018-06-18 14:55:47.586002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.3ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 471 LIMIT $2 [["token", "abc123"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 41"], ["created_at", "2018-06-18 14:55:47.605049"], ["updated_at", "2018-06-18 14:55:47.605049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" IS NULL AND "notifiable_device_tokens"."app_id" = 472 LIMIT $1 [["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (10.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 42"], ["created_at", "2018-06-18 14:55:47.629782"], ["updated_at", "2018-06-18 14:55:47.629782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 473 LIMIT $2 [["token", "ABCD25"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD25"], ["provider", "mock"], ["app_id", 473], ["created_at", "2018-06-18 14:55:47.633066"], ["updated_at", "2018-06-18 14:55:47.633066"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 43"], ["created_at", "2018-06-18 14:55:47.649792"], ["updated_at", "2018-06-18 14:55:47.649792"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 474 LIMIT $2 [["token", "ABCD26"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "lonlat") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD26"], ["provider", "mock"], ["app_id", 474], ["created_at", "2018-06-18 14:55:47.652849"], ["updated_at", "2018-06-18 14:55:47.652849"], ["lonlat", "0020000001000010e6c05e8000000000004047800000000000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 44"], ["created_at", "2018-06-18 14:55:47.674600"], ["updated_at", "2018-06-18 14:55:47.674600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.8ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 475 LIMIT $2 [["token", "ABCD27"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD27"], ["provider", "mock"], ["app_id", 475], ["created_at", "2018-06-18 14:55:47.678988"], ["updated_at", "2018-06-18 14:55:47.678988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.3ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 45"], ["created_at", "2018-06-18 14:55:47.696270"], ["updated_at", "2018-06-18 14:55:47.696270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.5ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 476 LIMIT $2 [["token", "ABCD28"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at", "country") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["token", "ABCD28"], ["provider", "mock"], ["app_id", 476], ["created_at", "2018-06-18 14:55:47.699494"], ["updated_at", "2018-06-18 14:55:47.699494"], ["country", "gb"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.1ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.6ms) ROLLBACK  (1.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (3.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (3.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (12.1ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (1.2ms) RELEASE SAVEPOINT active_record_1  (18.8ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (5.7ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (19.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.1ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (13.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1  (0.9ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.3ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (12.4ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.9ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.4ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (16.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.6ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:22:42.105881"], ["updated_at", "2018-08-24 12:22:42.105881"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 477], ["created_at", "2018-08-24 12:22:42.120879"], ["updated_at", "2018-08-24 12:22:42.120879"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:22:42.155611"], ["updated_at", "2018-08-24 12:22:42.155611"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (3.2ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 478 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (3.2ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "apns"], ["app_id", 478], ["created_at", "2018-08-24 12:22:42.165846"], ["updated_at", "2018-08-24 12:22:42.165846"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (1.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.1ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.4ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (11.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.8ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:23:16.340689"], ["updated_at", "2018-08-24 12:23:16.340689"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 479], ["created_at", "2018-08-24 12:23:16.349483"], ["updated_at", "2018-08-24 12:23:16.349483"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:23:16.379014"], ["updated_at", "2018-08-24 12:23:16.379014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (1.1ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 480 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.7ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "apns"], ["app_id", 480], ["created_at", "2018-08-24 12:23:16.385475"], ["updated_at", "2018-08-24 12:23:16.385475"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1  (2.0ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (1.2ms) RELEASE SAVEPOINT active_record_1  (4.1ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (4.1ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (14.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (1.0ms) SAVEPOINT active_record_1  (1.1ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (7.6ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.4ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:24:09.282049"], ["updated_at", "2018-08-24 12:24:09.282049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 481], ["created_at", "2018-08-24 12:24:09.290778"], ["updated_at", "2018-08-24 12:24:09.290778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:24:09.320806"], ["updated_at", "2018-08-24 12:24:09.320806"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 482 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.5ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 482], ["created_at", "2018-08-24 12:24:09.327064"], ["updated_at", "2018-08-24 12:24:09.327064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.8ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.5ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.7ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (8.8ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:24:35.797000"], ["updated_at", "2018-08-24 12:24:35.797000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 483], ["created_at", "2018-08-24 12:24:35.805884"], ["updated_at", "2018-08-24 12:24:35.805884"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:24:35.831639"], ["updated_at", "2018-08-24 12:24:35.831639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 484 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 484], ["created_at", "2018-08-24 12:24:35.837192"], ["updated_at", "2018-08-24 12:24:35.837192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (9.6ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.2ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:27:53.107641"], ["updated_at", "2018-08-24 12:27:53.107641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 485], ["created_at", "2018-08-24 12:27:53.116344"], ["updated_at", "2018-08-24 12:27:53.116344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:27:53.142398"], ["updated_at", "2018-08-24 12:27:53.142398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.7ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 486 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.4ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 486], ["created_at", "2018-08-24 12:27:53.148487"], ["updated_at", "2018-08-24 12:27:53.148487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.5ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.2ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (12.5ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.4ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.4ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(5131134053504291175)  (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(5131134053504291175)  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 1"], ["created_at", "2018-08-24 12:36:29.004457"], ["updated_at", "2018-08-24 12:36:29.004457"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 487], ["created_at", "2018-08-24 12:36:29.014317"], ["updated_at", "2018-08-24 12:36:29.014317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 2"], ["created_at", "2018-08-24 12:36:29.041179"], ["updated_at", "2018-08-24 12:36:29.041179"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 488 LIMIT $2 [["token", "ABCD1"], ["LIMIT", 1]] SQL (0.9ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD1"], ["provider", "mock"], ["app_id", 488], ["created_at", "2018-08-24 12:36:29.048531"], ["updated_at", "2018-08-24 12:36:29.048531"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.6ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.4ms) select table_name from information_schema.views where table_schema = 'notifiable-rails-test'  (15.7ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.3ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 3"], ["created_at", "2018-08-24 12:36:29.084654"], ["updated_at", "2018-08-24 12:36:29.084654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "notifiable_notifications" ("app_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["app_id", 489], ["created_at", "2018-08-24 12:36:29.086904"], ["updated_at", "2018-08-24 12:36:29.086904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "notifiable_apps" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "App 4"], ["created_at", "2018-08-24 12:36:29.089239"], ["updated_at", "2018-08-24 12:36:29.089239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Notifiable::DeviceToken Exists (0.6ms) SELECT 1 AS one FROM "notifiable_device_tokens" WHERE "notifiable_device_tokens"."token" = $1 AND "notifiable_device_tokens"."app_id" = 490 LIMIT $2 [["token", "ABCD2"], ["LIMIT", 1]] SQL (0.3ms) INSERT INTO "notifiable_device_tokens" ("token", "provider", "app_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["token", "ABCD2"], ["provider", "mock"], ["app_id", 490], ["created_at", "2018-08-24 12:36:29.092045"], ["updated_at", "2018-08-24 12:36:29.092045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" DISABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" DISABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (11.2ms) TRUNCATE TABLE "public"."spatial_ref_sys", "public"."notifiable_device_tokens", "public"."notifiable_apps", "public"."notifiable_notifications", "public"."notifiable_statuses" RESTART IDENTITY CASCADE;  (0.2ms) SAVEPOINT active_record_1  (0.3ms) ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "spatial_ref_sys" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_device_tokens" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_apps" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_notifications" ENABLE TRIGGER ALL;ALTER TABLE "notifiable_statuses" ENABLE TRIGGER ALL  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.2ms) ROLLBACK