fix(backend): corriger format log UUID dans OrganisationResource
Erreur corrigée : UUID passé à %d (entier) au lieu de %s (string) - OrganisationResource.java:227 : LOG.infof(..., %s, id) Note : 36 tests échouent encore (problèmes d'auth, validation, NPE) Couverture actuelle : 50% (objectif 100% reporté) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
82
AUDIT_MIGRATIONS_PRECISE.md
Normal file
82
AUDIT_MIGRATIONS_PRECISE.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# Audit PRÉCIS - Migrations Flyway vs Entités JPA
|
||||
Date: 2026-03-16 01:21:41
|
||||
Généré avec extraction réelle des annotations @Table
|
||||
|
||||
## Tables trouvées dans les entités
|
||||
|
||||
| Entité | Table (@Table ou défaut) | Fichier | Dans migrations? |
|
||||
|--------|--------------------------|---------|------------------|
|
||||
| Adresse | `adresses` | Adresse.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| CampagneAgricole | `campagnes_agricoles` | CampagneAgricole.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| AlertConfiguration | `alert_configuration` | AlertConfiguration.java | ✅ V7__Monitoring_System.sql |
|
||||
| AlerteLcbFt | `alertes_lcb_ft` | AlerteLcbFt.java | ✅ V9__Create_Alertes_LCB_FT.sql |
|
||||
| ApproverAction | `approver_actions` | ApproverAction.java | ✅ V6__Create_Finance_Workflow_Tables.sql |
|
||||
| AuditLog | `audit_logs` | AuditLog.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| AyantDroit | `ayants_droit` | AyantDroit.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| Budget | `budgets` | Budget.java | ✅ V6__Create_Finance_Workflow_Tables.sql |
|
||||
| BudgetLine | `budget_lines` | BudgetLine.java | ✅ V6__Create_Finance_Workflow_Tables.sql |
|
||||
| CampagneCollecte | `campagnes_collecte` | CampagneCollecte.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| ContributionCollecte | `contributions_collecte` | ContributionCollecte.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| **CompteComptable** | `compte_comptable` | CompteComptable.java | **❌ MANQUANT** |
|
||||
| CompteWave | `comptes_wave` | CompteWave.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **Configuration** | `configuration` | Configuration.java | **❌ MANQUANT** |
|
||||
| **ConfigurationWave** | `configuration_wave` | ConfigurationWave.java | **❌ MANQUANT** |
|
||||
| Cotisation | `cotisations` | Cotisation.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| DonReligieux | `dons_religieux` | DonReligieux.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| **DemandeAdhesion** | `demande_adhesion` | DemandeAdhesion.java | **❌ MANQUANT** |
|
||||
| DemandeAide | `demandes_aide` | DemandeAide.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **Document** | `document` | Document.java | **❌ MANQUANT** |
|
||||
| **EcritureComptable** | `ecriture_comptable` | EcritureComptable.java | **❌ MANQUANT** |
|
||||
| Evenement | `evenements` | Evenement.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **Favori** | `favori` | Favori.java | **❌ MANQUANT** |
|
||||
| **FormuleAbonnement** | `formule_abonnement` | FormuleAbonnement.java | **❌ MANQUANT** |
|
||||
| EchelonOrganigramme | `echelons_organigramme` | EchelonOrganigramme.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| InscriptionEvenement | `inscriptions_evenement` | InscriptionEvenement.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **IntentionPaiement** | `intention_paiement` | IntentionPaiement.java | **❌ MANQUANT** |
|
||||
| **JournalComptable** | `journal_comptable` | JournalComptable.java | **❌ MANQUANT** |
|
||||
| **LigneEcriture** | `ligne_ecriture` | LigneEcriture.java | **❌ MANQUANT** |
|
||||
| **Membre** | `utilisateurs` | Membre.java | **❌ MANQUANT** |
|
||||
| **MembreOrganisation** | `membre_organisation` | MembreOrganisation.java | **❌ MANQUANT** |
|
||||
| **MembreRole** | `membre_role` | MembreRole.java | **❌ MANQUANT** |
|
||||
| MembreSuivi | `membre_suivi` | MembreSuivi.java | ✅ V5__Create_Membre_Suivi.sql |
|
||||
| **ModuleDisponible** | `module_disponible` | ModuleDisponible.java | **❌ MANQUANT** |
|
||||
| ModuleOrganisationActif | `modules_organisation_actifs` | ModuleOrganisationActif.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| DemandeCredit | `demandes_credit` | DemandeCredit.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| EcheanceCredit | `echeances_credit` | EcheanceCredit.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| GarantieDemande | `garanties_demande` | GarantieDemande.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| CompteEpargne | `comptes_epargne` | CompteEpargne.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| TransactionEpargne | `transactions_epargne` | TransactionEpargne.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| Notification | `notifications` | Notification.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| ProjetOng | `projets_ong` | ProjetOng.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| Organisation | `organisations` | Organisation.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| Paiement | `paiements` | Paiement.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| PaiementObjet | `paiements_objets` | PaiementObjet.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| ParametresCotisationOrganisation | `parametres_cotisation_organisation` | ParametresCotisationOrganisation.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| ParametresLcbFt | `parametres_lcb_ft` | ParametresLcbFt.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **Permission** | `permission` | Permission.java | **❌ MANQUANT** |
|
||||
| PieceJointe | `pieces_jointes` | PieceJointe.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| AgrementProfessionnel | `agrements_professionnels` | AgrementProfessionnel.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| Role | `roles` | Role.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **RolePermission** | `role_permission` | RolePermission.java | **❌ MANQUANT** |
|
||||
| **SouscriptionOrganisation** | `souscription_organisation` | SouscriptionOrganisation.java | **❌ MANQUANT** |
|
||||
| **Suggestion** | `suggestion` | Suggestion.java | **❌ MANQUANT** |
|
||||
| **SuggestionVote** | `suggestion_vote` | SuggestionVote.java | **❌ MANQUANT** |
|
||||
| SystemAlert | `system_alerts` | SystemAlert.java | ✅ V7__Monitoring_System.sql |
|
||||
| SystemLog | `system_logs` | SystemLog.java | ✅ V7__Monitoring_System.sql |
|
||||
| **TemplateNotification** | `template_notification` | TemplateNotification.java | **❌ MANQUANT** |
|
||||
| **Ticket** | `ticket` | Ticket.java | **❌ MANQUANT** |
|
||||
| Tontine | `tontines` | Tontine.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| TourTontine | `tours_tontine` | TourTontine.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| TransactionApproval | `transaction_approvals` | TransactionApproval.java | ✅ V6__Create_Finance_Workflow_Tables.sql |
|
||||
| **TransactionWave** | `transaction_wave` | TransactionWave.java | **❌ MANQUANT** |
|
||||
| TypeReference | `types_reference` | TypeReference.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| **ValidationEtapeDemande** | `validation_etape_demande` | ValidationEtapeDemande.java | **❌ MANQUANT** |
|
||||
| CampagneVote | `campagnes_vote` | CampagneVote.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| Candidat | `candidats` | Candidat.java | ✅ V2__Entity_Schema_Alignment.sql |
|
||||
| WebhookWave | `webhooks_wave` | WebhookWave.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
| WorkflowValidationConfig | `workflow_validation_config` | WorkflowValidationConfig.java | ✅ V1__UnionFlow_Complete_Schema.sql |
|
||||
|
||||
**Résultat**: 45/69 entités ont leur table, 24 manquantes.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user