X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_2fa_app_specific_password.md;h=66dd77c95cb65c6b22a662a3908e409a346bedb7;hb=3e1e3c8b3e317e47abdd63284109da1774e66bdf;hp=660319e04118c860ab1ab75f3f7b4d9a44ecd775;hpb=31db9dbef7f6a4f98a6c29d15493bcffb0c39929;p=friendica.git diff --git a/doc/database/db_2fa_app_specific_password.md b/doc/database/db_2fa_app_specific_password.md index 660319e041..66dd77c95c 100644 --- a/doc/database/db_2fa_app_specific_password.md +++ b/doc/database/db_2fa_app_specific_password.md @@ -1,14 +1,33 @@ Table 2fa_app_specific_password =========== + Two-factor app-specific _password -| Field | Description | Type | Null | Key | Default | Extra | -| ----- | ----------- | ---- | ---- | --- | ------- | ----- | -| id | Password ID for revocation | mediumint unsigned | YES | PRI | NULL | auto_increment | -| uid | User ID | mediumint unsigned | YES | | NULL | | -| description | Description of the usage of the password | varchar(255) | NO | | NULL | | -| hashed_password | Hashed password | varchar(255) | YES | | NULL | | -| generated | Datetime the password was generated | datetime | YES | | NULL | | -| last_used | Datetime the password was last used | datetime | NO | | NULL | | +Fields +------ + +| 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 | | + +Indexes +------------ + +| Name | Fields | +| --------------- | --------------------- | +| PRIMARY | id | +| 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)