710ab06333
Additive/expand-contract: new append-only retained_identities table (the legal dossier of every detached credential, keyed by account_id, TTL'd by detached_at) plus nullable accounts columns last_login_at/last_login_ip (cold-load stamp) and deleted_at/deleted_display_name (tombstone + retained real name). Regenerates the go-jet models for accounts + retained_identities only.
41 lines
1.6 KiB
Go
41 lines
1.6 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) {
|
|
AccountRoles = AccountRoles.FromSchema(schema)
|
|
AccountStats = AccountStats.FromSchema(schema)
|
|
AccountSuspensions = AccountSuspensions.FromSchema(schema)
|
|
Accounts = Accounts.FromSchema(schema)
|
|
AdCampaigns = AdCampaigns.FromSchema(schema)
|
|
AdMessages = AdMessages.FromSchema(schema)
|
|
AdSettings = AdSettings.FromSchema(schema)
|
|
Blocks = Blocks.FromSchema(schema)
|
|
ChatMessages = ChatMessages.FromSchema(schema)
|
|
Complaints = Complaints.FromSchema(schema)
|
|
DictionaryState = DictionaryState.FromSchema(schema)
|
|
EmailConfirmations = EmailConfirmations.FromSchema(schema)
|
|
FeedbackMessages = FeedbackMessages.FromSchema(schema)
|
|
FriendCodes = FriendCodes.FromSchema(schema)
|
|
Friendships = Friendships.FromSchema(schema)
|
|
GameDrafts = GameDrafts.FromSchema(schema)
|
|
GameHidden = GameHidden.FromSchema(schema)
|
|
GameInvitationInvitees = GameInvitationInvitees.FromSchema(schema)
|
|
GameInvitations = GameInvitations.FromSchema(schema)
|
|
GameMoves = GameMoves.FromSchema(schema)
|
|
GamePlayers = GamePlayers.FromSchema(schema)
|
|
GameSetupDraws = GameSetupDraws.FromSchema(schema)
|
|
Games = Games.FromSchema(schema)
|
|
Identities = Identities.FromSchema(schema)
|
|
RetainedIdentities = RetainedIdentities.FromSchema(schema)
|
|
Sessions = Sessions.FromSchema(schema)
|
|
SuspensionReasons = SuspensionReasons.FromSchema(schema)
|
|
}
|