Projet

Général

Profil

Bug #17979

La migration 0003 de django_rbac créant un aggrégate max(boolean) n'est pas utile

Ajouté par Benjamin Dauvergne il y a plus de 6 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
11 août 2017
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Non
Planning:

Description

On peut remplacer cela par un simple cast.

Révisions associées

Révision 49bb78b3 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 6 ans

django_rbac: make migration 0003 useless (fixes #17979)

By casting boolean to int before aggregating them with MAX we work
around the absence of a MAX aggregate for the boolean type in postgres.

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#2

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF