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
|
.await
|
||||||
.caused_by(trc::location!())?;
|
.caused_by(trc::location!())?;
|
||||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||||
|
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
Some(2) => {
|
Some(2) => {
|
||||||
@@ -161,10 +162,12 @@ pub async fn try_migrate(server: &Server) -> trc::Result<()> {
|
|||||||
.await
|
.await
|
||||||
.caused_by(trc::location!())?;
|
.caused_by(trc::location!())?;
|
||||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||||
|
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
Some(3) => {
|
Some(3) => {
|
||||||
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
migrate_v0_13(server).await.caused_by(trc::location!())?;
|
||||||
|
migrate_v0_14(server).await.caused_by(trc::location!())?;
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
Some(4) => {
|
Some(4) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user