friendica-github/doc/database/db_pconfig.md

33 lines
1 KiB
Markdown
Raw Permalink Normal View History

Table pconfig
===========
2021-06-14 06:10:11 +00:00
personal (per user) configuration storage
2015-12-28 01:50:25 +00:00
2021-06-14 08:53:37 +00:00
Fields
------
2021-06-14 06:10:11 +00:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----- | ----------- | ------------------ | ---- | --- | ------- | -------------- |
| id | Primary key | int unsigned | NO | PRI | NULL | auto_increment |
| uid | User id | mediumint unsigned | NO | | 0 | |
| cat | Category | varchar(50) | NO | | | |
| k | Key | varchar(100) | NO | | | |
| v | Value | mediumtext | YES | | NULL | |
2015-12-28 01:50:25 +00:00
2021-06-14 08:53:37 +00:00
Indexes
------------
2021-06-14 12:15:10 +00:00
| Name | Fields |
| --------- | ------------------- |
| PRIMARY | id |
2021-06-14 08:53:37 +00:00
| uid_cat_k | UNIQUE, uid, cat, k |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
2015-12-28 01:50:25 +00:00
Return to [database documentation](help/database)