Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | MEDIUMINT UNSIGNED | 8 | √ | null |
|
|
||||||||
uid | VARCHAR | 40 | null |
|
|
|||||||||
type | enum('UI', 'SIM') | 3 | null |
|
|
This field can be defined for every version because maybe the author finds a way to turn his SIM mod into an UI mod. |
||||||||
description | LONGTEXT | 2147483647 | null |
|
|
|||||||||
version | SMALLINT | 5 | null |
|
|
|||||||||
filename | VARCHAR | 255 | null |
|
|
|||||||||
icon | VARCHAR | 255 | √ | null |
|
|
||||||||
ranked | BIT | 1 | 0 |
|
|
|||||||||
BIT | 1 | 0 |
|
|
||||||||||
mod_id | MEDIUMINT UNSIGNED | 8 | null |
|
|
|||||||||
create_time | TIMESTAMP | 19 | current_timestamp() |
|
|
When this entry was created. |
||||||||
update_time | TIMESTAMP | 19 | current_timestamp() |
|
|
When this entry was updated |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
filename | Must be unique | Asc | filename |
mod_id_version | Must be unique | Asc/Asc | mod_id + version |
uid | Must be unique | Asc | uid |