Skip to content

Remplacement de la clé primaire de Collectivité - #2564

Draft
celine-m-s wants to merge 3 commits into
celinems/abstract_idfrom
celinems/1588
Draft

celine-m-s wants to merge 3 commits into
celinems/abstract_idfrom
celinems/1588

Conversation

@celine-m-s

@celine-m-s celine-m-s commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Étapes à travailler.

@celine-m-s celine-m-s self-assigned this Nov 19, 2026
The method finds a matching CommuneProcedure.commune and
fills CommuneProcedure.commune_uuid.
Because every Commune cannot be found, as some code INSEE don't exist
in the database, commune_uuid can be null.
It's not a management command because it needs to run just before
the field is converted into a foreign key.
The class method is not optimized but it's not a problem here.
This code will run only once and will be removed.
@celine-m-s celine-m-s changed the title Données : ajout d'une clé abstraite et correction de CommuneProcedure Données : correction de CommuneProcedure périmètre non trouvé Nov 23, 2026
@celine-m-s
celine-m-s marked this pull request as ready for review November 23, 2026 19:33
@celine-m-s celine-m-s changed the title Données : correction de CommuneProcedure périmètre non trouvé Remplacement de la clé primaire de Collectivité Nov 23, 2026
@celine-m-s
celine-m-s changed the base branch from main to celinems/abstract_id November 23, 2026 19:38
@celine-m-s
celine-m-s marked this pull request as draft November 24, 2026 14:37
@celine-m-s
celine-m-s force-pushed the celinems/abstract_id branch 2 times, most recently from fb16f26 to 080ec2e Compare November 24, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Utiliser les ID abstraits des objets Commune et Collectivité dans le code Nuxt. Cette étape devrait résoudre le souci des les communes en undefined.

1 participant