Migrate 0.13.x data (fixes #2534)

This commit is contained in:
mdecimus
2025-12-17 14:29:06 +01:00
parent 089b180fb4
commit 7cccd66d16

View File

@@ -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) => {