From 07925a4db6f13840ba5133c3e24ec12d72733882 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 29 Dec 2011 16:18:34 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20la=20structure=20de?= =?UTF-8?q?s=20bases=20de=20donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/_sql/comptages.sql | 4 ++-- config/_sql/criteres.sql | 3 +-- config/_sql/refexport.sql | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/_sql/comptages.sql b/config/_sql/comptages.sql index 0b5a5957..71cecf5d 100644 --- a/config/_sql/comptages.sql +++ b/config/_sql/comptages.sql @@ -1,9 +1,9 @@ CREATE TABLE IF NOT EXISTS `comptages` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idDefinition` int(11) NOT NULL, - `valueExplode` varchar(20) NOT NULL, `resultat` int(11) NOT NULL, `uniteInsee` int(11) NOT NULL, + `tarif` varchar(20) NOT NULL, `dateAjout` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COMMENT='Résultat des comptages' AUTO_INCREMENT=1 ; +) DEFAULT CHARSET=utf8 COMMENT='Résultat des comptages' AUTO_INCREMENT=1 ; \ No newline at end of file diff --git a/config/_sql/criteres.sql b/config/_sql/criteres.sql index 04d88497..ed9e64a3 100644 --- a/config/_sql/criteres.sql +++ b/config/_sql/criteres.sql @@ -1,11 +1,10 @@ - CREATE TABLE IF NOT EXISTS `criteres` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idClient` int(11) NOT NULL, `login` varchar(20) NOT NULL, `reference` varchar(50) NOT NULL, `criteres` longtext NOT NULL, - `explodeOn` varchar(20) NOT NULL, + `parent` int(11) NOT NULL, `dateAjout` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `reference` (`reference`), diff --git a/config/_sql/refexport.sql b/config/_sql/refexport.sql index c6b4e956..b1dc158f 100644 --- a/config/_sql/refexport.sql +++ b/config/_sql/refexport.sql @@ -1,4 +1,3 @@ - CREATE TABLE IF NOT EXISTS `refexport` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idComptage` int(11) NOT NULL,