text: # Generated by Django 3.1.1 on 2020-11-09 13:20
  
  import cloudinary.models
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='categories',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('categories', models.TextField(max_length=200)),
              ],
          ),
          migrations.CreateModel(
              name='location',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('location', models.TextField(max_length=200)),
              ],
          ),
          migrations.CreateModel(
              name='Gallery',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(blank=True, max_length=400, null=True)),
                  ('descripton', models.TextField(blank=True, max_length=400, null=True)),
                  ('image', cloudinary.models.CloudinaryField(default='default.jpg', max_length=255)),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.categories')),
                  ('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.location')),
              ],
          ),
      ]
  