extranet/config/_sql/structure/commandes_kbis.sql

24 lines
1.3 KiB
MySQL
Raw Normal View History

--
-- Structure de la table `commandes_kbis`
--
CREATE TABLE IF NOT EXISTS `commandes_kbis` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`idUser` int(11) NOT NULL,
`login` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(82) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`societe` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`nom` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`adresse` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`cp` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`ville` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`siren` int(9) NOT NULL,
`raisonSociale` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`type` char(1) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`document` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
`statutCommande` int(11) NOT NULL DEFAULT '0',
`info` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
`dateCommande` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`dateReception` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
2012-01-22 17:44:57 +00:00
) DEFAULT CHARSET=utf8 COMMENT='Kbis original courrier';