Skip to content

Commit

Permalink
Merge pull request #101 from cardano-foundation/chore/add-indexes-for…
Browse files Browse the repository at this point in the history
…-pool-info-table

chore: add indexes for pool info table
  • Loading branch information
Sotatek-DucPhung authored May 16, 2024
2 parents 750c4a6 + 24df627 commit 20ded83
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE INDEX IF NOT EXISTS composite_idx_pool_info_active_stake_live_saturation on pool_info (active_stake, live_saturation);
CREATE INDEX IF NOT EXISTS idx_pool_info_active_stake on pool_info (active_stake);
CREATE INDEX IF NOT EXISTS idx_pool_info_live_saturation on pool_info (live_saturation);
CREATE INDEX IF NOT EXISTS idx_pool_info_live_stake on pool_info (live_stake);

0 comments on commit 20ded83

Please sign in to comment.