fix and adjust main dashboard ai insight

This commit is contained in:
Alberto-Audrix committed 2026-09-17 14:27:08 +07:00
1 parent 18790ab8f6
commit 68e0d1a0bb
27 files changed
+360 -107

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 KiB

After

Width:  |  Height:  |  Size: 336 KiB

-1
View File
@@ -196,7 +196,6 @@ CREATE TABLE IF NOT EXISTS ai_insight (
topic VARCHAR(64) NOT NULL DEFAULT '',
report_type VARCHAR(32) NOT NULL DEFAULT 'page',
report_period VARCHAR(64) NOT NULL DEFAULT 'current',
source VARCHAR(32) NOT NULL DEFAULT 'generated', -- generated | cache | local_fallback
summary TEXT NOT NULL DEFAULT '',
citations TEXT NOT NULL DEFAULT '[]', -- JSON array string of RAG citations
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,