feat: aggiunta ricerca spudorata. progress: ripreso con il tentativo di invio delle mail che non creino nuovi ticket

This commit is contained in:
VVER440 committed 2026-08-25 23:24:48 +02:00
1 parent 3650bf5790
commit 8d24759a15
18 files changed
+1661 -98

No files matched your search

+17
View File
@@ -106,6 +106,17 @@ db.exec(`
)
`);
db.exec(`
CREATE TABLE IF NOT EXISTS env_history (
id INTEGER PRIMARY KEY AUTOINCREMENT,
agent_id INTEGER NOT NULL DEFAULT 1,
agent_name TEXT NOT NULL DEFAULT '',
content TEXT NOT NULL,
note TEXT NOT NULL DEFAULT '',
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ', 'now'))
)
`);
try {
db.exec(`ALTER TABLE dashboard_chart_lines ADD COLUMN color TEXT`);
} catch (e) {
@@ -154,6 +165,12 @@ try {
// Column already exists
}
try {
db.exec(`ALTER TABLE agent_settings ADD COLUMN use_agent_sender INTEGER NOT NULL DEFAULT 0`);
} catch (e) {
// Column already exists
}
/**
* Generate a UUID v7 (time-ordered).
*/