fix: authifier should not use transactions for migrations
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user