text: # Generated by Django 2.0.6 on 2018-07-05 23:29
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Cities',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('latitude', models.DecimalField(decimal_places=8, max_digits=10)),
                  ('longitude', models.DecimalField(decimal_places=8, max_digits=11)),
              ],
          ),
          migrations.CreateModel(
              name='Countries',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('code', models.CharField(max_length=10)),
              ],
          ),
          migrations.CreateModel(
              name='States',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('code', models.CharField(max_length=10)),
                  ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_management.Countries')),
              ],
          ),
          migrations.AddField(
              model_name='cities',
              name='country',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_management.Countries'),
          ),
          migrations.AddField(
              model_name='cities',
              name='state',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='location_management.States'),
          ),
      ]
  