13 lines
503 B
SQL
13 lines
503 B
SQL
CREATE TABLE `facture_line` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`factId` int(11) NOT NULL,
|
|
`num` int(11) NOT NULL,
|
|
`code` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`zonetxt` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`qte` decimal(10,2) NOT NULL,
|
|
`montantUnit` decimal(10,2) NOT NULL,
|
|
`montantLine` decimal(10,2) NOT NULL,
|
|
`tva` decimal(5,2) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ligne facturation';
|