diff --git a/rar-common/src/database/versionning.rs b/rar-common/src/database/versionning.rs index f097462..10e047f 100644 --- a/rar-common/src/database/versionning.rs +++ b/rar-common/src/database/versionning.rs @@ -38,6 +38,11 @@ pub(crate) const JSON_MIGRATIONS: &[Migration] = &[Migration { to: || Version::parse("3.0.0-alpha.5").unwrap(), up: |_, _| Ok(()), down: |_, _| Ok(()), +}, Migration { + from: || Version::parse("3.0.0-alpha.5").unwrap(), + to: || Version::parse("3.0.0").unwrap(), + up: |_, _| Ok(()), + down: |_, _| Ok(()), }]; pub(crate) const SETTINGS_MIGRATIONS: &[Migration] = &[Migration { @@ -45,4 +50,10 @@ pub(crate) const SETTINGS_MIGRATIONS: &[Migration] = &[Migration { to: || Version::parse("3.0.0-alpha.5").unwrap(), up: |_, _| Ok(()), down: |_, _| Ok(()), -}]; +}, + Migration { + from: || Version::parse("3.0.0-alpha.5").unwrap(), + to: || Version::parse("3.0.0").unwrap(), + up: |_, _| Ok(()), + down: |_, _| Ok(()), + }];