12 lines
544 B
SQL
12 lines
544 B
SQL
CREATE TABLE `contrat_detail` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`contratId` int(11) NOT NULL,
|
|
`code` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`label` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`type` enum('forfait','conso') COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`terme` enum('debut','fin') COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`taxe` decimal(4,2) NOT NULL,
|
|
`itemOrder` int(11) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Détail d''un contrat';
|