text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11 on 2019-05-20 16:31
  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):
  
      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')),
                  ('comments', models.CharField(max_length=100)),
              ],
              options={
                  'verbose_name_plural': 'Comments',
              },
          ),
          migrations.CreateModel(
              name='Posts',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('images', models.ImageField(upload_to='posts/')),
                  ('caption', models.TextField()),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('first_name', models.CharField(max_length=100)),
                  ('last_name', models.CharField(max_length=100)),
                  ('username', models.CharField(max_length=100)),
                  ('email', models.EmailField(max_length=254)),
                  ('profile_photo', models.ImageField(upload_to='profiles/')),
                  ('website', models.CharField(max_length=50)),
                  ('bio', models.CharField(max_length=50)),
                  ('phone', models.CharField(blank=True, max_length=15)),
                  ('user_id', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'ordering': ['username'],
              },
          ),
          migrations.CreateModel(
              name='tag',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('tag', models.CharField(max_length=100)),
              ],
          ),
          migrations.AddField(
              model_name='posts',
              name='profile',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='instapics.Profile'),
          ),
          migrations.AddField(
              model_name='posts',
              name='tag',
              field=models.ManyToManyField(to='instapics.tag'),
          ),
          migrations.AddField(
              model_name='comments',
              name='posts_id',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts_comments', to='instapics.Posts'),
          ),
          migrations.AddField(
              model_name='comments',
              name='user_id',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user', to=settings.AUTH_USER_MODEL),
          ),
      ]
  