Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LegacyUser ¶
type LegacyUser struct {
ID string `gorm:"column:id"`
PlatformRoleID schema.UserRoleID `gorm:"column:platform_role_id"`
UserGroups datatypes.JSONType[map[schema.UserGroupID]struct{}] `gorm:"column:user_groups"`
AuthType schema.AuthType `gorm:"column:auth_type"`
ExternalIdentityProviderID string `gorm:"column:external_identity_provider_id"`
Password string `gorm:"column:password"`
AccountDisabled bool `gorm:"column:account_disabled"`
IsMFAEnabled bool `gorm:"column:is_mfa_enabled"`
TOTPSecret string `gorm:"column:totp_secret"`
}
LegacyUser holds the columns that existed on users_v1 before membership tables were introduced. Used only during the v1.7.0 migration to seed tenant_memberships_v1.
func (LegacyUser) TableName ¶
func (LegacyUser) TableName() string
Click to show internal directories.
Click to hide internal directories.