Development #63690
supprimer l'utilisation de CreatePartialIndexes
Début:
07 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
On peut désormais créer des index d'unicité partiels via models.UniqueConstraint(). Au passage je change la Service.ou pour être non null, aucun service ne doit être en dehors d'une OU.
Fichiers
Révisions associées
api: fix non determinism in statistics API tests (#63690)
Ordering of services and OUs in options lists was not stable.
misc: drop use of custom partial index on AttributeValue (#63690)
misc: drop use of custom partial index on Role and Permission (#63690)
Historique
Mis à jour par Benjamin Dauvergne il y a environ 2 ans
- Fichier 0002-api-fix-non-determinism-in-statistics-API-tests-6369.patch 0002-api-fix-non-determinism-in-statistics-API-tests-6369.patch ajouté
- Fichier 0001-misc-drop-use-of-custom-partial-index-on-Service-636.patch 0001-misc-drop-use-of-custom-partial-index-on-Service-636.patch ajouté
- Fichier 0003-misc-drop-use-of-custom-partial-index-on-AttributeVa.patch 0003-misc-drop-use-of-custom-partial-index-on-AttributeVa.patch ajouté
- Fichier 0004-misc-drop-use-of-custom-partial-index-on-Role-and-Pe.patch 0004-misc-drop-use-of-custom-partial-index-on-Role-and-Pe.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a environ 2 ans
- Fichier 0002-api-fix-non-determinism-in-statistics-API-tests-6369.patch 0002-api-fix-non-determinism-in-statistics-API-tests-6369.patch ajouté
- Fichier 0001-misc-drop-use-of-custom-partial-index-on-Service-636.patch 0001-misc-drop-use-of-custom-partial-index-on-Service-636.patch ajouté
- Fichier 0003-misc-drop-use-of-custom-partial-index-on-AttributeVa.patch 0003-misc-drop-use-of-custom-partial-index-on-AttributeVa.patch ajouté
- Fichier 0004-misc-drop-use-of-custom-partial-index-on-Role-and-Pe.patch 0004-misc-drop-use-of-custom-partial-index-on-Role-and-Pe.patch ajouté
Correction du bazar dans les migrations a2_rbac.
Mis à jour par Serghei Mihai il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit a3dd7bf98c36da663cd8ba0a0d14d89315cf2737 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 7 17:31:56 2022 +0200 misc: drop use of custom partial index on Role and Permission (#63690) commit c595b667e53c5803524100fd98c92b14d7a99cd4 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 7 17:22:34 2022 +0200 misc: drop use of custom partial index on AttributeValue (#63690) commit 388c508ed424cb21ed86ad1bddaaefeea21ab77d Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 7 18:23:13 2022 +0200 api: fix non determinism in statistics API tests (#63690) Ordering of services and OUs in options lists was not stable. commit 646a9fd5084171db477fabe0fcfc602cbbe7294c Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 7 17:17:11 2022 +0200 misc: drop use of custom partial index on Service (#63690) Many tests had to be modified as many Service where used without an OU defined.
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: drop use of custom partial index on Service (#63690)
Many tests had to be modified as many Service where used without an OU
defined.