2021-06-13 16:33:50 -04:00
|
|
|
Table 2fa_app_specific_password
|
|
|
|
===========
|
2021-06-14 02:10:11 -04:00
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Two-factor app-specific _password
|
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-14 02:10:11 -04:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| --------------- | ---------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
|
|
|
|
| id | Password ID for revocation | mediumint unsigned | NO | PRI | NULL | auto_increment |
|
|
|
|
| uid | User ID | mediumint unsigned | NO | | NULL | |
|
|
|
|
| description | Description of the usage of the password | varchar(255) | YES | | NULL | |
|
|
|
|
| hashed_password | Hashed password | varchar(255) | NO | | NULL | |
|
|
|
|
| generated | Datetime the password was generated | datetime | NO | | NULL | |
|
|
|
|
| last_used | Datetime the password was last used | datetime | YES | | NULL | |
|
2021-06-13 16:33:50 -04:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 08:15:10 -04:00
|
|
|
| Name | Fields |
|
|
|
|
| --------------- | --------------------- |
|
|
|
|
| PRIMARY | id |
|
2021-06-14 04:53:37 -04:00
|
|
|
| uid_description | uid, description(190) |
|
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Return to [database documentation](help/database)
|