webservice/config/_sql/jo.bilans_user.sql

11 lines
409 B
SQL

CREATE TABLE IF NOT EXISTS `bilans_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`idUtilisateur` int(11) NOT NULL,
`login` varchar(20) NOT NULL,
`siren` varchar(9) NOT NULL,
`dateExercice` int(8) NOT NULL,
`typeBilan` char(1) NOT NULL,
`dateAction` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;