Checkpoint: Évolution du système de rappels pour permettre jusqu'à 2 pièces jointes au lieu d'une seule. Migration SQL appliquée en local et sur le VPS de production. Les rappels existants sont préservés.

This commit is contained in:
Manus
2026-01-28 10:13:32 -05:00
parent 8c6dda473a
commit 86d3d437bd
10 changed files with 2445 additions and 17 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -57,6 +57,13 @@
"when": 1769506135258,
"tag": "0007_lively_shiver_man",
"breakpoints": true
},
{
"idx": 8,
"version": "5",
"when": 1769611851240,
"tag": "0008_sturdy_albert_cleary",
"breakpoints": true
}
]
}

View File

@@ -243,6 +243,16 @@ export const rappels = mysqlTable("rappels", {
typeFichier: varchar("typeFichier", { length: 100 }),
/** Taille du fichier en octets (optionnel) */
tailleFichier: int("tailleFichier"),
/** Nom du fichier joint 2 (optionnel) */
nomFichier2: varchar("nomFichier2", { length: 255 }),
/** URL du fichier 2 sur S3 (optionnel) */
urlFichier2: varchar("urlFichier2", { length: 500 }),
/** Clé S3 du fichier 2 (optionnel) */
s3Key2: varchar("s3Key2", { length: 500 }),
/** Type MIME du fichier 2 (optionnel) */
typeFichier2: varchar("typeFichier2", { length: 100 }),
/** Taille du fichier 2 en octets (optionnel) */
tailleFichier2: int("tailleFichier2"),
actif: boolean("actif").default(true).notNull(),
derniereExecution: datetime("derniereExecution"),
createdAt: timestamp("createdAt").defaultNow().notNull(),