mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
Indexes and foreign keys added
This commit is contained in:
parent
2cd0c1d30d
commit
96f07c7288
73 changed files with 1366 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue