Files
multica/server/migrations/248_agent_task_trigger_comment_index.up.sql
2026-07-31 16:23:24 +08:00

4 lines
166 B
SQL

CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_agent_task_queue_trigger_comment_id
ON agent_task_queue(trigger_comment_id)
WHERE trigger_comment_id IS NOT NULL;