feat(mail-ingest): tables for forwarded booking mails and their bookings

Five tables carry the mail import: forwarding addresses (token hash plus the
encrypted token), a person's switches, the readers' cursor and lease, every
mail as it arrived, and each booking read from it with its checks and fate.
Repositories read the trips a booking may go to by column, so the import
weighs a booking without reaching into five other domains.
This commit is contained in:
Maurice
2026-11-13 15:30:07 +01:00
parent 53ebc9d632
commit baa906fb6b
29 changed files with 2118 additions and 4 deletions
+5
View File
@@ -59,6 +59,11 @@
"JourneyShareTokens": "journey",
"JourneyTrips": "journey",
"Journeys": "journey",
"MailIngestAddresses": "mail-ingest",
"MailIngestCandidates": "mail-ingest",
"MailIngestCursor": "mail-ingest",
"MailIngestMessages": "mail-ingest",
"MailIngestPrefs": "mail-ingest",
"McpTokens": "tokens",
"NotificationChannelPreferences": "notifications",
"Notifications": "notifications",