text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.8 on 2019-07-07 19:07
  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='Ammenities',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('police_station', models.CharField(max_length=100)),
                  ('Hospital', models.CharField(max_length=100)),
                  ('School', models.CharField(max_length=100)),
              ],
          ),
          migrations.CreateModel(
              name='Business',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('owner', models.CharField(max_length=40)),
                  ('business', models.CharField(max_length=200)),
                  ('email', models.EmailField(max_length=200)),
                  ('description', models.TextField(max_length=200)),
              ],
          ),
          migrations.CreateModel(
              name='Concerns',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=50)),
                  ('description', models.CharField(max_length=200)),
                  ('posted_on', models.DateTimeField(auto_now_add=True)),
                  ('profile', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Hood',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image', models.ImageField(default='image.png', upload_to='hoods/')),
                  ('name', models.CharField(max_length=20)),
                  ('location', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image', models.ImageField(default='image.png', upload_to='profiles/')),
                  ('name', models.CharField(max_length=30)),
                  ('phone_number', models.IntegerField()),
                  ('bio', tinymce.models.HTMLField(default='About me', max_length=500)),
                  ('street_name', models.CharField(max_length=30)),
                  ('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='business',
              name='location',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='hoood.Hood'),
          ),
          migrations.AddField(
              model_name='business',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.AddField(
              model_name='ammenities',
              name='location',
              field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.CASCADE, to='hoood.Hood'),
          ),
      ]
  