text: # Generated by Django 4.0.2 on 2022-02-26 12:06
  
  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.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Location',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
                  ('description', models.TextField(max_length=2000)),
                  ('image', models.ImageField(upload_to='tracy/')),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.category')),
                  ('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.location')),
              ],
          ),
      ]
  