Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
|||||
| comment_id | INT | 10 | null |
|
|
||||||
| action_type | enum('PINNED', 'UNPINNED', 'DELETED', 'EDITED', 'HIDDEN', 'UNHIDDEN') | 8 | null |
|
|
||||||
| previous_content | VARCHAR | 191 | √ | null |
|
|
|||||
| new_content | VARCHAR | 191 | √ | null |
|
|
|||||
| action_by | INT | 10 | null |
|
|
||||||
| action_at | DATETIME | 23 | CURRENT_TIMESTAMP(3) |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| comment_history_action_by_fkey | Performance | Asc | action_by |
| comment_history_comment_id_fkey | Performance | Asc | comment_id |

