fix: profile_upsert payload binding

This commit is contained in:
root
2026-10-17 12:05:56 +08:00
parent 7331111379
commit 500d59ba58
4 changed files with 61 additions and 0 deletions
+9
View File
@@ -203,6 +203,15 @@ CREATE TRIGGER IF NOT EXISTS footprint_au AFTER UPDATE OF search_text ON footpri
END;
CREATE INDEX IF NOT EXISTS idx_footprint_start ON footprint(start_date);
CREATE TABLE IF NOT EXISTS profile (
id INTEGER PRIMARY KEY AUTOINCREMENT,
uuid TEXT,
content TEXT NOT NULL DEFAULT '{}',
deleted_at TEXT,
origin TEXT,
hlc TEXT
);
CREATE INDEX IF NOT EXISTS idx_footprint_type ON footprint(type_id);
CREATE INDEX IF NOT EXISTS idx_footprint_group ON footprint(group_id);
CREATE INDEX IF NOT EXISTS idx_footprint_hlc ON footprint(hlc);