]> git.mxchange.org Git - friendica.git/blob - doc/database/db_locks.md
Merge remote-tracking branch 'upstream/develop' into api-edit
[friendica.git] / doc / database / db_locks.md
1 Table locks
2 ===========
3
4
5
6 Fields
7 ------
8
9 | Field   | Description                  | Type         | Null | Key | Default             | Extra          |
10 | ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | -------------- |
11 | id      | sequential ID                | int unsigned | NO   | PRI | NULL                | auto_increment |
12 | name    |                              | varchar(128) | NO   |     |                     |                |
13 | locked  |                              | boolean      | NO   |     | 0                   |                |
14 | pid     | Process ID                   | int unsigned | NO   |     | 0                   |                |
15 | expires | datetime of cache expiration | datetime     | NO   |     | 0001-01-01 00:00:00 |                |
16
17 Indexes
18 ------------
19
20 | Name         | Fields        |
21 | ------------ | ------------- |
22 | PRIMARY      | id            |
23 | name_expires | name, expires |
24
25
26 Return to [database documentation](help/database)