#990

Webhooks by Key and Time

Webhook deduplication looks in webhook_events by event_key and reviews events by received_at. Add an index on event_key and received_at to speed up duplicate checks.

Speed this query up with an index
CREATE INDEX ix_webhook_key_time ON webhook_events (event_key, received_at)

Just CREATE/ALTER/DROP — no trailing SELECT needed.

Your query result will appear here