fuels-wallet icon indicating copy to clipboard operation
fuels-wallet copied to clipboard

Upgrading database script can be skipped if the user lose a version

Open LuizAsFight opened this issue 8 months ago • 0 comments

Context

The user can lose an upgrade in this scenario.

1- User has the wallet 0.20.0 2- the wallet 0.21.0 changes the db version and introduces an upgrade script 3- the user is offline for some time and lose this release 4- the wallet 0.22.0 is released and introduces a new db version / upgrade script 5- the user gets back online and his wallet will be upgraded to 0.22.0, resulting on the script of step 3 to be not executed

LuizAsFight avatar Jun 06 '24 22:06 LuizAsFight