backend project

This commit is contained in:
Sone
2025-11-02 10:05:02 +01:00
parent e4199f65d8
commit deb622b796
62 changed files with 12475 additions and 0 deletions
@@ -0,0 +1,14 @@
/*
Warnings:
- The values [MEDIUM_PRIORITY] on the enum `PriorityStatus` will be removed. If these variants are still used in the database, this will fail.
*/
-- AlterEnum
BEGIN;
CREATE TYPE "Athena"."PriorityStatus_new" AS ENUM ('LOW_PRIORITY', 'MODERATE_PRIORITY', 'HIGH_PRIORITY');
ALTER TABLE "Athena"."Todo" ALTER COLUMN "priority" TYPE "Athena"."PriorityStatus_new" USING ("priority"::text::"Athena"."PriorityStatus_new");
ALTER TYPE "Athena"."PriorityStatus" RENAME TO "PriorityStatus_old";
ALTER TYPE "Athena"."PriorityStatus_new" RENAME TO "PriorityStatus";
DROP TYPE "Athena"."PriorityStatus_old";
COMMIT;