Added timestamp in llx_const
This commit is contained in:
parent
fd85de45e9
commit
48575828b0
@ -26,6 +26,11 @@ update llx_const set name='SOCIETE_CODEFOURNISSEUR_ADDON' where name='CODEFOURNI
|
|||||||
delete from llx_const where name='CODECLIENT_ADDON';
|
delete from llx_const where name='CODECLIENT_ADDON';
|
||||||
delete from llx_const where name='CODEFOURNISSEUR_ADDON';
|
delete from llx_const where name='CODEFOURNISSEUR_ADDON';
|
||||||
|
|
||||||
|
alter table llx_const add tms timestamp;
|
||||||
|
update llx_const set tms=sysdate() where tms is null;
|
||||||
|
update llx_const set tms=sysdate() where tms <= 0;
|
||||||
|
|
||||||
|
|
||||||
alter table llx_document_model modify type varchar(20) NOT NULL;
|
alter table llx_document_model modify type varchar(20) NOT NULL;
|
||||||
|
|
||||||
DELETE FROM llx_rights_def WHERE module = 'menudb';
|
DELETE FROM llx_rights_def WHERE module = 'menudb';
|
||||||
|
|||||||
@ -31,6 +31,6 @@ create table llx_const
|
|||||||
type enum('yesno','texte','chaine'),
|
type enum('yesno','texte','chaine'),
|
||||||
visible tinyint DEFAULT 1 NOT NULL,
|
visible tinyint DEFAULT 1 NOT NULL,
|
||||||
note text,
|
note text,
|
||||||
|
tms timestamp
|
||||||
UNIQUE INDEX(name)
|
UNIQUE INDEX(name)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user