mirror of
https://github.com/warmbly/warmbly.git
synced 2026-11-30 00:06:09 +00:00
5 lines
183 B
SQL
5 lines
183 B
SQL
-- Keep the tracked-send join fast without locking email_tasks writes.
|
|
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_email_tasks_tracked
|
|
ON email_tasks (task_id)
|
|
WHERE tracked;
|