Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FILE_ID | INT UNSIGNED | 10 | √ | null |
|
|
Unique ID (primary key) for entries in the FILE table |
|||||||||||
FILE_NAME | VARCHAR | 256 | √ | null |
|
|
File name |
|||||||||||
FILE_TYPE | VARCHAR | 256 | √ | null |
|
|
File type |
|||||||||||
FILE_SIZE | VARCHAR | 32 | √ | null |
|
|
File size |
|||||||||||
FILE_FILE | MEDIUMBLOB | 16777215 | √ | null |
|
|
Actual file stored as a MEDIUMBLOB |
|||||||||||
FILE_PUB | BIT | 1 | √ | null |
|
|
Boolean for storing files privately (0=private, 1=publicly available) |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | FILE_ID |