2021-06-13 22:33:50 +02:00
|
|
|
Table 2fa_app_specific_password
|
|
|
|
===========
|
2021-06-14 08:10:11 +02:00
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
Two-factor app-specific _password
|
|
|
|
|
2021-06-14 10:53:37 +02:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-14 08:10:11 +02: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 22:33:50 +02:00
|
|
|
|
2021-06-14 10:53:37 +02:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 14:15:10 +02:00
|
|
|
| Name | Fields |
|
|
|
|
| --------------- | --------------------- |
|
|
|
|
| PRIMARY | id |
|
2021-06-14 10:53:37 +02:00
|
|
|
| uid_description | uid, description(190) |
|
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uid | [user](help/database/db_user) | uid |
|
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
Return to [database documentation](help/database)
|