Skip to content

Commit

Permalink
add 2 indices
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Dec 1, 2024
1 parent 375e900 commit 5278c74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ export class DAO {
CREATE INDEX IF NOT EXISTS idx_twamm_order_updates_key_hash_time ON twamm_order_updates USING btree (key_hash, start_time, end_time);
CREATE INDEX IF NOT EXISTS idx_twamm_order_updates_owner_salt ON twamm_order_updates USING btree (owner, salt);
CREATE INDEX IF NOT EXISTS idx_twamm_order_updates_salt ON twamm_order_updates USING btree (salt);
CREATE INDEX IF NOT EXISTS idx_twamm_order_updates_salt_key_hash_start_end_owner_event_id ON twamm_order_updates(salt, key_hash, start_time, end_time, owner, event_id);
CREATE TABLE IF NOT EXISTS twamm_proceeds_withdrawals
(
Expand All @@ -716,6 +717,7 @@ export class DAO {
CREATE INDEX IF NOT EXISTS idx_twamm_proceeds_withdrawals_key_hash_time ON twamm_proceeds_withdrawals USING btree (key_hash, start_time, end_time);
CREATE INDEX IF NOT EXISTS idx_twamm_proceeds_withdrawals_owner_salt ON twamm_proceeds_withdrawals USING btree (owner, salt);
CREATE INDEX IF NOT EXISTS idx_twamm_proceeds_withdrawals_salt ON twamm_proceeds_withdrawals USING btree (salt);
CREATE INDEX IF NOT EXISTS idx_twamm_proceeds_withdrawals_salt_event_id_desc ON twamm_proceeds_withdrawals(salt, event_id DESC);
CREATE TABLE IF NOT EXISTS twamm_virtual_order_executions
(
Expand Down

0 comments on commit 5278c74

Please sign in to comment.