use varchar for signature+account_address

This commit is contained in:
GroovieGermanikus 2023-12-21 21:57:30 +01:00
parent 6f54eb7fd2
commit 94372d9f36
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 4 additions and 1 deletions

View File

@ -119,4 +119,7 @@ CLUSTER banking_stage_results_2.blocks using blocks_pkey;
VACUUM FULL banking_stage_results_2.blocks;
-- optional
CLUSTER banking_stage_results_2.transaction_slot using idx_transaction_slot_timestamp;
VACUUM FULL banking_stage_results_2.transaction_slot;
VACUUM FULL banking_stage_results_2.transaction_slot;
ALTER TABLE banking_stage_results_2.transactions ALTER COLUMN signature TYPE varchar(88);
ALTER TABLE banking_stage_results_2.accounts ALTER COLUMN account_key TYPE varchar(44);