Skip to content

Commit

Permalink
chore: add migrations for global index
Browse files Browse the repository at this point in the history
  • Loading branch information
joshxfi committed Apr 8, 2024
1 parent a511013 commit 6dbf33c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- DropIndex
DROP INDEX "GlobalMessage_userId_updatedAt_idx";

-- CreateIndex
CREATE INDEX "GlobalMessage_userId_idx" ON "GlobalMessage"("userId");

-- CreateIndex
CREATE INDEX "GlobalMessage_updatedAt_idx" ON "GlobalMessage"("updatedAt" DESC);

0 comments on commit 6dbf33c

Please sign in to comment.