Skip to content

Commit

Permalink
Add Indexes for rewards triggers (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
youngkidwarrior authored Oct 29, 2024
2 parents 27b6c64 + 2564098 commit d6929b7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CREATE INDEX idx_distributions_qualification_dates ON distributions(qualification_start, qualification_end);

CREATE INDEX idx_send_accounts_address ON send_accounts(address);

CREATE INDEX idx_send_account_transfers_f_t_block_time ON send_account_transfers(f, t, block_time);

CREATE INDEX idx_distribution_verifications_composite ON distribution_verifications(distribution_id, user_id, type);

0 comments on commit d6929b7

Please sign in to comment.