/*
  Warnings:

  - Made the column `sf_account_id` on table `id_mappings` required. This step will fail if there are existing NULL values in that column.

*/
-- AlterEnum
-- This migration adds more than one value to an enum.
-- With PostgreSQL versions 11 and earlier, this is not possible
-- in a single migration. This can be worked around by creating
-- multiple migrations, each migration adding only one value to
-- the enum.


ALTER TYPE "AuditAction" ADD VALUE 'LOGIN_OTP_SENT';
ALTER TYPE "AuditAction" ADD VALUE 'LOGIN_OTP_VERIFIED';
ALTER TYPE "AuditAction" ADD VALUE 'LOGIN_OTP_FAILED';
ALTER TYPE "AuditAction" ADD VALUE 'LOGIN_SESSION_INVALIDATED';
ALTER TYPE "AuditAction" ADD VALUE 'ADDRESS_UPDATE';
ALTER TYPE "AuditAction" ADD VALUE 'ADDRESS_UPDATE_PARTIAL';
ALTER TYPE "AuditAction" ADD VALUE 'ADDRESS_RECONCILE_QUEUED';
ALTER TYPE "AuditAction" ADD VALUE 'ADDRESS_RECONCILE_SUCCESS';
ALTER TYPE "AuditAction" ADD VALUE 'ADDRESS_RECONCILE_FAILED';

-- AlterTable
ALTER TABLE "id_mappings" ALTER COLUMN "sf_account_id" SET NOT NULL;
