Skip to content

Commit

Permalink
chore: Update database versioning for 3.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Sep 9, 2024
1 parent e980c06 commit 17ac515
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion rar-common/src/database/versionning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,22 @@ pub(crate) const JSON_MIGRATIONS: &[Migration<SConfig>] = &[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<SettingsFile>] = &[Migration {
from: || Version::parse("3.0.0-alpha.4").unwrap(),
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(()),
}];

0 comments on commit 17ac515

Please sign in to comment.