Make format and value nullable and improve maintenance and purge queries

This commit is contained in:
Daniel
2025-02-28 10:21:59 +01:00
parent b68646c689
commit c04213219b
6 changed files with 155 additions and 59 deletions

View File

@@ -3,8 +3,8 @@
CREATE TABLE records (
key TEXT PRIMARY KEY,
format SMALLINT NOT NULL,
value BLOB NOT NULL,
format SMALLINT,
value BLOB,
created BIGINT NOT NULL,
modified BIGINT NOT NULL,