Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migration: Write new data directory version if all migrations succeed #2946

Conversation

alvasw
Copy link
Contributor

@alvasw alvasw commented Oct 22, 2024

Migrations are applied if the app version number is higher than the data directory version number. Currently, the only existing migration writes the new version number to the data directory after applying its migration. Moving the data directory version write to the Migrator makes the code future-proof when we have multiple migrations.

Migrations are applied if the app version number is higher than the data
directory version number. Currently, the only existing migration writes
the new version number to the data directory after applying its
migration. Moving the data directory version write to the Migrator makes
the code future-proof when we have multiple migrations.
@HenrikJannsen HenrikJannsen merged commit ea2fbd8 into bisq-network:main Oct 23, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants