Adjust boarding pass template migration

Change subject length in initial migration
to ensure it is in place prior to the default template being created.
This commit is contained in:
Joel Addison 2021-07-05 22:28:43 +10:00
parent 690053ae14
commit 244bb87b8c
2 changed files with 1 additions and 6 deletions

View file

@ -66,7 +66,7 @@ class Migration(migrations.Migration):
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('label', models.CharField(max_length=100, verbose_name='Label')),
('from_address', models.EmailField(max_length=254, verbose_name='From address')),
('subject', models.CharField(max_length=100, verbose_name='Subject')),
('subject', models.CharField(max_length=255, verbose_name='Subject')),
('body', models.TextField(verbose_name='Body')),
('html_body', models.TextField(null=True, verbose_name='HTML Body')),
],

View file

@ -14,9 +14,4 @@ class Migration(migrations.Migration):
name='boardingpass',
options={'permissions': (('view_boarding_pass', 'Can view sent boarding passes'), ('send_boarding_pass', 'Can send boarding passes')), 'verbose_name': 'Boarding Pass', 'verbose_name_plural': 'Boarding Passes'},
),
migrations.AlterField(
model_name='boardingpasstemplate',
name='subject',
field=models.CharField(max_length=255, verbose_name='Subject'),
),
]