make withdrawal_cids a hypertable
All checks were successful
Docker Build / Run docker build (pull_request) Successful in 44s
Docker Build / Dummy job (pull_request) Successful in 3s

This commit is contained in:
Roy Crihfield 2024-05-08 20:31:50 +08:00
parent 90c29240a5
commit b64d747e4c

View File

@ -10,5 +10,7 @@ CREATE TABLE IF NOT EXISTS eth.withdrawal_cids (
PRIMARY KEY (index, header_id, block_number)
);
SELECT create_hypertable('eth.withdrawal_cids', 'block_number', migrate_data => true, chunk_time_interval => 32768);
-- +goose Down
DROP TABLE eth.withdrawal_cids;