From 7f9f64902570c1b5101797b972a4614f33d5e415 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 13 Dec 2006 14:18:49 +0000 Subject: [PATCH] Modif structure --- mysql/tables/llx_entrepot_valorisation.sql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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;