issue #0001572: database changes

This commit is contained in:
Arman KYOKCHAN 2013-04-23 05:44:09 +00:00
parent 15b87d3d26
commit 0ee113337b
2 changed files with 14 additions and 12 deletions

View File

@ -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,

View File

@ -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;