Files
ScheduleTaskManager/server/drizzle/0001_amazing_greymalkin.sql
T
bobban 5269499520 Add manual scheduled task entry
Lets users log tasks the Linux agent can't discover on its own (e.g.
Docker-based backup jobs) directly in the UI. Tasks now carry an
origin ('agent' | 'manual') so the agent's report-sync logic only
ever creates/updates/stale-marks agent-sourced rows, leaving manual
entries untouched; the API rejects edits/deletes of agent-sourced
tasks to keep that boundary enforced server-side too.
2026-07-10 00:12:34 +02:00

1 line
73 B
SQL

ALTER TABLE `scheduled_tasks` ADD `origin` text DEFAULT 'agent' NOT NULL;