Delete old avatar; fix database migration.

This commit is contained in:
Paul
2021-05-01 17:12:51 +01:00
parent f135a57a9b
commit 59b18fd376
4 changed files with 27 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ struct MigrationInfo {
revision: i32,
}
pub const LATEST_REVISION: i32 = 1;
pub const LATEST_REVISION: i32 = 2;
pub async fn migrate_database() {
let migrations = get_collection("migrations");