Skip to content

Commit

Permalink
fix: 🐞 flaw in index creation - wrong collection
Browse files Browse the repository at this point in the history
flaw in index creation - wrong collection
  • Loading branch information
Tal Rofe committed Jun 2, 2022
1 parent 617f862 commit 71cc7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function bootstrap() {

// * https://github.com/prisma/prisma/issues/5430#issuecomment-1098715558
await prisma.$runCommandRaw({
createIndexes: 'RefreshTokens',
createIndexes: 'RefreshToken',
indexes: [
{
key: {
Expand Down

0 comments on commit 71cc7de

Please sign in to comment.