X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_pconfig.md;h=cf9b0d7810f9a3520be13d4c4d5263870e7ebf7c;hb=6354d7c81da4ef440131374f67620633ca4feef1;hp=819dfbfbf64b8845641457b3f23cd1614d992ab8;hpb=fd30df7300d9de5b2316b86ccc38053cec69dfe1;p=friendica.git diff --git a/doc/database/db_pconfig.md b/doc/database/db_pconfig.md index 819dfbfbf6..cf9b0d7810 100644 --- a/doc/database/db_pconfig.md +++ b/doc/database/db_pconfig.md @@ -1,13 +1,32 @@ Table pconfig =========== + personal (per user) configuration storage -| 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 | | +Fields +------ + +| 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 | | + +Indexes +------------ + +| Name | Fields | +| --------- | ------------------- | +| PRIMARY | id | +| uid_cat_k | UNIQUE, uid, cat, k | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uid | [user](help/database/db_user) | uid | Return to [database documentation](help/database)