Rating Table Schema (rating)


Description

moodle ratings

rating table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
contextid BIGINT 19 null
context.id rati_con2_fk R
component VARCHAR 100
ratingarea VARCHAR 50
itemid BIGINT 19 null
scaleid BIGINT 19 null
scale.id Implied Constraint R
rating BIGINT 19 null
userid BIGINT 19 null
user.id rati_use2_fk R
timecreated BIGINT 19 null
timemodified BIGINT 19 null

Table contained -1 rows

rating table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
rati_comratconite_ix Performance Asc/Asc/Asc/Asc component + ratingarea + contextid + itemid
rati_con_ix Performance Asc contextid
rati_use_ix Performance Asc userid

rating table relationships