feat: add autostart toggle setting

This commit is contained in:
PandaDEV 2025-01-02 18:41:28 +10:00
parent 6d7874c1ae
commit 3bfd72b638
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
7 changed files with 11 additions and 16 deletions

View file

@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS settings (
key TEXT PRIMARY KEY,
value TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS history (
id TEXT PRIMARY KEY DEFAULT (lower(hex(randomblob(16)))),
content_type TEXT NOT NULL,
content TEXT NOT NULL,
favicon TEXT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
);