Skip to content

Commit

Permalink
fix: corrige le nom de l'index
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Nov 18, 2024
1 parent f9e8fa6 commit 7be47de
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 164 deletions.
1 change: 1 addition & 0 deletions graphql/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/*
* For a detailed explanation regarding each configuration property, visit:
* https://jestjs.io/docs/configuration
Expand Down
2 changes: 1 addition & 1 deletion graphql/migrations/20230504080000-sorting-indexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.up = async function (db) {
.createIndex({ name: -1 }, { unique: false })
await mongo
.collection('tags')
.createIndex({ updatedAt: -1 }, { unique: false })
.createIndex({ createdAt: -1 }, { unique: false })
await mongo
.collection('articles')
.createIndex({ createdAt: -1 }, { unique: false })
Expand Down
Loading

0 comments on commit 7be47de

Please sign in to comment.