Rollback to eebcb648
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -120,13 +120,6 @@
|
||||
"when": 1770047974825,
|
||||
"tag": "0016_aromatic_king_cobra",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 17,
|
||||
"version": "5",
|
||||
"when": 1770056161269,
|
||||
"tag": "0017_lethal_namor",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -414,12 +414,8 @@ export type InsertSupportFormation = typeof supportsFormation.$inferInsert;
|
||||
*/
|
||||
export const presences = mysqlTable("presences", {
|
||||
id: int("id").autoincrement().primaryKey(),
|
||||
inscriptionId: int("inscriptionId"),
|
||||
inscriptionId: int("inscriptionId").notNull(),
|
||||
dateFormationId: int("dateFormationId").notNull(),
|
||||
/** Type d'utilisateur qui s'émarge (apprenant ou formateur) */
|
||||
typeUtilisateur: mysqlEnum("typeUtilisateur", ["apprenant", "formateur"]).notNull().default("apprenant"),
|
||||
/** ID du formateur (si typeUtilisateur = formateur) */
|
||||
formateurId: int("formateurId"),
|
||||
/** Période de la journée (matin ou après-midi) */
|
||||
periode: mysqlEnum("periode", ["matin", "apres_midi"]).notNull().default("matin"),
|
||||
heurePresence: timestamp("heurePresence").defaultNow().notNull(),
|
||||
@@ -428,7 +424,7 @@ export const presences = mysqlTable("presences", {
|
||||
/** ID de l'utilisateur qui a validé (formateur ou admin) */
|
||||
validateurId: int("validateurId"),
|
||||
commentaire: text("commentaire"),
|
||||
/** URL de la signature manuscrite (apprenant ou formateur) */
|
||||
/** URL de la signature manuscrite de l'apprenant */
|
||||
signatureUrl: varchar("signatureUrl", { length: 500 }),
|
||||
/** Clé S3 de la signature manuscrite */
|
||||
signatureS3Key: varchar("signatureS3Key", { length: 500 }),
|
||||
|
||||
Reference in New Issue
Block a user