#1128

Remove duplicate webhooks

The webhook_events table has duplicates by the same event key event_key. Remove the duplicates, keeping only the earliest record per key — the one with the smallest id.

Solo INSERT/UPDATE/DELETE — no hace falta un SELECT al final.

Aquí aparecerá el resultado de tu consulta