Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
Primary id for this table. This uniquely identifies the row. |
|||
| commenttype_id | INT | 10 | 0 |
|
|
Foreign key to commentypes (commenttypes.id). |
||||
| user_id | INT | 10 | √ | null |
|
|
Foreign key to Gatekeeper users (Gatekeeper users.id). |
|||
| visibility | BIT | 1 | √ | null |
|
|
Defines if the comment is available or masked (hidden) from the interface. |
|||
| description | MEDIUMTEXT | 16777215 | null |
|
|
The comment content. |
||||
| reference_id | INT | 10 | 0 |
|
|
Relates to the UID of the table to which the comment relates |
||||
| created_on | DATETIME | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was created. |
|||
| updated_on | TIMESTAMP | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| commenttype_id | Performance | Asc | commenttype_id |
| user_id | Performance | Asc | user_id |