Skip to content

Commit

Permalink
feat: new application index on user_id (#4098)
Browse files Browse the repository at this point in the history
* feat: new application index on user_id

* fix: update for ci
  • Loading branch information
YazeedLoonat authored May 22, 2024
1 parent d5cbc2a commit 4e6e1db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- CreateIndex

CREATE INDEX "applications_user_id_idx" ON "applications"("user_id");

1 change: 1 addition & 0 deletions api/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ model Applications {
@@unique([listingId, confirmationCode])
@@index([listingId])
@@index([userId])
@@map("applications")
}

Expand Down

0 comments on commit 4e6e1db

Please sign in to comment.