@precisionutilityguild/liquid-shadow 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ -- Search history cache for recent queries (per-repo DB)
2
+
3
+ CREATE TABLE IF NOT EXISTS search_history (
4
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
5
+ query TEXT NOT NULL,
6
+ mode TEXT NOT NULL,
7
+ branch TEXT,
8
+ created_at REAL DEFAULT (unixepoch())
9
+ );
10
+
11
+ CREATE INDEX IF NOT EXISTS idx_search_history_created_at ON search_history(created_at DESC);
12
+ CREATE INDEX IF NOT EXISTS idx_search_history_mode ON search_history(mode);
13
+
14
+ -- DOWN
15
+ DROP INDEX IF EXISTS idx_search_history_mode;
16
+ DROP INDEX IF EXISTS idx_search_history_created_at;
17
+ DROP TABLE IF EXISTS search_history;
@@ -0,0 +1,14 @@
1
+ -- Hologram snapshot storage for persistent architectural intelligence
2
+ -- Stores key-value pairs representing different sections of the Project Hologram
3
+
4
+ CREATE TABLE IF NOT EXISTS hologram_snapshot (
5
+ section TEXT PRIMARY KEY,
6
+ data TEXT NOT NULL,
7
+ updated_at REAL DEFAULT (unixepoch())
8
+ );
9
+
10
+ CREATE INDEX IF NOT EXISTS idx_hologram_snapshot_updated_at ON hologram_snapshot(updated_at DESC);
11
+
12
+ -- DOWN
13
+ DROP INDEX IF EXISTS idx_hologram_snapshot_updated_at;
14
+ DROP TABLE IF EXISTS hologram_snapshot;