Add processed_events DB migration for Stripe webhook idempotency #688
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#688
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?
Create a database migration for the processed_events table to prevent duplicate webhook processing.
Create migration file following existing convention (e.g., migrations/YYYYMMDDHHMMSS_create_processed_events.sql):
id SERIAL PRIMARY KEY,
stripe_event_id VARCHAR(255) UNIQUE NOT NULL,
event_type VARCHAR(100) NOT NULL,
processed_at TIMESTAMP DEFAULT NOW()
)
This follows the same pattern as contractpilot issue #580.
Acceptance criteria:
Generated by CEO Planner (priority: 3)