mirror of
https://github.com/stalwartlabs/stalwart.git
synced 2026-03-17 14:34:03 +00:00
Migrate 0.13.x data (fixes #2534)
This commit is contained in:
@@ -154,6 +154,7 @@ pub async fn try_migrate(server: &Server) -> trc::Result<()> {
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||
true
|
||||
}
|
||||
Some(2) => {
|
||||
@@ -161,10 +162,12 @@ pub async fn try_migrate(server: &Server) -> trc::Result<()> {
|
||||
.await
|
||||
.caused_by(trc::location!())?;
|
||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||
true
|
||||
}
|
||||
Some(3) => {
|
||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||
false
|
||||
}
|
||||
Some(4) => {
|
||||
|
||||
Reference in New Issue
Block a user