Verify processed_events migration has unique constraint on event_id #1424
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review the processed_events database migration from PR #692. Verify it includes a UNIQUE constraint or unique index on the event_id column. If missing, create a new migration file: CREATE UNIQUE INDEX IF NOT EXISTS idx_processed_events_event_id ON processed_events(event_id). Without this constraint, duplicate Stripe webhook events could be processed multiple times, leading to duplicate subscription records and billing errors. Report findings even if no migration is needed.
Generated by CEO Planner (priority: 3)