Skip to content

Add indexes to sortable columns and fix Mailgun UUID array handling - #77

Merged
markvaneijk merged 1 commit into
mainfrom
fix/add-indexes-and-mailgun-uuid-array
Mar 24, 2026
Merged

Add indexes to sortable columns and fix Mailgun UUID array handling#77
markvaneijk merged 1 commit into
mainfrom
fix/add-indexes-and-mailgun-uuid-array

Conversation

@markvaneijk

Copy link
Copy Markdown
Contributor

Summary

  • Add database indexes on created_at and sent_at (mails table) and occurred_at and type (events table) for improved query performance on sortable columns
  • Fix MailgunDriver::getUuidFromPayload() to handle cases where the UUID user-variable is returned as an array instead of a string

Test plan

  • Verify migration runs successfully and indexes are created
  • Verify Mailgun webhook payloads with array-typed user-variables are handled correctly

🤖 Generated with Claude Code

Add database indexes on mails.created_at, mails.sent_at, events.occurred_at, and events.type for improved query performance. Fix MailgunDriver to handle cases where the UUID user-variable is returned as an array.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@markvaneijk
markvaneijk merged commit 58dd856 into main Mar 24, 2026
4 checks passed
@markvaneijk
markvaneijk deleted the fix/add-indexes-and-mailgun-uuid-array branch March 24, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant