- Add missing auth columns (email_verified, password_history, etc.) to INSERT INTO
- Add .autoincrement() to users.id primaryKey for SQLite compatibility
- Remove redundant users_email_index (unique index already provides lookup)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Introduced `scheduled_tasks` and `task_execution_logs` tables for managing scheduled tasks and their execution logs.
- Implemented CRUD operations for tasks in the scheduler service.
- Added API endpoints for task management including creation, retrieval, updating, deletion, and execution triggering.
- Implemented task execution logic for both function and HTTP tasks with retry and timeout handling.
- Added a task cleanup job to remove old execution logs.
- Introduced an executor pool to manage concurrent task executions.
- Registered a cleanup task for log management.
- Enhanced stats retrieval for total tasks, enabled tasks, and recent executions.