odea/config/_sql/criteres.sql
2011-12-14 08:18:59 +00:00

13 lines
497 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,
`explodeOn` varchar(20) 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 ;