diff --git a/twilio_mgr/migrations/0009_message.py b/twilio_mgr/migrations/0009_message.py index d6f58ea..26562f7 100644 --- a/twilio_mgr/migrations/0009_message.py +++ b/twilio_mgr/migrations/0009_message.py @@ -14,7 +14,7 @@ class Migration(migrations.Migration): name='Message', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('message', models.CharField(max_length=400)), + ('message', models.CharField(max_length=1000)), ('keyword', models.CharField(max_length=100)), ], ), diff --git a/twilio_mgr/migrations/0010_auto_20180402_1857.py b/twilio_mgr/migrations/0010_auto_20180402_1857.py index d380355..d55e513 100644 --- a/twilio_mgr/migrations/0010_auto_20180402_1857.py +++ b/twilio_mgr/migrations/0010_auto_20180402_1857.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='message', name='message', - field=models.CharField(max_length=400, unique=True), + field=models.CharField(max_length=1000, unique=True), ), ] diff --git a/twilio_mgr/migrations/0012_auto_20180402_1919.py b/twilio_mgr/migrations/0012_auto_20180402_1919.py index c2be377..6c499ea 100644 --- a/twilio_mgr/migrations/0012_auto_20180402_1919.py +++ b/twilio_mgr/migrations/0012_auto_20180402_1919.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='messagelog', name='message', - field=models.CharField(max_length=400, null=True), + field=models.CharField(max_length=1000, null=True), ), ] diff --git a/twilio_mgr/migrations/0021_auto_20180412_2019.py b/twilio_mgr/migrations/0021_auto_20180412_2019.py index a3add4d..af18550 100644 --- a/twilio_mgr/migrations/0021_auto_20180412_2019.py +++ b/twilio_mgr/migrations/0021_auto_20180412_2019.py @@ -18,6 +18,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='message', name='message', - field=models.CharField(max_length=400), + field=models.CharField(max_length=1000), ), ] diff --git a/twilio_mgr/models.py b/twilio_mgr/models.py index 890e05c..16b2bcd 100644 --- a/twilio_mgr/models.py +++ b/twilio_mgr/models.py @@ -60,7 +60,7 @@ def __str__(self): class MessageLog(models.Model): sms_number = models.CharField(max_length=100, null=True, blank=True) #models.ForeignKey(SmsNumber, null=True, on_delete=models.SET_NULL) email = models.CharField(max_length=100, null=True, blank=True) - message = models.CharField(max_length=400, null=True) + message = models.CharField(max_length=1000, null=True) date_sent = models.DateTimeField(auto_now_add=True, blank=True) def __str__(self):