Skip to content

Commit 67e46d8

Browse files
OUT-4029 | Drop Tasks.label column and Labels table
Removes the label field from the Task Prisma model, deletes the Label model, and adds the destructive migration (ALTER TABLE Tasks DROP COLUMN label; DROP TABLE Labels). Runs via prisma migrate deploy in scripts/build.sh at deploy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e49b7ad commit 67e46d8

3 files changed

Lines changed: 2 additions & 13 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "Tasks" DROP COLUMN "label";
2+
DROP TABLE "Labels";

prisma/schema/label.prisma

Lines changed: 0 additions & 12 deletions
This file was deleted.

prisma/schema/task.prisma

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ enum Source {
1111

1212
model Task {
1313
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
14-
label String
1514
workspaceId String @db.VarChar(32)
1615
assigneeId String? @db.Uuid
1716
internalUserId String? @db.Uuid

0 commit comments

Comments
 (0)