Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT UNSIGNED | 10 | √ | null |
|
|
ID of this entry. |
||||
| player_id | MEDIUMINT UNSIGNED | 8 | null |
|
|
The ID of the player that triggered this event. |
|||||
| event_id | VARCHAR | 36 | null |
|
|
The ID of the event definition. |
|||||
| count | INT UNSIGNED | 10 | null |
|
|
The current number of times this event has occurred. |
|||||
| create_time | TIMESTAMP | 19 | current_timestamp() |
|
|
||||||
| update_time | TIMESTAMP | 19 | current_timestamp() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| event_player_UNIQUE | Must be unique | Asc/Asc | player_id + event_id |
| id_UNIQUE | Must be unique | Asc | id |

