X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fdatabase%2Fdb_locks.md;h=dc5371184dce15e9a9452d54bb789ffb1c6326fd;hb=19603fd6a57c9de0015efe93f019ae6d6204259d;hp=cf56a0071926a104c8ff6f4faaad53099b082d70;hpb=a827f948c867ceebf60d82b0740032512be23302;p=friendica.git diff --git a/doc/database/db_locks.md b/doc/database/db_locks.md index cf56a00719..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 | 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 | | + +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)