diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-03-13 13:29:55 -0400 |
---|---|---|
committer | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-03-13 13:29:55 -0400 |
commit | be1c52d073fe16375a95a74d39fff08274924211 (patch) | |
tree | 53f479bf9040147664b56bf86f216e5043da6f84 | |
parent | 709a1dfdb50de80275d23c45be013c40388d7044 (diff) |
Fix mismatched charfield max_lengths
Change-Id: I960710d800b614f93d06f5b0aff81d8b9508d5dd
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
-rw-r--r-- | src/api/migrations/0006_auto_20190313_1729.py | 23 | ||||
-rw-r--r-- | src/api/models.py | 4 |
2 files changed, 25 insertions, 2 deletions
diff --git a/src/api/migrations/0006_auto_20190313_1729.py b/src/api/migrations/0006_auto_20190313_1729.py new file mode 100644 index 0000000..ec148bd --- /dev/null +++ b/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/src/api/models.py b/src/api/models.py index b35adf2..f8b8f89 100644 --- a/src/api/models.py +++ b/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() |