X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_pconfig.md;h=cf9b0d7810f9a3520be13d4c4d5263870e7ebf7c;hb=dacda1b3647c366cba91a065ebe6264ae968e68f;hp=99f9058777f30bb039d9c52f8c4e0daa038432f5;hpb=4095e6c9be01943c3b074d9a9061a01ff5fafcee;p=friendica.git diff --git a/doc/database/db_pconfig.md b/doc/database/db_pconfig.md index 99f9058777..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)