]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_pconfig.md
Category added
[friendica.git] / doc / database / db_pconfig.md
index 7449c511d36189d58b11303dc2ad0f4143938bef..cf9b0d7810f9a3520be13d4c4d5263870e7ebf7c 100644 (file)
@@ -3,6 +3,9 @@ Table pconfig
 
 personal (per user) configuration storage
 
+Fields
+------
+
 | Field | Description | Type               | Null | Key | Default | Extra          |
 | ----- | ----------- | ------------------ | ---- | --- | ------- | -------------- |
 | id    | Primary key | int unsigned       | NO   | PRI | NULL    | auto_increment |
@@ -11,4 +14,19 @@ personal (per user) configuration storage
 | 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)