Fix MySQL migration (#57)

* Use CharField, not TextField for MySQL compat.

* black formatting
This commit is contained in:
Scot Hacker 2019-03-25 07:43:53 -07:00 committed by GitHub
parent 70cac8b4e9
commit f6d79879ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 21 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 2.1.4 on 2018-12-21 14:01
# Generated by Django 2.1.7 on 2019-03-24 22:50
from django.conf import settings
from django.db import migrations, models
@ -18,7 +18,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="comment",
name="email_message_id",
field=models.TextField(blank=True, null=True),
field=models.CharField(blank=True, max_length=255, null=True),
),
migrations.AlterField(
model_name="comment",