From 13846ea4ce4bacfadda6f86c5e48e5e76e13db07 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 9 Mar 2026 01:17:05 +0000 Subject: feat: delete templates feature and allow requeueing BUDGET_EXCEEDED tasks Removed all template-related code from frontend (tabs, modals, logic) and backend (routes, files, DB table). Updated BUDGET_EXCEEDED tasks to be requeueable with a Restart button. Fixed ReferenceError in isUserEditing for Node.js tests. --- internal/storage/db.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'internal/storage/db.go') diff --git a/internal/storage/db.go b/internal/storage/db.go index 0a4f7a5..fb754f5 100644 --- a/internal/storage/db.go +++ b/internal/storage/db.go @@ -68,18 +68,6 @@ func (s *DB) migrate() error { CREATE INDEX IF NOT EXISTS idx_tasks_state ON tasks(state); CREATE INDEX IF NOT EXISTS idx_executions_status ON executions(status); CREATE INDEX IF NOT EXISTS idx_executions_task_id ON executions(task_id); - - CREATE TABLE IF NOT EXISTS templates ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL, - description TEXT, - config_json TEXT NOT NULL DEFAULT '{}', - timeout TEXT, - priority TEXT NOT NULL DEFAULT 'normal', - tags_json TEXT NOT NULL DEFAULT '[]', - created_at DATETIME NOT NULL, - updated_at DATETIME NOT NULL - ); ` if _, err := s.db.Exec(schema); err != nil { return err -- cgit v1.2.3