Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | MEDIUMINT UNSIGNED | 8 | √ | null |
|
|
|||||
name | VARCHAR | 40 | null |
|
|
||||||
tag | VARCHAR | 3 | null |
|
|
||||||
founder_id | MEDIUMINT UNSIGNED | 8 | √ | null |
|
|
The initial creator of the clan |
||||
leader_id | MEDIUMINT UNSIGNED | 8 | √ | null |
|
|
Current leader/admin of the clan |
||||
description | MEDIUMTEXT | 16777215 | √ | null |
|
|
|||||
tag_color | VARCHAR | 6 | √ | null |
|
|
RGB color code for the clan’s tag in chat |
||||
create_time | TIMESTAMP | 19 | current_timestamp() |
|
|
||||||
update_time | TIMESTAMP | 19 | current_timestamp() |
|
|
||||||
requires_invitation | BIT | 1 | 1 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
clan_name_uindex | Must be unique | Asc | name |
clan_tag_uindex | Must be unique | Asc | tag |
founder_id | Performance | Asc | founder_id |
leader_id | Performance | Asc | leader_id |