summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 13:29:55 -0400
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 13:29:55 -0400
commit357ca93d21500d4d5a55f1bdd0550326d424bb26 (patch)
treeb1a25e422a53599f8e216fa98e0d2dcc15cfc795
parentdb0950a683d8400240d57fcdc5612979a2a146aa (diff)
Fix mismatched charfield max_lengths
Change-Id: I960710d800b614f93d06f5b0aff81d8b9508d5dd Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
-rw-r--r--dashboard/src/api/migrations/0006_auto_20190313_1729.py23
-rw-r--r--dashboard/src/api/models.py4
2 files changed, 25 insertions, 2 deletions
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()