535e27008f
Phase 28 of ui/PLAN.md needs a persistent player-to-player mail channel; the existing `mail` package is a transactional email outbox and the `notification` catalog is one-way platform events. Stage A lands the schema (diplomail_messages / _recipients / _translations), a single-recipient personal send/read/delete service path, a `diplomail.message.received` push kind plumbed through the notification pipeline, and an unread-counts endpoint that drives the lobby badge. Admin / system mail, lifecycle hooks, paid-tier broadcast, multi-game broadcast, bulk purge and language detection / translation cache come in stages B–D. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
49 lines
2.2 KiB
Go
49 lines
2.2 KiB
Go
//
|
|
// Code generated by go-jet DO NOT EDIT.
|
|
//
|
|
// WARNING: Changes to this file may cause incorrect behavior
|
|
// and will be lost if the code is regenerated
|
|
//
|
|
|
|
package table
|
|
|
|
// UseSchema sets a new schema name for all generated table SQL builder types. It is recommended to invoke
|
|
// this method only once at the beginning of the program.
|
|
func UseSchema(schema string) {
|
|
Accounts = Accounts.FromSchema(schema)
|
|
AdminAccounts = AdminAccounts.FromSchema(schema)
|
|
Applications = Applications.FromSchema(schema)
|
|
AuthChallenges = AuthChallenges.FromSchema(schema)
|
|
BlockedEmails = BlockedEmails.FromSchema(schema)
|
|
DeviceSessions = DeviceSessions.FromSchema(schema)
|
|
DiplomailMessages = DiplomailMessages.FromSchema(schema)
|
|
DiplomailRecipients = DiplomailRecipients.FromSchema(schema)
|
|
DiplomailTranslations = DiplomailTranslations.FromSchema(schema)
|
|
EngineVersions = EngineVersions.FromSchema(schema)
|
|
EntitlementRecords = EntitlementRecords.FromSchema(schema)
|
|
EntitlementSnapshots = EntitlementSnapshots.FromSchema(schema)
|
|
Games = Games.FromSchema(schema)
|
|
Invites = Invites.FromSchema(schema)
|
|
LimitActive = LimitActive.FromSchema(schema)
|
|
LimitRecords = LimitRecords.FromSchema(schema)
|
|
MailAttempts = MailAttempts.FromSchema(schema)
|
|
MailDeadLetters = MailDeadLetters.FromSchema(schema)
|
|
MailDeliveries = MailDeliveries.FromSchema(schema)
|
|
MailPayloads = MailPayloads.FromSchema(schema)
|
|
MailRecipients = MailRecipients.FromSchema(schema)
|
|
Memberships = Memberships.FromSchema(schema)
|
|
NotificationDeadLetters = NotificationDeadLetters.FromSchema(schema)
|
|
NotificationMalformedIntents = NotificationMalformedIntents.FromSchema(schema)
|
|
NotificationRoutes = NotificationRoutes.FromSchema(schema)
|
|
Notifications = Notifications.FromSchema(schema)
|
|
PlayerMappings = PlayerMappings.FromSchema(schema)
|
|
RaceNames = RaceNames.FromSchema(schema)
|
|
RuntimeHealthSnapshots = RuntimeHealthSnapshots.FromSchema(schema)
|
|
RuntimeOperationLog = RuntimeOperationLog.FromSchema(schema)
|
|
RuntimeRecords = RuntimeRecords.FromSchema(schema)
|
|
SanctionActive = SanctionActive.FromSchema(schema)
|
|
SanctionRecords = SanctionRecords.FromSchema(schema)
|
|
SessionRevocations = SessionRevocations.FromSchema(schema)
|
|
UserCountryCounters = UserCountryCounters.FromSchema(schema)
|
|
}
|