auth.users

#NameTypeNullableDefaultPK
1instance_iduuidYES
2iduuidNOPK
3audcharacter varyingYES
4rolecharacter varyingYES
5emailcharacter varyingYES
6encrypted_passwordcharacter varyingYES
7email_confirmed_attimestamp with time zoneYES
8invited_attimestamp with time zoneYES
9confirmation_tokencharacter varyingYES
10confirmation_sent_attimestamp with time zoneYES
11recovery_tokencharacter varyingYES
12recovery_sent_attimestamp with time zoneYES
13email_change_token_newcharacter varyingYES
14email_changecharacter varyingYES
15email_change_sent_attimestamp with time zoneYES
16last_sign_in_attimestamp with time zoneYES
17raw_app_meta_datajsonbYES
18raw_user_meta_datajsonbYES
19is_super_adminbooleanYES
20created_attimestamp with time zoneYES
21updated_attimestamp with time zoneYES
22phonetextYESNULL::character varying
23phone_confirmed_attimestamp with time zoneYES
24phone_changetextYES''::character varying
25phone_change_tokencharacter varyingYES''::character varying
26phone_change_sent_attimestamp with time zoneYES
27confirmed_attimestamp with time zoneYES
28email_change_token_currentcharacter varyingYES''::character varying
29email_change_confirm_statussmallintYES0
30banned_untiltimestamp with time zoneYES
31reauthentication_tokencharacter varyingYES''::character varying
32reauthentication_sent_attimestamp with time zoneYES
33is_sso_userbooleanNOfalse
34deleted_attimestamp with time zoneYES
35is_anonymousbooleanNOfalse

Indexes

NameDefinitionUniquePrimarySize
confirmation_token_idxCREATE UNIQUE INDEX confirmation_token_idx ON auth.users USING btree (confirmation_token) WHERE ((confirmation_token)::text !~ '^[0-9 ]*$'::text)8192 bytes
email_change_token_current_idxCREATE UNIQUE INDEX email_change_token_current_idx ON auth.users USING btree (email_change_token_current) WHERE ((email_change_token_current)::text !~ '^[0-9 ]*$'::text)8192 bytes
email_change_token_new_idxCREATE UNIQUE INDEX email_change_token_new_idx ON auth.users USING btree (email_change_token_new) WHERE ((email_change_token_new)::text !~ '^[0-9 ]*$'::text)8192 bytes
reauthentication_token_idxCREATE UNIQUE INDEX reauthentication_token_idx ON auth.users USING btree (reauthentication_token) WHERE ((reauthentication_token)::text !~ '^[0-9 ]*$'::text)8192 bytes
recovery_token_idxCREATE UNIQUE INDEX recovery_token_idx ON auth.users USING btree (recovery_token) WHERE ((recovery_token)::text !~ '^[0-9 ]*$'::text)8192 bytes
users_email_partial_keyCREATE UNIQUE INDEX users_email_partial_key ON auth.users USING btree (email) WHERE (is_sso_user = false)8192 bytes
users_instance_id_email_idxCREATE INDEX users_instance_id_email_idx ON auth.users USING btree (instance_id, lower((email)::text))8192 bytes
users_instance_id_idxCREATE INDEX users_instance_id_idx ON auth.users USING btree (instance_id)8192 bytes
users_is_anonymous_idxCREATE INDEX users_is_anonymous_idx ON auth.users USING btree (is_anonymous)8192 bytes
users_phone_keyCREATE UNIQUE INDEX users_phone_key ON auth.users USING btree (phone)8192 bytes
users_pkeyCREATE UNIQUE INDEX users_pkey ON auth.users USING btree (id)8192 bytes

Constraints

NameTypeDefinition
users_email_change_confirm_status_checkCHECKCHECK (((email_change_confirm_status >= 0) AND (email_change_confirm_status <= 2)))
users_pkeyPRIMARY KEYPRIMARY KEY (id)
users_phone_keyUNIQUEUNIQUE (phone)