From 46f4cb66125ee34e87e592cc02d38daead3427af Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 19 Nov 2025 10:12:59 +0100 Subject: kbx: A minor update of the fingerprint table. * kbx/backend-sqlite.c (table_definitions) : Add columnt 'flags'. -- Updates-commit: 0cc7759ed5a3890b4e28563a6b5e97f3aa551530 We are anyway updating this table and thus we can also reserve a column for future use. No need for a a new database version after less than 24 hours and no release for the previous change. --- kbx/backend-sqlite.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kbx/backend-sqlite.c') diff --git a/kbx/backend-sqlite.c b/kbx/backend-sqlite.c index 1ac757330..c8b819bc2 100644 --- a/kbx/backend-sqlite.c +++ b/kbx/backend-sqlite.c @@ -143,7 +143,9 @@ static struct * order number for the keys similar to uidno. */ "subkey INTEGER NOT NULL," /* The Unique Blob ID (possibly truncated fingerprint). */ - "ubid BLOB NOT NULL REFERENCES pubkey" + "ubid BLOB NOT NULL REFERENCES pubkey," + /* Various bit flags for future extensions. */ + "flags INTEGER NOT NULL DEFAULT 0" ")", "fpr" }, /* Indices for the fingerprint table. */ -- cgit