X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_locks.md;h=dc5371184dce15e9a9452d54bb789ffb1c6326fd;hb=199d8bbf359734e078a66f03a43ecb81f635a102;hp=3c219c2cc56641e31c18e4577070c4c83cc5da1b;hpb=84ab5d61594ed92e0e28415d6c33df267a3636c5;p=friendica.git diff --git a/doc/database/db_locks.md b/doc/database/db_locks.md index 3c219c2cc5..dc5371184d 100644 --- a/doc/database/db_locks.md +++ b/doc/database/db_locks.md @@ -2,12 +2,25 @@ Table locks =========== -| Field | Description | Type | Null | Key | Default | Extra | -| ----- | ----------- | ---- | ---- | --- | ------- | ----- | -| id | sequential ID | int unsigned | YES | PRI | | auto_increment | -| name | | varchar(128) | YES | | | | -| locked | | boolean | YES | | 0 | | -| pid | Process ID | int unsigned | YES | | 0 | | -| expires | datetime of cache expiration | datetime | YES | | 0001-01-01 00:00:00 | | + +Fields +------ + +| 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 | | + +Indexes +------------ + +| Name | Fields | +| ------------ | ------------- | +| PRIMARY | id | +| name_expires | name, expires | + Return to [database documentation](help/database)