#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)

Solo CREATE/ALTER/DROP — no hace falta un SELECT al final.

Aquí aparecerá el resultado de tu consulta