friendica/doc/database/db_2fa_app_specific_passwor...

34 lines
1.5 KiB
Markdown
Raw Normal View History

Table 2fa_app_specific_password
===========
2021-06-14 02:10:11 -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-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 |
Return to [database documentation](help/database)