ALTER TABLE "launcher_notices" ADD COLUMN "app_key" TEXT NOT NULL DEFAULT 'login'; DROP INDEX IF EXISTS "launcher_notices_is_active_priority_idx"; CREATE INDEX "launcher_notices_app_key_is_active_priority_idx" ON "launcher_notices"("app_key", "is_active", "priority");