extranet/library/Giant/database.sql

18 lines
640 B
SQL

Create table `rapports_giants` (
`id` integer(8) PRIMARY KEY AUTO_INCREMENT NOT NULL,
`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'),
`report` blob NOT NULL
) ENGINE = InnoDB;
Create table `commandes_giants` (
`id` integer(8) primary key AUTO_INCREMENT,
`rapportId` integer(8) NOT NULL,
`login` varchar(255) NOT NULL,
`date` date NOT NULL,
`typeReport` enum('FU', 'CO', 'CR', 'FL', 'NO', 'UR', 'FA') NOT NULL,
`price` float(8) NOT NULL,
`pays` varchar(50) NOT NULL
) ENGINE = InnoDB;