fix: authifier should not use transactions for migrations

This commit is contained in:
izzy
2025-05-14 11:40:07 +01:00
parent 5362e84730
commit 4f13f5899b
6 changed files with 11 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ struct MigrationInfo {
revision: i32,
}
pub const LATEST_REVISION: i32 = 32;
pub const LATEST_REVISION: i32 = 33; // MUST BE +1 to last migration
pub async fn migrate_database(db: &MongoDb) {
let migrations = db.col::<Document>("migrations");