types

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL