]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_config.md
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
[friendica.git] / doc / database / db_config.md
index fcd1c93bf0da47dea8e31aa6e633b48858d0e273..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)