Bug #33745
fichiers de migration manquants depuis la version 2.1.65-1~eob80+1
Statut:
En cours
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
06 juin 2019
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
On me signale des migrations manquantes, l'erreur est remontée à l'exécution de la commande d'application de celles-ci :
# authentic2-ctl migrate Operations to perform: Synchronize unmigrated apps: authentic2_idp_saml, jquery, staticfiles, gadjo, authentic2_auth_saml, messages, disco_service, authentic2_provisionning_ldap, django_select2, manager, auth2_auth, django_tables2, jquery_ui, rest_framework, select2 Apply all migrations: nonce, sessions, mellon, saml, authentic2_auth_oidc, authentic2, admin, authentic2_idp_cas, a2_rbac, auth, attribute_aggregator, contenttypes, django_rbac, idp, authentic2_idp_oidc, auth2_ssl, custom_user Synchronizing apps without migrations: Creating tables... Running deferred SQL... Installing custom SQL... Running migrations: No migrations to apply. Your models have changes that are not yet reflected in a migration, and so won't be applied. Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
Fichiers
Historique
Mis à jour par Paul Marillonnet il y a presque 5 ans
- Fichier 0001-add-missing-migration-files-33745.patch 0001-add-missing-migration-files-33745.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
(Générées par le moteur de migrations de django 1.8)
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
Si c'est juste des changements de méta-données faut les reporter dans les migrations précédentes, tu peux détailler ce qui a changé ?
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
- Statut changé de Solution proposée à En cours
Il faut juste modifier les migrations précédentes pour remplacer authentic2.utils.get_hex_uuid par django_rbac.utils.get_hex_uuid.