Skip to content

Commit

Permalink
update the index for query perf. (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos authored Jan 16, 2025
1 parent 0c92d32 commit 671fcb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ADD COLUMN entry_function_module_name VARCHAR(255),
ADD COLUMN entry_function_function_name VARCHAR(255);

-- If you would like to run these indices, please do it outside of diesel migration since it will be blocking processing
-- CREATE INDEX CONCURRENTLY IF NOT EXISTS user_transactions_contract_info_index ON user_transactions (entry_function_contract_address, entry_function_module_name, entry_function_function_name);
-- CREATE INDEX CONCURRENTLY IF NOT EXISTS user_transactions_contract_info_index ON user_transactions (entry_function_contract_address, version);

0 comments on commit 671fcb9

Please sign in to comment.