CREATE TABLE `freeproImports` (
	`id` int AUTO_INCREMENT NOT NULL,
	`userId` int NOT NULL,
	`moisLabel` varchar(10) NOT NULL,
	`annee` int NOT NULL,
	`mois` int NOT NULL,
	`refPiece` varchar(50),
	`fileName` varchar(255) NOT NULL,
	`nbLignes` int NOT NULL DEFAULT 0,
	`totalTtc` varchar(30),
	`createdAt` timestamp NOT NULL DEFAULT (now()),
	`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
	CONSTRAINT `freeproImports_id` PRIMARY KEY(`id`)
);
--> statement-breakpoint
CREATE TABLE `freeproVentilationLines` (
	`id` int AUTO_INCREMENT NOT NULL,
	`importId` int NOT NULL,
	`structure` varchar(100),
	`type` varchar(50) NOT NULL,
	`montantCentimes` int NOT NULL,
	`createdAt` timestamp NOT NULL DEFAULT (now()),
	CONSTRAINT `freeproVentilationLines_id` PRIMARY KEY(`id`)
);
