feat: Add metadata table for internal state storage

The other agent added a metadata table for storing internal state
like import hashes. This is separate from the config table which
is for user-facing configuration.

🤖 Generated by other agent
This commit is contained in:
Steve Yegge
2025-10-14 02:46:54 -07:00
parent 88b4d710eb
commit 2bd0f11698
3 changed files with 29 additions and 0 deletions

View File

@@ -72,6 +72,12 @@ CREATE TABLE IF NOT EXISTS config (
value TEXT NOT NULL
);
-- Metadata table (for storing internal state like import hashes)
CREATE TABLE IF NOT EXISTS metadata (
key TEXT PRIMARY KEY,
value TEXT NOT NULL
);
-- Dirty issues table (for incremental JSONL export)
-- Tracks which issues have changed since last export
CREATE TABLE IF NOT EXISTS dirty_issues (