From 357ca93d21500d4d5a55f1bdd0550326d424bb26 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Wed, 13 Mar 2019 13:29:55 -0400 Subject: Fix mismatched charfield max_lengths Change-Id: I960710d800b614f93d06f5b0aff81d8b9508d5dd Signed-off-by: Sawyer Bergeron --- .../src/api/migrations/0006_auto_20190313_1729.py | 23 ++++++++++++++++++++++ dashboard/src/api/models.py | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 dashboard/src/api/migrations/0006_auto_20190313_1729.py (limited to 'dashboard/src') diff --git a/dashboard/src/api/migrations/0006_auto_20190313_1729.py b/dashboard/src/api/migrations/0006_auto_20190313_1729.py new file mode 100644 index 0000000..ec148bd --- /dev/null +++ b/dashboard/src/api/migrations/0006_auto_20190313_1729.py @@ -0,0 +1,23 @@ +# Generated by Django 2.1 on 2019-03-13 17:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0005_snapshotconfig_delta'), + ] + + operations = [ + migrations.AlterField( + model_name='opnfvapiconfig', + name='installer', + field=models.CharField(max_length=200), + ), + migrations.AlterField( + model_name='opnfvapiconfig', + name='scenario', + field=models.CharField(max_length=300), + ), + ] diff --git a/dashboard/src/api/models.py b/dashboard/src/api/models.py index b35adf2..f8b8f89 100644 --- a/dashboard/src/api/models.py +++ b/dashboard/src/api/models.py @@ -343,8 +343,8 @@ class TaskConfig(models.Model): class OpnfvApiConfig(models.Model): - installer = models.CharField(max_length=100) - scenario = models.CharField(max_length=100) + installer = models.CharField(max_length=200) + scenario = models.CharField(max_length=300) roles = models.ManyToManyField(Host) delta = models.TextField() -- cgit 1.2.3-korg