Skip to content

Commit

Permalink
Merge pull request #268 from kodadot/chore/routines
Browse files Browse the repository at this point in the history
Index on created_at for NFT entity
  • Loading branch information
vikiival authored Apr 8, 2024
2 parents ff142e6 + 91b1b55 commit c077a94
Show file tree
Hide file tree
Showing 5 changed files with 671 additions and 638 deletions.
11 changes: 11 additions & 0 deletions db/migrations/1712590816868-Data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = class Data1712590816868 {
name = 'Data1712590816868'

async up(db) {
await db.query(`CREATE INDEX "IDX_f0abf665028feb26e32d4201c5" ON "nft_entity" ("created_at") `)
}

async down(db) {
await db.query(`DROP INDEX "public"."IDX_f0abf665028feb26e32d4201c5"`)
}
}
Loading

0 comments on commit c077a94

Please sign in to comment.