]> git.mxchange.org Git - friendica.git/blob - doc/database/db_config.md
Merge branch 'develop' into mastodon-instance-v2-implementation
[friendica.git] / doc / database / db_config.md
1 Table config
2 ===========
3
4 main configuration storage
5
6 Fields
7 ------
8
9 | Field | Description               | Type          | Null | Key | Default | Extra          |
10 | ----- | ------------------------- | ------------- | ---- | --- | ------- | -------------- |
11 | id    |                           | int unsigned  | NO   | PRI | NULL    | auto_increment |
12 | cat   | The category of the entry | varbinary(50) | NO   |     |         |                |
13 | k     | The key of the entry      | varbinary(50) | NO   |     |         |                |
14 | v     |                           | mediumtext    | YES  |     | NULL    |                |
15
16 Indexes
17 ------------
18
19 | Name    | Fields         |
20 | ------- | -------------- |
21 | PRIMARY | id             |
22 | cat_k   | UNIQUE, cat, k |
23
24
25 Return to [database documentation](help/database)