mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 20:06:30 +03:00
create table to track w30 status updates
This commit is contained in:
@@ -549,6 +549,19 @@ DO UPDATE SET rfc724_mid=excluded.rfc724_mid,
|
|||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
if dbversion < 84 {
|
||||||
|
info!(context, "[migration] v84");
|
||||||
|
sql.execute_migration(
|
||||||
|
r#"CREATE TABLE msgs_status_updates (
|
||||||
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
|
msg_id INTEGER,
|
||||||
|
payload TEXT DEFAULT '',
|
||||||
|
payload_read INTEGER DEFAULT 0);
|
||||||
|
CREATE INDEX msgs_status_updates_index1 ON msgs_status_updates (msg_id);"#,
|
||||||
|
84,
|
||||||
|
)
|
||||||
|
.await?;
|
||||||
|
}
|
||||||
|
|
||||||
Ok((
|
Ok((
|
||||||
recalc_fingerprints,
|
recalc_fingerprints,
|
||||||
|
|||||||
Reference in New Issue
Block a user