Skip to content

Commit

Permalink
Merge pull request #9 from esteinborn/message-updates
Browse files Browse the repository at this point in the history
adjust max message size limit
  • Loading branch information
esteinborn authored Apr 20, 2018
2 parents 4f436a2 + b6a4285 commit 1d23724
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0009_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
],
),
Expand Down
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0010_auto_20180402_1857.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
]
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0012_auto_20180402_1919.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
]
2 changes: 1 addition & 1 deletion twilio_mgr/migrations/0021_auto_20180412_2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
]
2 changes: 1 addition & 1 deletion twilio_mgr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1d23724

Please sign in to comment.