Added timestamp in llx_const

This commit is contained in:
Laurent Destailleur 2008-04-20 11:05:34 +00:00
parent fd85de45e9
commit 48575828b0
2 changed files with 6 additions and 1 deletions

View File

@ -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='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;
DELETE FROM llx_rights_def WHERE module = 'menudb';

View File

@ -31,6 +31,6 @@ create table llx_const
type enum('yesno','texte','chaine'),
visible tinyint DEFAULT 1 NOT NULL,
note text,
tms timestamp
UNIQUE INDEX(name)
)type=innodb;