Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
user_id | INT UNSIGNED | 10 | √ | null |
|
|
||||||||||||||||||||||||
VARCHAR | 255 | null |
|
|
The user account email is used as the unique identifier for the account. Users authenticate with a correct email + password. |
|||||||||||||||||||||||||
pw | CHAR | 56 | null |
|
|
A hashed password |
||||||||||||||||||||||||
forename | VARCHAR | 255 | √ | NULL |
|
|
The user’s forename, may be null. Neither forename or surname are unique (separately or combined) |
|||||||||||||||||||||||
surname | VARCHAR | 255 | √ | NULL |
|
|
The user’s surname, may be null. Neither forename or surname are unique (separately or combined) |
|||||||||||||||||||||||
organization | VARCHAR | 255 | √ | NULL |
|
|
The user’s current organization, may be null. |
|||||||||||||||||||||||
registration_date | TIMESTAMP | 19 | current_timestamp() |
|
|
|||||||||||||||||||||||||
settings | LONGTEXT | 2147483647 | √ | NULL |
|
|
||||||||||||||||||||||||
last_scroll_version_id | INT UNSIGNED | 10 | 1 |
|
|
|||||||||||||||||||||||||
activated | TINYINT UNSIGNED | 3 | 0 |
|
|
Boolean for whether a user has authenticaed registration via the emailed token. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | user_id |
unique_user | Must be unique | Asc |