Fixed invalid schema constraint

This commit is contained in:
Mark Qvist 2026-10-31 12:12:58 +01:00
parent 1ee89ad8d6
commit eab2983b95
No known key found for this signature in database

View file

@ -248,7 +248,7 @@ class KnownDestinationsStore:
self._conn.execute("""CREATE TABLE IF NOT EXISTS known_destinations (
destination_hash BLOB PRIMARY KEY,
last_heard REAL NOT NULL,
packet_hash BLOB NOT NULL,
packet_hash BLOB,
public_key BLOB NOT NULL,
app_data BLOB,
used REAL NOT NULL DEFAULT 0,