<filename>mysite/gallery/migrations/0004_bucket_bucketupload.py
# Generated by Django 2.1.7 on 2019-05-17 09:06

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('gallery', '0003_image_description'),
    ]

    operations = [
        migrations.CreateModel(
            name='Bucket',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=500)),
                ('imagefile', models.ImageField(null=True, upload_to='images/', verbose_name='')),
                ('description', models.CharField(max_length=500)),
            ],
        ),
        migrations.CreateModel(
            name='BucketUpload',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('imgname', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.Bucket')),
            ],
        ),
    ]

<filename>mysite/gallery/migrations/0004_bucket_bucketupload.py
# Generated by Django 2.1.7 on 2019-05-17 09:06

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('gallery', '0003_image_description'),
    ]

    operations = [
        migrations.CreateModel(
            name='Bucket',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=500)),
                ('imagefile', models.ImageField(null=True, upload_to='images/', verbose_name='')),
                ('description', models.CharField(max_length=500)),
            ],
        ),
        migrations.CreateModel(
            name='BucketUpload',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('imgname', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gallery.Bucket')),
            ],
        ),
    ]

# Generated by Django 2.1.7 on 2019-05-17 09:06