issue #0001572: database changes
This commit is contained in:
parent
15b87d3d26
commit
0ee113337b
@ -4,6 +4,7 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_giants` (
|
||||
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||
`rapportId` int(8) NOT NULL,
|
||||
`login` varchar(255) NOT NULL,
|
||||
`date` date NOT NULL,
|
||||
`typeReport` enum('FU','CO','CR','FL','NO','UR','FA') NOT NULL,
|
||||
|
@ -1,13 +1,14 @@
|
||||
--
|
||||
-- Structure de la table `rapports_giants`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `rapports_giants` (
|
||||
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||
`companyId` varchar(255) NOT NULL,
|
||||
`date` date NOT NULL,
|
||||
`pays` enum('FR','ES','BE','NL','UK','DE') NOT NULL,
|
||||
`type` enum('FU','CO','CR','FL') DEFAULT NULL,
|
||||
`report` blob NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
--
|
||||
-- Structure de la table `rapports_giants`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `rapports_giants` (
|
||||
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||
`companyId` varchar(255) NOT NULL,
|
||||
`date` date NOT NULL,
|
||||
`pays` enum('FR','ES','BE','NL','UK','DE') NOT NULL,
|
||||
`type` enum('FU','CO','CR','FL') DEFAULT NULL,
|
||||
`lang` enum('en','fr') CHARACTER SET utf8 NOT NULL,
|
||||
`report` longtext NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
Loading…
Reference in New Issue
Block a user