mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 06:26:30 +03:00
add hop info
add hop info creation Save it to the db format and fix clippy replace `and_then` with simple check cargo fmt chage table to get info from
This commit is contained in:
committed by
Sebastian Klähn
parent
5e29cae81a
commit
d185318f46
@@ -475,6 +475,10 @@ paramsv![]
|
||||
// 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)
|
||||
}
|
||||
if dbversion < 79 {
|
||||
info!(context, "[migration] v79");
|
||||
sql.execute_migration("ALTER TABLE msgs ADD COLUMN hop_info TEXT DEFAULT '';", 79)
|
||||
.await?;
|
||||
}
|
||||
if dbversion < 79 {
|
||||
|
||||
Reference in New Issue
Block a user