user_oauths

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19 nextval('okr.user_oauths_id_seq'::regclass)
email varchar 255 null
user_id int8 19 null
users.id fk_user_oauths_usersC
created_at timestamptz 35,6 null
updated_at timestamptz 35,6 null
oauth_provider_type "okr"."oauth_provider_type" 2147483647 'GOOGLE'::okr.oauth_provider_type
tenant_id int8 19 null
tenants.id fk_user_oauths_tenantsC

Indexes

Constraint Name Type Sort Column(s)
user_oauths_pkey Primary key Asc id
idx_user_oauths_on_email_provider Must be unique Asc/Asc email + oauth_provider_type
idx_user_oauths_on_tenant_id Performance Asc tenant_id
idx_user_oauths_on_user_id Performance Asc user_id

Relationships