Project

General

Profile

Bug #33745

fichiers de migration manquants depuis la version 2.1.65-1~eob80+1

Added by Paul Marillonnet almost 6 years ago. Updated almost 6 years ago.

Status:
En cours
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06 June 2019
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

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.


Files

History

#1

Updated by Paul Marillonnet almost 6 years ago

(Générées par le moteur de migrations de django 1.8)

#2

Updated by Benjamin Dauvergne almost 6 years ago

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é ?

#3

Updated by Benjamin Dauvergne almost 6 years ago

  • Status changed from Solution proposée to 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.

Also available in: Atom PDF