Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null |
|
|
||||||||
| contenthash | VARCHAR | 40 |
|
|
||||||||||
| pathnamehash | VARCHAR | 40 |
|
|
||||||||||
| contextid | BIGINT | 19 | null |
|
|
|||||||||
| component | VARCHAR | 100 |
|
|
||||||||||
| filearea | VARCHAR | 50 |
|
|
||||||||||
| itemid | BIGINT | 19 | null |
|
|
|||||||||
| filepath | VARCHAR | 255 |
|
|
||||||||||
| filename | VARCHAR | 255 |
|
|
||||||||||
| userid | BIGINT | 19 | √ | null |
|
|
||||||||
| filesize | BIGINT | 19 | null |
|
|
|||||||||
| mimetype | VARCHAR | 100 | √ | null |
|
|
||||||||
| status | BIGINT | 19 | 0 |
|
|
|||||||||
| source | LONGTEXT | 2147483647 | √ | null |
|
|
||||||||
| VARCHAR | 255 | √ | null |
|
|
|||||||||
| license | VARCHAR | 255 | √ | null |
|
|
||||||||
| timecreated | BIGINT | 19 | null |
|
|
|||||||||
| timemodified | BIGINT | 19 | null |
|
|
|||||||||
| sortorder | BIGINT | 19 | 0 |
|
|
|||||||||
| referencefileid | BIGINT | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| file_comfilconite2_ix | Performance | Asc/Asc/Asc/Asc | component + filearea + contextid + itemid |
| file_con3_ix | Performance | Asc | contenthash |
| file_con5_ix | Performance | Asc | contextid |
| file_lic2_ix | Performance | Asc | license |
| file_pat2_uix | Must be unique | Asc | pathnamehash |
| file_ref4_ix | Performance | Asc | referencefileid |
| file_use4_ix | Performance | Asc | userid |



