Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | INT UNSIGNED | 10 | √ | null |
|
|
ID for API/Elide compatibility |
||||
login_id | MEDIUMINT UNSIGNED | 8 | √ | null |
|
|
|||||
login_string | VARCHAR | 100 | √ | null |
|
|
In case of unknown login, the login name will be kept here |
||||
ip | VARCHAR | 45 | null |
|
|
||||||
success | BIT | 1 | null |
|
|
||||||
create_time | TIMESTAMP | 19 | current_timestamp() |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
login_log_ip_success_index | Performance | Asc/Asc | ip + success |
login_log_login_id_success_index | Performance | Asc/Asc | login_id + success |