Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
||
| global | INT | 10 | 0 |
|
|
|||
| user_id | INT UNSIGNED | 10 | null |
|
|
|||
| path | TEXT | 65535 | null |
|
|
|||
| filename | TEXT | 65535 | null |
|
|
|||
| extension | TEXT | 65535 | null |
|
|
|||
| mime_type | TEXT | 65535 | null |
|
|
|||
| bytes | INT UNSIGNED | 10 | null |
|
|
|||
| created_at | DATETIME | 19 | √ | CURRENT_TIMESTAMP |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| user_id | Must be unique | Asc | user_id |
