feat(#193): table absences_garde + drop evenements.
Vérité métier absences/congés/arrêt par placement (périodes, expire_at). Entité TypeORM, BDD.sql, docs enums/FK, seed et verify alignés. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -161,23 +161,9 @@ VALUES (
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
-- ------------------------------------------------------------
|
||||
-- Événement (absence enfant)
|
||||
-- Absences_garde : seeds quand placements EAM présents (API / ticket peuplement)
|
||||
-- Legacy evenements supprimée (#193).
|
||||
-- ------------------------------------------------------------
|
||||
INSERT INTO evenements (id, type, id_enfant, id_am, id_parent, cree_par, date_debut, date_fin, commentaires, statut, urgence)
|
||||
VALUES (
|
||||
'e0000000-0000-0000-0000-000000000001',
|
||||
'absence_enfant',
|
||||
'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa',
|
||||
'66666666-6666-6666-6666-666666666666',
|
||||
'33333333-3333-3333-3333-333333333333',
|
||||
'33333333-3333-3333-3333-333333333333',
|
||||
'2025-09-12',
|
||||
'2025-09-12',
|
||||
'Enfant malade (rhume).',
|
||||
'propose',
|
||||
false
|
||||
)
|
||||
ON CONFLICT (id) DO NOTHING;
|
||||
|
||||
-- ------------------------------------------------------------
|
||||
-- Upload (justificatif lié au dossier)
|
||||
|
||||
Reference in New Issue
Block a user