add tests

This commit is contained in:
Septias
2021-07-29 17:26:32 +02:00
parent 48a3643927
commit d8b8a3839c
3 changed files with 69 additions and 8 deletions

View File

@@ -472,7 +472,8 @@ paramsv![]
// move requests to "Archived Chats",
// this way, the app looks familiar after the contact request upgrade.
info!(context, "[migration] v78");
sql.execute_migration("UPDATE chats SET archived=1 WHERE blocked=2;", 78).await?;
sql.execute_migration("UPDATE chats SET archived=1 WHERE blocked=2;", 78)
.await?;
}
if dbversion < 79 {
info!(context, "[migration] v79");