]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_config.md
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
[friendica.git] / doc / database / db_config.md
index ce4fe462493cc65df9dc10c9e0e67e97df2943b8..7d7618794aaa01f9593991164441efa25aa4fac1 100644 (file)
@@ -1,12 +1,25 @@
 Table config
 ===========
+
 main configuration storage
 
-| Field | Description | Type | Null | Key | Default | Extra |
-| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
-| id  |  | int unsigned  | NO  | PRI | NULL | auto_increment |    
-| cat |  | varbinary(50) | NO  |     |      |                |    
-| k   |  | varbinary(50) | NO  |     |      |                |    
-| v   |  | mediumtext    | YES |     | NULL |                |    
+Fields
+------
+
+| Field | Description | Type          | Null | Key | Default | Extra          |
+| ----- | ----------- | ------------- | ---- | --- | ------- | -------------- |
+| id    |             | int unsigned  | NO   | PRI | NULL    | auto_increment |
+| cat   |             | varbinary(50) | NO   |     |         |                |
+| k     |             | varbinary(50) | NO   |     |         |                |
+| v     |             | mediumtext    | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name    | Fields         |
+| ------- | -------------- |
+| PRIMARY | id             |
+| cat_k   | UNIQUE, cat, k |
+
 
 Return to [database documentation](help/database)