odea/config/_sql/criteres.sql
2011-12-29 16:18:34 +00:00

12 lines
488 B
SQL

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,
`parent` int(11) NOT NULL,
`dateAjout` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `reference` (`reference`),
KEY `login` (`login`)
) DEFAULT CHARSET=utf8 COMMENT='Sauvegarde des critères pour les comptages' AUTO_INCREMENT=1 ;