OpenCHAMI / bss

MIT License
1 stars 2 forks source link

bss-init fix default migration version #15

Closed synackd closed 8 months ago

synackd commented 8 months ago

Short Description

If the database was already at the current version, bss-init would fail (despite manipulating any data) because the default migration version, if not passed, was 0. It would then try to downgrade to version 0, for which there is no migration. This PR changes the default to be the value of SCHEMA_STEPS, which corresponds to the number of migration steps.

Changes

synackd commented 8 months ago

LGTM