Skip to content

Commit

Permalink
schema: add block_height and total_loss index to tx summary
Browse files Browse the repository at this point in the history
  • Loading branch information
RaghavSood committed Jun 11, 2024
1 parent 8e0f00d commit 09d0510
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
CREATE INDEX idx_tx_summary_height_amount ON transaction_summary (block_height, total_loss);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP INDEX idx_tx_summary_height_amount;
-- +goose StatementEnd

0 comments on commit 09d0510

Please sign in to comment.