Add filters.
This commit is contained in:
parent
a136b717bf
commit
8ad2c6ef53
4 changed files with 207 additions and 23 deletions
|
@ -0,0 +1,11 @@
|
|||
-- CreateIndex
|
||||
CREATE INDEX "MantisIssue_reporter_username_idx" ON "MantisIssue"("reporter_username");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "MantisIssue_status_idx" ON "MantisIssue"("status");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "MantisIssue_priority_idx" ON "MantisIssue"("priority");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "MantisIssue_severity_idx" ON "MantisIssue"("severity");
|
|
@ -152,6 +152,11 @@ model MantisIssue {
|
|||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
comments MantisComment[]
|
||||
|
||||
@@index([reporterUsername])
|
||||
@@index([status])
|
||||
@@index([priority])
|
||||
@@index([severity])
|
||||
}
|
||||
|
||||
model MantisComment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue