core: groundwork for post-quantum encryption support (#3845)

This commit is contained in:
spaced4ndy
2024-03-03 17:51:42 +04:00
committed by GitHub
parent db2ccaa450
commit 2155060ad0
16 changed files with 333 additions and 68 deletions
@@ -277,6 +277,7 @@ CREATE TABLE connections(
peer_chat_max_version INTEGER NOT NULL DEFAULT 1,
to_subscribe INTEGER DEFAULT 0 NOT NULL,
contact_conn_initiated INTEGER NOT NULL DEFAULT 0,
pq_enabled INTEGER,
FOREIGN KEY(snd_file_id, connection_id)
REFERENCES snd_files(file_id, connection_id)
ON DELETE CASCADE