Projet

Général

Profil

Bug #13363

La création d'index partiels sur SQLite ne peut pas marcher, autant ne pas le tester ni les créer

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
28 septembre 2016
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Le support des migrations pour SQLite est trop insuffisant pour le permettre (à chaque évolution d'un modèle la table est entièrement détruite et recréée, au passage tous les indexs partiels sont perdus).

Révisions associées

Révision a2142a78 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 7 ans

partial indexes cannot be created on SQLite (fixes #13363)

The SQLite schema_editor recreates the tables after each alter, as partial index
creation is not a natively supported migration operation, it's erased and never
recreated.

This commit also improve the way we generate where clause for partial indexes
allowing interpolation of values in SQL.

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 7 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 7 ans

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

Formats disponibles : Atom PDF