Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||
module | VARCHAR | 20 |
|
|
||||||
userid | BIGINT | 19 | 0 |
|
|
|||||
courseid | BIGINT | 19 | 0 |
|
|
|||||
groupid | BIGINT | 19 | 0 |
|
|
|||||
moduleid | BIGINT | 19 | 0 |
|
|
|||||
coursemoduleid | BIGINT | 19 | 0 |
|
|
|||||
subject | VARCHAR | 128 |
|
|
||||||
summary | LONGTEXT | 2147483647 | √ | null |
|
|
||||
content | LONGTEXT | 2147483647 | √ | null |
|
|
||||
uniquehash | VARCHAR | 255 |
|
|
||||||
rating | BIGINT | 19 | 0 |
|
|
|||||
format | BIGINT | 19 | 0 |
|
|
|||||
summaryformat | TINYINT | 3 | 0 |
|
|
|||||
attachment | VARCHAR | 100 | √ | null |
|
|
attachment |
|||
publishstate | VARCHAR | 20 | draft |
|
|
|||||
lastmodified | BIGINT | 19 | 0 |
|
|
|||||
created | BIGINT | 19 | 0 |
|
|
|||||
usermodified | BIGINT | 19 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
post_iduse2_uix | Must be unique | Asc/Asc | id + userid |
post_las2_ix | Performance | Asc | lastmodified |
post_mod2_ix | Performance | Asc | module |
post_sub2_ix | Performance | Asc | subject |
post_use2_ix | Performance | Asc | usermodified |