# rating

0 rows

### Description

moodle ratings

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
contextid | BIGINT | 19 |  |  | null |  |
context.id | rati_con2_fkR
component | VARCHAR | 100 |  |  |  |  |  |
ratingarea | VARCHAR | 50 |  |  |  |  |  |
itemid | BIGINT | 19 |  |  | null |  |  |
scaleid | BIGINT | 19 |  |  | null |  |
scale.id | rati_sca2_fkR
rating | BIGINT | 19 |  |  | null |  |  |
userid | BIGINT | 19 |  |  | null |  |
user.id | rati_use2_fkR
timecreated | BIGINT | 19 |  |  | null |  |  |
timemodified | BIGINT | 19 |  |  | null |  |  |

### 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_sca_ix | Performance | Asc | scaleid
rati_use_ix | Performance | Asc | userid

### Relationships