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`)
);

View File

@@ -295,6 +295,13 @@
"when": 1790785209695,
"tag": "0041_acoustic_microchip",
"breakpoints": true
},
{
"idx": 42,
"version": "5",
"when": 1790960584104,
"tag": "0042_deleted_invoices_blacklist",
"breakpoints": true
}
]
}
}