CREATE INDEX IF NOT EXISTS feedback_task_outgoing_closed_source_id_idx
    ON social.feedback_task_outgoing_closed
    USING btree (source, id);

CREATE INDEX IF NOT EXISTS feedback_task_outgoing_opened_source_id_idx
    ON social.feedback_task_outgoing_opened
    USING btree (source, id);

CREATE INDEX IF NOT EXISTS feedback_task_pending_source_id_idx
    ON social.feedback_task_pending
    USING btree (source, id);

DROP INDEX IF EXISTS social.feedback_task_outgoing_closed_source_idx;
DROP INDEX IF EXISTS social.feedback_task_outgoing_opened_source_idx;
DROP INDEX IF EXISTS social.feedback_task_pending_source_idx;
