Fix MySQL migration (#57)
* Use CharField, not TextField for MySQL compat. * black formatting
This commit is contained in:
parent
70cac8b4e9
commit
f6d79879ae
3 changed files with 22 additions and 21 deletions
|
@ -130,7 +130,7 @@ class Comment(models.Model):
|
|||
task = models.ForeignKey(Task, on_delete=models.CASCADE)
|
||||
date = models.DateTimeField(default=datetime.datetime.now)
|
||||
email_from = models.CharField(max_length=320, blank=True, null=True)
|
||||
email_message_id = models.TextField(blank=True, null=True)
|
||||
email_message_id = models.CharField(max_length=255, blank=True, null=True)
|
||||
|
||||
body = models.TextField(blank=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue