Tasks Dashboard: - Add clickable Pool Open/Paused toggle button in header - Add sortable columns (ID, Role, Store, Status, Worker, Duration, Created) - Show menu_type and pool badges under Store column - Add Pool column to Schedules table - Filter stores by platform in Create Task modal Workers Dashboard: - Redesign pod visualization to show 3 worker slots per pod - Each slot shows preflight checklist (Overload? Terminating? Pool Query?) - Once qualified, shows City/State, Proxy IP, Antidetect status - Hover shows full fingerprint data (browser, platform, bot detection) Backend: - Add menu_type to listTasks query - Add pool_id/pool_name to schedules query with task_pools JOIN - Migration 114: Add pool_id column to task_schedules table 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 lines
464 B
SQL
11 lines
464 B
SQL
-- Migration 114: Add pool_id to task_schedules
|
|
-- Allows schedules to target specific geo pools
|
|
|
|
ALTER TABLE task_schedules
|
|
ADD COLUMN IF NOT EXISTS pool_id INTEGER REFERENCES task_pools(id);
|
|
|
|
-- Index for pool-based schedule queries
|
|
CREATE INDEX IF NOT EXISTS idx_task_schedules_pool ON task_schedules(pool_id) WHERE pool_id IS NOT NULL;
|
|
|
|
COMMENT ON COLUMN task_schedules.pool_id IS 'Optional geo pool filter. NULL = all pools/dispensaries matching state_code';
|