diff --git a/program/migrations/0032_auto_20220803_2312.py b/program/migrations/0032_auto_20220803_2312.py new file mode 100644 index 0000000000000000000000000000000000000000..fb5d6b915caefb69e4f3849b86e65c194ec23468 --- /dev/null +++ b/program/migrations/0032_auto_20220803_2312.py @@ -0,0 +1,51 @@ +# Generated by Django 3.2.14 on 2022-08-03 21:12 + +import versatileimagefield.fields + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("program", "0031_auto_20220803_2226"), + ] + + operations = [ + migrations.RenameField( + model_name="host", + old_name="height", + new_name="image_height", + ), + migrations.RenameField( + model_name="host", + old_name="ppoi", + new_name="image_ppoi", + ), + migrations.RenameField( + model_name="host", + old_name="width", + new_name="image_width", + ), + migrations.AddField( + model_name="host", + name="image_alt_text", + field=models.TextField(blank=True, null=True), + ), + migrations.AddField( + model_name="host", + name="image_credits", + field=models.TextField(blank=True, null=True), + ), + migrations.AlterField( + model_name="host", + name="image", + field=versatileimagefield.fields.VersatileImageField( + blank=True, + height_field="image_height", + null=True, + upload_to="images", + width_field="image_width", + ), + ), + ]