Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
|||||
| user_id | INT | 10 | null |
|
|
||||||
| blocked_user_id | INT | 10 | null |
|
|
||||||
| created_at | DATETIME | 23 | CURRENT_TIMESTAMP(3) |
|
|
||||||
| reason | VARCHAR | 191 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| user_blocks_blocked_user_id_fkey | Performance | Asc | blocked_user_id |
| user_blocks_user_id_blocked_user_id_key | Must be unique | Asc/Asc | user_id + blocked_user_id |

