From dbdaca8dd42296efc618ce812a099d93ad6e54cd Mon Sep 17 00:00:00 2001 From: Tony Zhu Date: Wed, 22 Apr 2015 15:26:53 -0400 Subject: [PATCH] django 1.8 email field size migration --- helpdesk/migrations/0006_email_maxlength.py | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 helpdesk/migrations/0006_email_maxlength.py diff --git a/helpdesk/migrations/0006_email_maxlength.py b/helpdesk/migrations/0006_email_maxlength.py new file mode 100644 index 00000000..7c50b32a --- /dev/null +++ b/helpdesk/migrations/0006_email_maxlength.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('helpdesk', '0005_queues_no_null'), + ] + + operations = [ + migrations.AlterField( + model_name='queue', + name='email_address', + field=models.EmailField(help_text='All outgoing e-mails for this queue will use this e-mail address. If you use IMAP or POP3, this should be the e-mail address for that mailbox.', max_length=254, null=True, verbose_name='E-Mail Address', blank=True), + ), + migrations.AlterField( + model_name='ticket', + name='submitter_email', + field=models.EmailField(help_text='The submitter will receive an email for all public follow-ups left for this task.', max_length=254, null=True, verbose_name='Submitter E-Mail', blank=True), + ), + migrations.AlterField( + model_name='ticketcc', + name='email', + field=models.EmailField(help_text='For non-user followers, enter their e-mail address', max_length=254, null=True, verbose_name='E-Mail Address', blank=True), + ), + ]