Skip to content

Commit

Permalink
Merge pull request #130 from pshenmic/fix/sql-indexes
Browse files Browse the repository at this point in the history
Add `identifier` and `owner` columns indexes
  • Loading branch information
pshenmic authored May 9, 2024
2 parents 60d0a3c + cade2c0 commit 648996d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/indexer/migrations/V32__owner_indexes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE INDEX state_transition_owner ON state_transitions(owner);
CREATE INDEX data_contract_owner ON data_contracts(owner);
CREATE INDEX document_owner ON documents(owner);
3 changes: 3 additions & 0 deletions packages/indexer/migrations/V33__identifier_indexes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE INDEX identity_identifier ON identities(identifier);
CREATE INDEX document_identifier ON documents(identifier);

0 comments on commit 648996d

Please sign in to comment.