Files
galaxy-game/backend/internal/postgres/jet/backend/table/table_use_schema.go
T
Ilia Denisov 535e27008f
Tests · Go / test (push) Successful in 1m44s
Tests · Integration / integration (pull_request) Successful in 1m44s
Tests · Go / test (pull_request) Successful in 2m45s
diplomail (Stage A): add in-game personal mail subsystem
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>
2026-05-15 18:28:55 +02:00

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)
}