ad_user_roles

18 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_user_id numeric 10 null
ad_user.ad_user_id aduser_userroles C
ad_role_id numeric 10 null
ad_role.ad_role_id adrole_aduserroles C
ad_client_id numeric 10 null
ad_client.ad_client_id ad_userrolesclient R
ad_org_id numeric 10 null
ad_org.ad_org_id ad_userrolesorg R
isactive bpchar 1 'Y'::bpchar
created timestamp 29,6 now()
createdby numeric 10 null
updated timestamp 29,6 now()
updatedby numeric 10 null
ad_user_roles_uu varchar 36 NULL::character varying

Indexes

Constraint Name Type Sort Column(s)
ad_user_roles_pkey Primary key Asc/Asc ad_user_id + ad_role_id
ad_user_roles_ad_role_id Performance Asc/Asc/Asc/Asc/Asc ad_role_id + ad_client_id + ad_org_id + isactive + ad_user_id
ad_user_roles_uu_idx Must be unique Asc ad_user_roles_uu

Check Constraints

Constraint Name Constraint
ad_user_roles_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships