mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:50:11 +00:00
Add key-value table
This commit is contained in:
parent
c264278c5d
commit
9a10bb4295
4 changed files with 50 additions and 2 deletions
24
doc/database/db_key-value.md
Normal file
24
doc/database/db_key-value.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
Table key-value
|
||||
===========
|
||||
|
||||
A key value storage
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
| Field | Description | Type | Null | Key | Default | Extra |
|
||||
| ----- | ----------- | ------------- | ---- | --- | ------- | -------------- |
|
||||
| id | | int unsigned | NO | PRI | NULL | auto_increment |
|
||||
| k | | varbinary(50) | NO | | | |
|
||||
| v | | mediumtext | YES | | NULL | |
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
| Name | Fields |
|
||||
| ------- | --------- |
|
||||
| PRIMARY | id |
|
||||
| k | UNIQUE, k |
|
||||
|
||||
|
||||
Return to [database documentation](help/database)
|
Loading…
Add table
Add a link
Reference in a new issue