Role Sortorder Table Schema (role_sortorder)


Description

sort order of course managers in a course

role_sortorder table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
userid BIGINT 19 null
user.id rolesort_use2_fk R
roleid BIGINT 19 null
role.id rolesort_rol2_fk R
contextid BIGINT 19 null
context.id rolesort_con2_fk R
sortoder BIGINT 19 null

Table contained -1 rows

role_sortorder table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
rolesort_con_ix Performance Asc contextid
rolesort_rol_ix Performance Asc roleid
rolesort_use_ix Performance Asc userid
rolesort_userolcon_uix Must be unique Asc/Asc/Asc userid + roleid + contextid

role_sortorder table relationships