Checkpoint: Ajout du système de notifications enrichi comprenant : email de remerciement post-formation automatique, notifications aux formateurs (nouvelle inscription et annulation), alertes de capacité atteinte pour les admins, notifications aux apprenants en liste d'attente quand une place se libère, ajout du champ email pour les formateurs, et scheduler automatique pour les remerciements.
This commit is contained in:
@@ -226,6 +226,8 @@ export const formateurs = mysqlTable("formateurs", {
|
||||
id: int("id").autoincrement().primaryKey(),
|
||||
/** Nom complet du formateur */
|
||||
nom: varchar("nom", { length: 255 }).notNull(),
|
||||
/** Email du formateur pour les notifications */
|
||||
email: varchar("email", { length: 320 }),
|
||||
createdAt: timestamp("createdAt").defaultNow().notNull(),
|
||||
updatedAt: timestamp("updatedAt").defaultNow().onUpdateNow().notNull(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user