issue type
Gitea Actions / Deploy (push) Successful in 32s

This commit is contained in:
vadim committed 2026-10-18 20:37:58 +03:00
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");
+2
View File
@@ -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")
}