Checkpoint: Module Ventilation FreePro complet : import Excel FreePro, transformation automatique (script/TTC/type XOAUTH2), tableau de ventilation par structure+type, historique par mois, export PDF. Menu Ventilations ajouté dans la navigation.
This commit is contained in:
24
drizzle/0028_dusty_kat_farrell.sql
Normal file
24
drizzle/0028_dusty_kat_farrell.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
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`)
|
||||
);
|
||||
Reference in New Issue
Block a user