1 parent
afc37f8fdb
commit
c5691da2b8
47 files changed
+278
-9
No files matched your search
@@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "issue" ADD COLUMN "type" TEXT NOT NULL DEFAULT 'TASK';
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "issue_projectId_type_idx" ON "issue"("projectId", "type");
|
||||
@@ -88,6 +88,7 @@ model Issue {
|
||||
content String?
|
||||
status String
|
||||
priority Int @default(0)
|
||||
type String @default("TASK")
|
||||
assigneeId String?
|
||||
assignee User? @relation(name: "assigneeIssues", fields: [assigneeId], references: [id], onDelete: SetNull)
|
||||
reporterId String?
|
||||
@@ -109,6 +110,7 @@ model Issue {
|
||||
@@index([projectId, createdAt])
|
||||
@@index([dueDate])
|
||||
@@index([projectId, dueDate])
|
||||
@@index([projectId, type])
|
||||
@@map("issue")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user