Checkpoint: Ajout de l'onglet "Signatures" dans la page Paramètres : table DB signatures (firstName, lastName, imageKey, imageUrl), migration appliquée, routes tRPC (list, upload, create, delete), composant SignaturesSection avec formulaire d'ajout (prénom+nom+upload image), grille d'affichage des signatures avec aperçu, bouton de suppression au survol

This commit is contained in:
Manus
2026-03-14 18:52:47 -04:00
parent 9868a1afda
commit 33a82e2ad2
8 changed files with 1764 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE `signatures` (
`id` int AUTO_INCREMENT NOT NULL,
`userId` int NOT NULL,
`firstName` varchar(100) NOT NULL,
`lastName` varchar(100) NOT NULL,
`imageKey` text NOT NULL,
`imageUrl` text NOT NULL,
`createdAt` timestamp NOT NULL DEFAULT (now()),
`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
CONSTRAINT `signatures_id` PRIMARY KEY(`id`)
);