]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_config.md
spelling: cached
[friendica.git] / doc / database / db_config.md
index e2fb6149fcea3949a168750a08614eb9a4c643b1..66796caeb1aa372d1b55853eebf9f215852129e6 100644 (file)
@@ -1,12 +1,25 @@
 Table config
 ===========
+
 main configuration storage
 
-| Field | Description | Type | Null | Key | Default | Extra |
-| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
-| id |  | int unsigned | YES | PRI | NULL | auto_increment |    
-| cat |  | varbinary(50) | YES |  |  |  |    
-| k |  | varbinary(50) | YES |  |  |  |    
-| v |  | mediumtext | NO |  | NULL |  |    
+Fields
+------
+
+| Field | Description               | Type          | Null | Key | Default | Extra          |
+| ----- | ------------------------- | ------------- | ---- | --- | ------- | -------------- |
+| id    |                           | int unsigned  | NO   | PRI | NULL    | auto_increment |
+| cat   | The category of the entry | varbinary(50) | NO   |     |         |                |
+| k     | The key of the entry      | varbinary(50) | NO   |     |         |                |
+| v     |                           | mediumtext    | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name    | Fields         |
+| ------- | -------------- |
+| PRIMARY | id             |
+| cat_k   | UNIQUE, cat, k |
+
 
 Return to [database documentation](help/database)