]> git.mxchange.org Git - friendica.git/blob - doc/database/db_key-value.md
Add key-value table
[friendica.git] / doc / database / db_key-value.md
1 Table key-value
2 ===========
3
4 A key value 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 | k     |             | varbinary(50) | NO   |     |         |                |
13 | v     |             | mediumtext    | YES  |     | NULL    |                |
14
15 Indexes
16 ------------
17
18 | Name    | Fields    |
19 | ------- | --------- |
20 | PRIMARY | id        |
21 | k       | UNIQUE, k |
22
23
24 Return to [database documentation](help/database)