diff --git a/mysql/tables/llx_entrepot_valorisation.sql b/mysql/tables/llx_entrepot_valorisation.sql index d97c22ae8ed..d1e421a2abe 100644 --- a/mysql/tables/llx_entrepot_valorisation.sql +++ b/mysql/tables/llx_entrepot_valorisation.sql @@ -22,10 +22,11 @@ create table llx_entrepot_valorisation ( - date_calcul date, -- date auquel a ete calcule la valeur + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, -- date technique mise à jour automatiquement + date_calcul date, -- date auquel a ete calcule la valeur fk_entrepot integer UNSIGNED NOT NULL , - value integer, - - UNIQUE (date_calcul, fk_entrepot) + valo_pmp float(12,4), -- valoristaion du stock en PMP + key(fk_entrepot) )type=innodb;