mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
fixed locks in database.sql
This commit is contained in:
parent
1ffe0cfd81
commit
f61aa2a3ee
1 changed files with 3 additions and 1 deletions
|
@ -576,8 +576,10 @@ CREATE TABLE IF NOT EXISTS `locks` (
|
||||||
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
|
||||||
`name` varchar(128) NOT NULL DEFAULT '' COMMENT '',
|
`name` varchar(128) NOT NULL DEFAULT '' COMMENT '',
|
||||||
`locked` boolean NOT NULL DEFAULT '0' COMMENT '',
|
`locked` boolean NOT NULL DEFAULT '0' COMMENT '',
|
||||||
|
`expires` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'datetime of lock expiration',
|
||||||
`pid` int unsigned NOT NULL DEFAULT 0 COMMENT 'Process ID',
|
`pid` int unsigned NOT NULL DEFAULT 0 COMMENT 'Process ID',
|
||||||
PRIMARY KEY(`id`)
|
PRIMARY KEY(`id`),
|
||||||
|
INDEX `name_expires` (`name`,`expires`)
|
||||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='';
|
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in a new issue