X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_2fa_recovery_codes.md;h=69c34e6547d83fc994486b9659d092140d3e1874;hb=7106106f11ca1212351e785c6bd4c1f8e343d82c;hp=30e00ef658b8ee054d0dd35bcd6abb1d5a1a07ef;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_2fa_recovery_codes.md b/doc/database/db_2fa_recovery_codes.md index 30e00ef658..69c34e6547 100644 --- a/doc/database/db_2fa_recovery_codes.md +++ b/doc/database/db_2fa_recovery_codes.md @@ -3,6 +3,9 @@ Table 2fa_recovery_codes Two-factor authentication recovery codes +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | --------- | ------------------------------- | ------------------ | ---- | --- | ------- | ----- | | uid | User ID | mediumint unsigned | NO | PRI | NULL | | @@ -10,4 +13,18 @@ Two-factor authentication recovery codes | generated | Datetime the code was generated | datetime | NO | | NULL | | | used | Datetime the code was used | datetime | YES | | NULL | | +Indexes +------------ + +| Name | Fields | +| ------- | --------- | +| PRIMARY | uid, code | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uid | [user](help/database/db_user) | uid | + Return to [database documentation](help/database)