(0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115648_create_notifiable_apps.rb:7)  (0.3ms) CREATE TABLE "notifiable_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "configuration" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115648"]]  (0.6ms) commit transaction Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115649_create_notifiable_device_tokens.rb:12)  (0.3ms) CREATE TABLE "notifiable_device_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "provider" varchar, "locale" varchar, "is_valid" boolean DEFAULT 't', "user_id" integer, "app_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE UNIQUE INDEX "index_notifiable_device_tokens_on_token" ON "notifiable_device_tokens" ("token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index'  (0.1ms) CREATE INDEX "index_notifiable_device_tokens_on_user_id" ON "notifiable_device_tokens" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115649"]]  (0.5ms) commit transaction Migrating to CreateNotifiableNotifications (20131210115650)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115650_create_notifiable_notifications.rb:12)  (0.3ms) CREATE TABLE "notifiable_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "sent_count" integer DEFAULT 0, "gateway_accepted_count" integer DEFAULT 0, "opened_count" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115650"]]  (0.4ms) commit transaction Migrating to CreateNotifiableLocalizedNotifications (20131210115651)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115651_create_notifiable_localized_notifications.rb:18)  (0.2ms) CREATE TABLE "notifiable_localized_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" text, "params" text, "locale" varchar, "notification_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115651"]]  (0.4ms) commit transaction Migrating to CreateNotifiableStatuses (20131210115652)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "notifiable_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "localized_notification_id" integer, "device_token_id" integer, "status" integer, "created_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115652"]]  (0.5ms) commit transaction Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "notifiable_device_tokens" ADD "name" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115653"]]  (0.6ms) commit transaction Migrating to AddPropertiesToLocalizedNotifications (20131210115654) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPropertiesToLocalizedNotifications (20131210115654)  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115648_create_notifiable_apps.rb:7)  (0.4ms) CREATE TABLE "notifiable_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "configuration" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115648"]]  (0.5ms) commit transaction Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115649_create_notifiable_device_tokens.rb:12)  (0.5ms) CREATE TABLE "notifiable_device_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "provider" varchar, "locale" varchar, "is_valid" boolean DEFAULT 't', "user_id" integer, "app_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE UNIQUE INDEX "index_notifiable_device_tokens_on_token" ON "notifiable_device_tokens" ("token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index'  (0.1ms) CREATE INDEX "index_notifiable_device_tokens_on_user_id" ON "notifiable_device_tokens" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115649"]]  (0.5ms) commit transaction Migrating to CreateNotifiableNotifications (20131210115650)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115650_create_notifiable_notifications.rb:12)  (0.4ms) CREATE TABLE "notifiable_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "sent_count" integer DEFAULT 0, "gateway_accepted_count" integer DEFAULT 0, "opened_count" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115650"]]  (0.5ms) commit transaction Migrating to CreateNotifiableLocalizedNotifications (20131210115651)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115651_create_notifiable_localized_notifications.rb:18)  (0.3ms) CREATE TABLE "notifiable_localized_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" text, "params" text, "locale" varchar, "notification_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115651"]]  (0.5ms) commit transaction Migrating to CreateNotifiableStatuses (20131210115652)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "notifiable_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "localized_notification_id" integer, "device_token_id" integer, "status" integer, "created_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115652"]]  (0.5ms) commit transaction Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "notifiable_device_tokens" ADD "name" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115653"]]  (0.4ms) commit transaction Migrating to AddPropertiesToLocalizedNotifications (20131210115654)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "notifiable_localized_notifications" ADD "props" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115654"]]  (0.5ms) commit transaction Migrating to CreateUsers (20131210115660)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115660"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_token' AND type='index'  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115648_create_notifiable_apps.rb:7)  (0.4ms) CREATE TABLE "notifiable_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "configuration" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115648"]]  (0.5ms) commit transaction Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115649_create_notifiable_device_tokens.rb:12)  (0.3ms) CREATE TABLE "notifiable_device_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "provider" varchar, "locale" varchar, "is_valid" boolean DEFAULT 't', "user_id" integer, "app_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_notifiable_device_tokens_on_user_id" ON "notifiable_device_tokens" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115649"]]  (0.4ms) commit transaction Migrating to CreateNotifiableNotifications (20131210115650)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115650_create_notifiable_notifications.rb:23)  (0.3ms) CREATE TABLE "notifiable_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "sent_count" integer DEFAULT 0, "gateway_accepted_count" integer DEFAULT 0, "opened_count" integer DEFAULT 0, "message" text, "parameters" text, "sound" varchar, "identifier" varchar, "expiry" datetime, "content_available" boolean, "mutable_content" boolean, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115650"]]  (0.4ms) commit transaction Migrating to CreateNotifiableStatuses (20131210115652)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "notifiable_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_id" integer, "device_token_id" integer, "status" integer, "created_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115652"]]  (0.4ms) commit transaction Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "notifiable_device_tokens" ADD "name" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115653"]]  (0.5ms) commit transaction Migrating to CreateUsers (20131210115660)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115660"]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_user_id' AND type='index'   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115648_create_notifiable_apps.rb:7)  (0.4ms) CREATE TABLE "notifiable_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "configuration" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115648"]]  (0.5ms) commit transaction Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115649_create_notifiable_device_tokens.rb:12)  (0.3ms) CREATE TABLE "notifiable_device_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "provider" varchar, "locale" varchar, "is_valid" boolean DEFAULT 't', "user_alias" varchar, "app_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_notifiable_device_tokens_on_user_alias" ON "notifiable_device_tokens" ("user_alias") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115649"]]  (0.5ms) commit transaction Migrating to CreateNotifiableNotifications (20131210115650)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115650_create_notifiable_notifications.rb:23)  (0.3ms) CREATE TABLE "notifiable_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "sent_count" integer DEFAULT 0, "gateway_accepted_count" integer DEFAULT 0, "opened_count" integer DEFAULT 0, "message" text, "parameters" text, "sound" varchar, "identifier" varchar, "expiry" datetime, "content_available" boolean, "mutable_content" boolean, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115650"]]  (0.5ms) commit transaction Migrating to CreateNotifiableStatuses (20131210115652)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "notifiable_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_id" integer, "device_token_id" integer, "status" integer, "created_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115652"]]  (0.5ms) commit transaction Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "notifiable_device_tokens" ADD "name" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115653"]]  (0.5ms) commit transaction Migrating to CreateUsers (20131210115660)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131210115660"]]  (0.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_notifiable_device_tokens_on_user_alias' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_notifiable_device_tokens_on_user_alias' AND type='index'  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddBadgeCountToNotifiableNotifications (20161208221332)  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableApps (20131210115648)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115648_create_notifiable_apps.rb:7)  (5.2ms) 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.4ms) COMMIT Migrating to CreateNotifiableDeviceTokens (20131210115649) ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateNotifiableDeviceTokens (20131210115649)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115649_create_notifiable_device_tokens.rb:12)  (4.3ms) 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)   (0.9ms) 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.3ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/matt/Documents/notifiable-rails/db/migrate/20131210115650_create_notifiable_notifications.rb:23)  (3.3ms) 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.3ms) COMMIT Migrating to CreateNotifiableStatuses (20131210115652)  (0.2ms) BEGIN  (2.4ms) 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.3ms) COMMIT Migrating to AddNameToNotifiableDeviceTokens (20131210115653)  (0.3ms) BEGIN  (1.3ms) ALTER TABLE "notifiable_device_tokens" ADD "name" character varying SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131210115653"]]  (0.3ms) COMMIT Migrating to AddBadgeCountToNotifiableNotifications (20161208221332)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "notifiable_notifications" ADD "badge_count" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161208221332"]]  (0.2ms) COMMIT Migrating to RemoveIsValidFromNotifiableDeviceTokens (20170108221332)  (0.1ms) BEGIN  (1.1ms) ALTER TABLE "notifiable_device_tokens" DROP "is_valid" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170108221332"]]  (0.3ms) COMMIT Migrating to AddAppIdTokenIndexToNotifiableDeviceTokens (20170108221432)  (0.5ms) BEGIN  (0.9ms) 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.3ms) COMMIT Migrating to AddLatLonToNotifiableDeviceTokens (20170116212641)  (0.1ms) BEGIN SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "postgis"  (24.9ms) ALTER TABLE "notifiable_device_tokens" ADD "latlon" geography(POINT,4326) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170116212641"]]  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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_apps' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) 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  (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_notifications' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.6ms) 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 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddLatLonToNotifiableDeviceTokens (20170116212641)  (0.2ms) BEGIN  (1.0ms) ALTER TABLE "notifiable_device_tokens" DROP "lonlat"  (0.1ms) ROLLBACK