text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.17 on 2021-01-18 07:52
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('InstaClone', '0003_auto_20210118_1048'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('photo_url', models.ImageField(upload_to='images/')),
                  ('name', models.CharField(max_length=100)),
                  ('likes', models.IntegerField()),
                  ('captions', models.TextField(max_length=160)),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.RemoveField(
              model_name='photo',
              name='user',
          ),
          migrations.AlterField(
              model_name='comments',
              name='photo',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='InstaClone.Image'),
          ),
          migrations.AlterField(
              model_name='profile',
              name='profile_photo',
              field=models.ImageField(upload_to='images/'),
          ),
          migrations.DeleteModel(
              name='Photo',
          ),
      ]
  