mirror of
https://github.com/warmbly/warmbly.git
synced 2026-11-29 08:06:27 +00:00
7 lines
347 B
SQL
7 lines
347 B
SQL
-- Supports the deliverability dashboard's per-mailbox breakdown, which joins
|
|
-- deliverability_events to tasks on task_id. Partial (task_id IS NOT NULL) keeps
|
|
-- it small since open/click/some events carry no task_id.
|
|
CREATE INDEX IF NOT EXISTS idx_deliverability_events_task
|
|
ON deliverability_events (task_id)
|
|
WHERE task_id IS NOT NULL;
|