friendica/doc/database/db_locks.md

27 lines
1019 B
Markdown
Raw Permalink Normal View History

2015-12-28 02:50:25 +01:00
Table locks
===========
2021-06-14 08:10:11 +02:00
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | -------------- |
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
| name | | varchar(128) | NO | | | |
| locked | | boolean | NO | | 0 | |
| pid | Process ID | int unsigned | NO | | 0 | |
| expires | datetime of cache expiration | datetime | NO | | 0001-01-01 00:00:00 | |
2015-12-28 02:50:25 +01:00
2021-06-14 10:53:37 +02:00
Indexes
------------
2021-06-14 14:15:10 +02:00
| Name | Fields |
| ------------ | ------------- |
| PRIMARY | id |
2021-06-14 10:53:37 +02:00
| name_expires | name, expires |
2015-12-28 02:50:25 +01:00
Return to [database documentation](help/database)