| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('app_grade_grades_id_seq'::regclass) |
|
|
||||
| itemid | int8 | 19 | null |
|
|
|||||
| userid | int8 | 19 | null |
|
|
|||||
| rawgrade | numeric | 10,5 | √ | null |
|
|
||||
| rawgrademax | numeric | 10,5 | 100 |
|
|
|||||
| rawgrademin | numeric | 10,5 | 0 |
|
|
|||||
| rawscaleid | int8 | 19 | √ | null |
|
|
||||
| usermodified | int8 | 19 | √ | null |
|
|
||||
| finalgrade | numeric | 10,5 | √ | null |
|
|
||||
| hidden | int8 | 19 | 0 |
|
|
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| app_gradgrad_id_pk | Primary key | Asc | id |
| app_gradgrad_ite_ix | Performance | Asc | itemid |
| app_gradgrad_locloc_ix | Performance | Asc/Asc | locked + locktime |
| app_gradgrad_raw_ix | Performance | Asc | rawscaleid |
| app_gradgrad_use2_ix | Performance | Asc | usermodified |
| app_gradgrad_use_ix | Performance | Asc | userid |
| app_gradgrad_useite_uix | Must be unique | Asc/Asc | userid + itemid |

