From 0680a42d9d190232878d5e43679256bd671e016a Mon Sep 17 00:00:00 2001 From: Marcus Christie Date: Mon, 22 Jun 2020 14:20:19 -0400 Subject: [PATCH] #22 Change name column to 255 chars --- interactwel/migrations/0015_auto_20200615_1719.py | 2 +- interactwel/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interactwel/migrations/0015_auto_20200615_1719.py b/interactwel/migrations/0015_auto_20200615_1719.py index 5fb0d5ae..e4740fb4 100644 --- a/interactwel/migrations/0015_auto_20200615_1719.py +++ b/interactwel/migrations/0015_auto_20200615_1719.py @@ -17,7 +17,7 @@ class Migration(migrations.Migration): name='InteractwelProjectData', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=256)), + ('name', models.CharField(max_length=255)), ('data_type', models.CharField(max_length=256)), ('data', models.TextField(blank=True)), ('project_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='interactwel.InteractwelProject')), diff --git a/interactwel/models.py b/interactwel/models.py index a2c6a61d..d698d319 100755 --- a/interactwel/models.py +++ b/interactwel/models.py @@ -278,7 +278,7 @@ class Meta: class InteractwelProjectData(models.Model): project_id = models.ForeignKey(InteractwelProject, on_delete=models.CASCADE) - name = models.CharField(max_length=256) + name = models.CharField(max_length=255) data_type = models.CharField(max_length=256) data = models.TextField(blank=True)