Skip to content

Commit e66f877

Browse files
committed
fix: migrations
1 parent aac8d44 commit e66f877

File tree

1 file changed

+6
-1
lines changed
  • prisma/postgresql-migrations/20241006130306_alter_status_on_message_table

1 file changed

+6
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
-- AlterTable
2-
ALTER TABLE "Message" ALTER COLUMN "status" SET DATA TYPE VARCHAR(30);
2+
UPDATE "Message" SET "status" = 'PENDING';
3+
4+
ALTER TABLE "Message"
5+
ALTER COLUMN "status"
6+
SET
7+
DATA TYPE VARCHAR(30);

0 commit comments

Comments
 (0)