diff --git a/sapl/legacy/management/__init__.py b/sapl/legacy/management/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/sapl/legacy/management/commands/__init__.py b/sapl/legacy/management/commands/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/sapl/legacy/management/commands/migracao_25_31.py b/sapl/legacy/management/commands/migracao_25_31.py new file mode 100644 index 000000000..199075d44 --- /dev/null +++ b/sapl/legacy/management/commands/migracao_25_31.py @@ -0,0 +1,9 @@ +from django.core.management.base import BaseCommand +from sapl.legacy import migration + + +class Command(BaseCommand): + help = u'Faz a migração de dados do SAPL 2.5 para o SAPL 3.1' + + def handle(self, *args, **options): + migration.migrate()