text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11 on 2019-06-17 09:40
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('category', models.CharField(max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image_path', models.ImageField(default='', upload_to='images/')),
                  ('image_name', models.CharField(max_length=50)),
                  ('image_description', models.TextField()),
                  ('image_category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='PHOTOS.Category')),
              ],
              options={
                  'ordering': ['-id'],
              },
          ),
          migrations.CreateModel(
              name='Location',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('location', models.CharField(max_length=50)),
              ],
          ),
          migrations.AddField(
              model_name='image',
              name='image_location',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='PHOTOS.Location'),
          ),
      ]
  