Mise à jour de la structure des bases de données
This commit is contained in:
parent
f045a7e8cb
commit
07925a4db6
@ -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 ;
|
@ -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`),
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `refexport` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idComptage` int(11) NOT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user