/*
  Warnings:

  - The values [Pending] on the enum `PerkInstanceStatus` will be removed. If these variants are still used in the database, this will fail.

*/
-- AlterEnum
BEGIN;
CREATE TYPE "PerkInstanceStatus_new" AS ENUM ('Active', 'Complete');
ALTER TABLE "PerkInstance" ALTER COLUMN "status" TYPE "PerkInstanceStatus_new" USING ("status"::text::"PerkInstanceStatus_new");
ALTER TYPE "PerkInstanceStatus" RENAME TO "PerkInstanceStatus_old";
ALTER TYPE "PerkInstanceStatus_new" RENAME TO "PerkInstanceStatus";
DROP TYPE "PerkInstanceStatus_old";
COMMIT;
