fix: rétablir la suppression de facture en recette

This commit is contained in:
Manus
2026-10-02 17:05:14 +00:00
parent aebdafd026
commit c5f0c9eed6
6 changed files with 92 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
-- Rattrapage additif : certains environnements historiques possèdent le code
-- de blacklist sans avoir exécuté la migration 0035 correspondante.
CREATE TABLE IF NOT EXISTS `deletedInvoices` (
`id` int AUTO_INCREMENT NOT NULL,
`userId` int NOT NULL,
`invoiceNumber` varchar(100) NOT NULL,
`totalAmount` varchar(50),
`supplierName` varchar(255),
`deletedAt` timestamp NOT NULL DEFAULT (now()),
CONSTRAINT `deletedInvoices_id` PRIMARY KEY(`id`)
);