prepare single login at one time

This commit is contained in:
fhenry 2012-12-08 18:41:32 +01:00
parent 4570c57bfd
commit 0e76875e9c
2 changed files with 6 additions and 6 deletions

View File

@ -881,4 +881,7 @@ create table llx_user_extrafields
ALTER TABLE llx_user_extrafields ADD INDEX idx_user_extrafields (fk_object);
ALTER TABLE llx_element_lock ADD COLUMN sessionid varchar(255) AFTER status;
ALTER TABLE llx_element_lock ADD COLUMN sessionid varchar(255) AFTER datem;
ALTER TABLE llx_element_lock MODIFY COLUMN elementtype varchar(32) NOT NULL;
ALTER TABLE llx_element_lock DROP COLUMN fk_user_modif;
ALTER TABLE llx_element_lock DROP COLUMN status;

View File

@ -20,11 +20,8 @@ create table llx_element_lock
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_element integer NOT NULL,
elementtype varchar(16) NOT NULL,
elementtype varchar(32) NOT NULL,
datel datetime, -- date of lock
datem datetime, -- date of unlock/modif
fk_user_modif integer,
status tinyint DEFAULT 0, -- 0 unlock, 1 lock
sessionid varchar(255)
sessionid varchar(255)
)ENGINE=innodb;