Skip to content

public.users

Description

Labels

svc-portal

Columns

NameTypeDefaultNullableChildrenParentsComment
user_idvarchar(36)falsepublic.app_releases
emailvarchar(255)false
password_hashvarchar(255)false
is_activebooleanfalse
full_namevarchar(255)false
phone_numbervarchar(20)true
rolevarchar(50)false
psp_idintegertrue
merchant_idintegertrue
store_idintegertrue
mfa_enabledbooleanfalse
mfa_methodvarchar(50)false
totp_secretvarchar(32)true
created_attimestamp with time zonefalse
updated_attimestamp with time zonefalse
last_login_attimestamp with time zonetrue
password_changed_attimestamp with time zonetrue
failed_login_attemptsintegerfalse
locked_untiltimestamp with time zonetrue

Viewpoints

NameDefinition
Authentication & SessionsUser authentication, MFA, sessions, and audit logs

Constraints

NameTypeDefinition
users_pkeyPRIMARY KEYPRIMARY KEY (user_id)

Indexes

NameDefinition
users_pkeyCREATE UNIQUE INDEX users_pkey ON public.users USING btree (user_id)
ix_users_emailCREATE UNIQUE INDEX ix_users_email ON public.users USING btree (email)
ix_users_merchant_idCREATE INDEX ix_users_merchant_id ON public.users USING btree (merchant_id)
ix_users_psp_idCREATE INDEX ix_users_psp_id ON public.users USING btree (psp_id)
ix_users_store_idCREATE INDEX ix_users_store_id ON public.users USING btree (store_id)

Relations


Generated by tbls

MPAC — MP-Solution Advanced Cloud Service