Skip to content

Commit

Permalink
fix: logs index
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Jan 12, 2024
1 parent 2f3dc9a commit 06d926b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/1705077567281_remove-hash-indexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ exports.down = pgm => {
replaceIndex(pgm, 'nft_events', 'microblock_hash', 'hash');
replaceIndex(pgm, 'nft_events', 'asset_identifier', 'hash');

replaceIndex(pgm, 'contract_logs', 'contract_id', 'hash');
replaceIndex(pgm, 'contract_logs', 'tx_id', 'hash');
replaceIndex(pgm, 'contract_logs', 'microblock_hash', 'hash');

replaceIndex(pgm, 'smart_contracts', 'contract_id', 'hash');
Expand Down

0 comments on commit 06d926b

Please sign in to comment.