text: # Generated by Django 3.2.9 on 2021-12-04 08:21
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('bongaapp', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Comment',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('content', models.TextField(max_length=500)),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image', models.ImageField(upload_to='')),
                  ('name', models.CharField(max_length=50)),
                  ('caption', models.CharField(blank=True, max_length=500)),
                  ('location', models.CharField(blank=True, max_length=50)),
                  ('date_posted', models.DateField(default=django.utils.timezone.now)),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Like',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                  ('image', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bongaapp.image')),
              ],
          ),
          migrations.DeleteModel(
              name='EmailRecipients',
          ),
          migrations.AddField(
              model_name='comment',
              name='image',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='bongaapp.image'),
          ),
      ]
  