text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11 on 2018-10-22 16:46
  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='Business',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('business_name', models.CharField(max_length=40)),
                  ('business_email', models.CharField(max_length=40)),
              ],
          ),
          migrations.CreateModel(
              name='Location',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(blank=True, choices=[('Nairobi', 'Nairobi'), ('kisumu', 'kisumu'), ('Ayany', 'Ayany'), ('Fort_Jesus', 'Fort_Jesus'), ('Kampala', 'Kampala')], max_length=200)),
              ],
          ),
          migrations.CreateModel(
              name='Neighborhood',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('neighborhood_location', models.CharField(blank=True, choices=[('Nairobi', 'Nairobi'), ('kisumu', 'kisumu'), ('Ayany', 'Ayany'), ('Fort_Jesus', 'Fort_Jesus'), ('Kampala', 'Kampala')], default=0, max_length=200, null=True)),
                  ('neighborhood_name', models.CharField(max_length=30)),
                  ('population', models.IntegerField(blank=True, default=0, null=True)),
              ],
          ),
          migrations.CreateModel(
              name='Posts',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=40)),
                  ('image', models.ImageField(upload_to='picture/')),
                  ('description', models.TextField()),
                  ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='hoodip4.Location')),
                  ('user', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts', to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('user_name', models.CharField(max_length=50)),
                  ('bio', models.CharField(max_length=50)),
                  ('profile_picture', models.ImageField(upload_to='profiles/')),
                  ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='hoodip4.Location')),
                  ('neighborhood', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='hoodip4.Neighborhood')),
                  ('user', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='business',
              name='neighborhood',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='hoodip4.Neighborhood'),
          ),
          migrations.AddField(
              model_name='business',
              name='user',
              field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, related_name='images', to=settings.AUTH_USER_MODEL),
          ),
      ]
  