1. Interface de gestion des emails formateurs (Configuration > Formateurs) - permet de gérer les adresses email des formateurs pour activer/désactiver les notifications 2. Tableau de bord des notifications (Configuration > Notifications) - historique complet des emails envoyés avec filtres et statistiques 3. Lien vers questionnaire de satisfaction automatiquement inclus dans l'email de remerciement post-formation
9 lines
1.6 KiB
JSON
9 lines
1.6 KiB
JSON
{
|
|
"query": "CREATE TABLE IF NOT EXISTS `logsNotifications` (\n `id` int AUTO_INCREMENT NOT NULL,\n `type` enum('remerciement','notification_formateur_inscription','notification_formateur_annulation','alerte_capacite','notification_liste_attente') NOT NULL,\n `sequenceId` int,\n `apprenantId` int,\n `formateurId` int,\n `emailDestinataire` varchar(320) NOT NULL,\n `sujet` varchar(500) NOT NULL,\n `dateEnvoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n `statut` enum('success','failed') NOT NULL,\n `messageErreur` text,\n `metadata` text,\n `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n CONSTRAINT `logsNotifications_id` PRIMARY KEY(`id`)\n);",
|
|
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute CREATE TABLE IF NOT EXISTS `logsNotifications` (\n `id` int AUTO_INCREMENT NOT NULL,\n `type` enum('remerciement','notification_formateur_inscription','notification_formateur_annulation','alerte_capacite','notification_liste_attente') NOT NULL,\n `sequenceId` int,\n `apprenantId` int,\n `formateurId` int,\n `emailDestinataire` varchar(320) NOT NULL,\n `sujet` varchar(500) NOT NULL,\n `dateEnvoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n `statut` enum('success','failed') NOT NULL,\n `messageErreur` text,\n `metadata` text,\n `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n CONSTRAINT `logsNotifications_id` PRIMARY KEY(`id`)\n);",
|
|
"rows": [],
|
|
"messages": [],
|
|
"stdout": "",
|
|
"stderr": "",
|
|
"execution_time_ms": 273
|
|
} |