friendica-github/doc/database/db_2fa_trusted_browser.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

Table 2fa_trusted_browser
===========
2021-06-14 06:10:11 +00:00
Two-factor authentication trusted browsers
2021-06-14 08:53:37 +00:00
Fields
------
2021-06-14 06:10:11 +00:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----------- | ------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |
| cookie_hash | Trusted cookie hash | varchar(80) | NO | PRI | NULL | |
| uid | User ID | mediumint unsigned | NO | | NULL | |
| user_agent | User agent string | text | YES | | NULL | |
| created | Datetime the trusted browser was recorded | datetime | NO | | NULL | |
| last_used | Datetime the trusted browser was last used | datetime | YES | | NULL | |
2021-06-14 08:53:37 +00:00
Indexes
------------
| Name | Fields |
2021-06-14 08:54:57 +00:00
|------|--------|
2021-06-14 08:53:37 +00:00
| PRIMARY | cookie_hash |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
Return to [database documentation](help/database)