Checkpoint: Checkpoint: Restauration de la procédure sequences.getDatesByFormateurToken et de la fonction getSequenceByFormateurToken dans db.ts. Le système d'émargement formateur fonctionne maintenant correctement avec chargement des dates. Prochaine étape : corriger l'affichage du message "[ERREUR MUTATION]" pour les doublons.
This commit is contained in:
2313
drizzle/meta/0018_snapshot.json
Normal file
2313
drizzle/meta/0018_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -127,6 +127,13 @@
|
||||
"when": 1770134309991,
|
||||
"tag": "0017_slimy_azazel",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 18,
|
||||
"version": "5",
|
||||
"when": 1770388245873,
|
||||
"tag": "0018_adorable_northstar",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -416,7 +416,11 @@ export type InsertSupportFormation = typeof supportsFormation.$inferInsert;
|
||||
*/
|
||||
export const presences = mysqlTable("presences", {
|
||||
id: int("id").autoincrement().primaryKey(),
|
||||
inscriptionId: int("inscriptionId").notNull(),
|
||||
inscriptionId: int("inscriptionId"),
|
||||
/** ID du formateur (pour les présences formateurs) */
|
||||
formateurId: int("formateurId"),
|
||||
/** Type d'utilisateur (apprenant ou formateur) */
|
||||
typeUtilisateur: mysqlEnum("typeUtilisateur", ["apprenant", "formateur"]).notNull().default("apprenant"),
|
||||
dateFormationId: int("dateFormationId").notNull(),
|
||||
/** Période de la journée (matin ou après-midi) */
|
||||
periode: mysqlEnum("periode", ["matin", "apres_midi"]).notNull().default("matin"),
|
||||
|
||||
Reference in New Issue
Block a user