12 lines
464 B
SQL
12 lines
464 B
SQL
-- 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`)
|
|
);
|