Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amélioration des contraintes foreign de la table arête_personne__cap_écriture_annotation #87

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

DavidBruant
Copy link
Collaborator

En essayant de re-générer un code_accès par email, la base de donnée refusait de modifier le code_accès, parce que ça transgressait la contrainte foreign de arête_personne__cap_écriture_annotation.personne_cap

Cette PR rajoute surtout un .onUpdate('CASCADE') à cette colonne pour que quand le code change, la colonne arête_personne__cap_écriture_annotation.personne_cap est modifiée avec la nouvelle valeur

@DavidBruant DavidBruant merged commit 5fb581b into main Sep 18, 2024
1 check passed
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.

1 participant