Remove msgs.unlinked column

It is not used anymore.

Database version 64 migration introducing this column is also removed.
This commit is contained in:
Alexander Krotov
2020-03-08 06:11:37 +03:00
parent 62097765a6
commit ad53678c19
2 changed files with 3 additions and 11 deletions

View File

@@ -898,14 +898,6 @@ fn open(
sql.execute("UPDATE chats SET grpid='' WHERE type=100", NO_PARAMS)?;
sql.set_raw_config_int(context, "dbversion", 63)?;
}
if dbversion < 64 {
info!(context, "[migration] v64");
sql.execute(
"ALTER TABLE msgs ADD COLUMN unlinked INTEGER DEFAULT 0",
NO_PARAMS,
)?;
sql.set_raw_config_int(context, "dbversion", 64)?;
}
// (2) updates that require high-level objects
// (the structure is complete now and all objects are usable)