fixed old migration

This commit is contained in:
Oliver Bryan
2026-01-21 13:44:42 +00:00
parent 0547ff106c
commit 69ef310f99

View File

@@ -1 +1,3 @@
ALTER TABLE "Organisation" ALTER COLUMN "statuses" DROP DEFAULT;--> statement-breakpoint
ALTER TABLE "Organisation" ALTER COLUMN "statuses" SET DATA TYPE json USING '{}'::json;--> statement-breakpoint
ALTER TABLE "Organisation" ALTER COLUMN "statuses" SET DEFAULT '{"TO DO":"#fafafa","IN PROGRESS":"#f97316","REVIEW":"#8952bc","DONE":"#22c55e","REJECTED":"#ef4444","ARCHIVED":"#a1a1a1","MERGED":"#a1a1a1"}'::json;