text: # Generated by Django 3.2.10 on 2022-03-28 15:02
  
  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=30)),
              ],
          ),
          migrations.CreateModel(
              name='Location',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Pic',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('image', models.ImageField(upload_to='images/')),
                  ('description', models.TextField()),
                  ('name', models.CharField(max_length=30)),
                  ('upload_date', models.DateTimeField(auto_now_add=True)),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pics.category')),
                  ('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pics.location')),
              ],
          ),
      ]
  