Open Cmdv opened 1 week ago
One possible way to implement this is to follow steps
tx_out_use_address
with the same schema as tx_out
with enabled use_address_table
tx_out
table. For each page, extract the address related fields and insert them into the address
table and use the returned address.id
to create a use_address_table
page.tx_out
table and rename tx_out_use_address
to tx_out
It's not trivial at all and the migration will still take some time.
Wouldnt this anyways touch each and every tx_out entry, making timeline similar (as in maybe 50-60%) to synching from scratch
yeah I've mad a quick attempt but I think you are right that it might be just as quick to sync from scratch. What do you think @kderme ?
It was asked on our discord
The current answer is yes but we could provide some form of migration if the database is already populated.
Investigate if this is possible to do as part of the schema variation when using
use_address_table
config