mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
82185b54b5
`getLogs` for multiple accounts simultaneously. For now only used for new transfers detection. Detection of `new` transfers has been changed, now they are searched from head and forward. Previously they were searched from last scanned block forward.
10 lines
469 B
SQL
10 lines
469 B
SQL
-- Add columns
|
|
ALTER TABLE blocks_ranges_sequential ADD COLUMN token_blk_start BIGINT DEFAULT 0;
|
|
ALTER TABLE blocks_ranges_sequential ADD COLUMN token_blk_first BIGINT DEFAULT 0;
|
|
ALTER TABLE blocks_ranges_sequential ADD COLUMN token_blk_last BIGINT DEFAULT 0;
|
|
|
|
-- Copy values
|
|
UPDATE blocks_ranges_sequential SET token_blk_start = blk_start;
|
|
UPDATE blocks_ranges_sequential SET token_blk_first = blk_first;
|
|
UPDATE blocks_ranges_sequential SET token_blk_last = blk_last;
|