text: # Generated by Django 3.2.4 on 2021-07-05 06:22
  
  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=30)),
              ],
          ),
          migrations.CreateModel(
              name='Location',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('location', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Image',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image_name', models.CharField(max_length=30)),
                  ('image_description', models.TextField()),
                  ('pub_date', models.DateTimeField(auto_now_add=True, null=True)),
                  ('gallery_image', models.ImageField(upload_to='gallery_image/')),
                  ('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='pics.category')),
                  ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='pics.location')),
              ],
              options={
                  'ordering': ['pub_date'],
              },
          ),
      ]
  