new default statuses

This commit is contained in:
Oliver Bryan
2026-01-10 19:22:28 +00:00
parent 67980114fd
commit 1a8dc1a57e
3 changed files with 639 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
ALTER TABLE "Issue" ALTER COLUMN "status" SET DATA TYPE varchar(24);--> statement-breakpoint
ALTER TABLE "Issue" ALTER COLUMN "status" SET DEFAULT 'TO DO';--> statement-breakpoint
ALTER TABLE "Organisation" ALTER COLUMN "statuses" SET DATA TYPE varchar(24)[];--> statement-breakpoint
ALTER TABLE "Organisation" ALTER COLUMN "statuses" SET DEFAULT '{"TO DO","IN PROGRESS","REVIEW","DONE","ARCHIVED","MERGED"}';--> statement-breakpoint
ALTER TABLE "User" ALTER COLUMN "name" SET DATA TYPE varchar(64);