1 Table 2fa_recovery_codes
4 Two-factor authentication recovery codes
9 | Field | Description | Type | Null | Key | Default | Extra |
10 | --------- | ------------------------------- | ------------------ | ---- | --- | ------- | ----- |
11 | uid | User ID | mediumint unsigned | NO | PRI | NULL | |
12 | code | Recovery code string | varchar(50) | NO | PRI | NULL | |
13 | generated | Datetime the code was generated | datetime | NO | | NULL | |
14 | used | Datetime the code was used | datetime | YES | | NULL | |
20 | ------- | --------- |
21 | PRIMARY | uid, code |
26 | Field | Target Table | Target Field |
27 |-------|--------------|--------------|
28 | uid | [user](help/database/db_user) | uid |
30 Return to [database documentation](help/database)