]> 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 0eba8f11afd4c211e58060fcbc1fa1a530c01e67..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)