From 83222080c2d60729dfd07429b6f6cefcd3b0293b Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Thu, 12 Jul 2018 17:38:15 +0200 Subject: [PATCH] Et la migration pour sftp --- .../migrations/0049_auto_20180712_1713.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 preferences/migrations/0049_auto_20180712_1713.py diff --git a/preferences/migrations/0049_auto_20180712_1713.py b/preferences/migrations/0049_auto_20180712_1713.py new file mode 100644 index 00000000..e47f547d --- /dev/null +++ b/preferences/migrations/0049_auto_20180712_1713.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2018-07-12 15:13 +from __future__ import unicode_literals + +from django.db import migrations, models +import re2o.aes_field + + +class Migration(migrations.Migration): + + dependencies = [ + ('preferences', '0048_switchmanagementcred'), + ] + + operations = [ + migrations.AddField( + model_name='optionaltopologie', + name='sftp_login', + field=models.CharField(blank=True, help_text='Login sftp des switchs', max_length=32, null=True), + ), + migrations.AddField( + model_name='optionaltopologie', + name='sftp_pass', + field=re2o.aes_field.AESEncryptedField(blank=True, help_text='Mot de passe sftp', max_length=63, null=True), + ), + migrations.AddField( + model_name='optionaltopologie', + name='switchs_provision', + field=models.CharField(choices=[('sftp', 'sftp'), ('tftp', 'tftp')], default='tftp', help_text='Mode de récupération des confs par les switchs', max_length=32), + ), + ]