File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
client/indexer-db/migrations/2025-11-27-182418_add_tx_hash_and_block_hash_to_file Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 88-- block_hash: Tracks the block hash where the file was created:
99-- - Contains the block hash (32 bytes) where the NewStorageRequest event was emitted
1010-- - For existing files, we use a placeholder hash (all zeros) since we don't have historical data
11- ALTER TABLE file ADD COLUMN tx_hash BYTEA DEFAULT NULL ;
1211ALTER TABLE file ADD COLUMN block_hash BYTEA NOT NULL DEFAULT ' \x 0000000000000000000000000000000000000000000000000000000000000000' ;
12+ ALTER TABLE file ADD COLUMN tx_hash BYTEA DEFAULT NULL ;
1313
1414-- Note: Existing files get a placeholder block_hash (all zeros) since we don't have historical data
1515-- Only new files created after this migration will have the actual block_hash populated by the indexer
You can’t perform that action at this time.
0 commit comments