Skip to content

Commit 60d5b40

Browse files
authored
[Store] Add Index to metadata_id (#190)
1 parent a259560 commit 60d5b40

File tree

2 files changed

+4
-0
lines changed
  • data-store/migrations/2024-03-14-140922_index_metadata_id

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DROP INDEX erc721_metadata_ind;
2+
DROP INDEX erc1155_metadata_ind;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CREATE INDEX erc721_metadata_ind ON nfts (metadata_id);
2+
CREATE INDEX erc1155_metadata_ind ON erc1155s (metadata_id);

0 commit comments

Comments
 (0)