text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.29 on 2021-01-05 17:36
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import tinymce.models
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Comments',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('comment', models.CharField(max_length=100)),
              ],
          ),
          migrations.CreateModel(
              name='Follow',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('from_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image_name', models.CharField(max_length=100, null=True)),
                  ('image_caption', models.CharField(blank=True, max_length=100)),
                  ('image', models.ImageField(null=True, upload_to='uploads/')),
                  ('date', models.DateTimeField(auto_now_add=True, null=True)),
                  ('likes', models.IntegerField(default=0)),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('firstname', models.CharField(blank=True, max_length=100)),
                  ('lastname', models.CharField(blank=True, max_length=100)),
                  ('profile_photo', models.ImageField(null=True, upload_to='profile_photos/')),
                  ('bio', tinymce.models.HTMLField()),
                  ('date', models.DateTimeField(auto_now_add=True, null=True)),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='image',
              name='profile',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='insta_app.Profile'),
          ),
          migrations.AddField(
              model_name='image',
              name='user',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.AddField(
              model_name='follow',
              name='profile',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='insta_app.Profile'),
          ),
          migrations.AddField(
              model_name='comments',
              name='commented_image',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='insta_app.Image'),
          ),
          migrations.AddField(
              model_name='comments',
              name='posted_by',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='insta_app.Profile'),
          ),
      ]
  