# Generated by Django 3.0.8 on 2020-07-27 17:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('lostplaces_app', '0001_initial'), ] operations = [ migrations.CreateModel( name='PlaceImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('filename', models.ImageField(max_length=50, upload_to='places/%Y/%m/')), ('description', models.TextField()), ('place', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='images', to='lostplaces_app.Place')), ], ), ]