# Generated by Django 3.0.3 on 2020-02-24 18:11

from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.core.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('wagtailcore', '0045_assign_unlock_grouppagepermission'),
        ('wagtailimages', '0001_squashed_0021'),
    ]

    operations = [
        migrations.CreateModel(
            name='Event',
            fields=[
                ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
                ('description', wagtail.core.fields.RichTextField(blank=True, help_text='A short description of the room.', verbose_name='Description')),
                ('start_date', models.DateField(blank=True, null=True, verbose_name='Start Date')),
                ('end_date', models.DateField(blank=True, null=True, verbose_name='End Date')),
            ],
            options={
                'abstract': False,
            },
            bases=('wagtailcore.page',),
        ),
        migrations.CreateModel(
            name='RoomPageGalleryImage',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sort_order', models.IntegerField(blank=True, editable=False, null=True)),
                ('caption', models.CharField(blank=True, max_length=250)),
                ('image', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='wagtailimages.Image')),
                ('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='event_images', to='events.Event')),
            ],
            options={
                'ordering': ['sort_order'],
                'abstract': False,
            },
        ),
    ]

8a2b630e39787604d4d70103c321bf3e630398e2
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('wagtailcore',
        '0045_assign_unlock_grouppagepermission'), ('wagtailimages',
        '0001_squashed_0021')]
    operations = [migrations.CreateModel(name='Event', fields=[('page_ptr',
        models.OneToOneField(auto_created=True, on_delete=django.db.models.
        deletion.CASCADE, parent_link=True, primary_key=True, serialize=
        False, to='wagtailcore.Page')), ('description', wagtail.core.fields
        .RichTextField(blank=True, help_text=
        'A short description of the room.', verbose_name='Description')), (
        'start_date', models.DateField(blank=True, null=True, verbose_name=
        'Start Date')), ('end_date', models.DateField(blank=True, null=True,
        verbose_name='End Date'))], options={'abstract': False}, bases=(
        'wagtailcore.page',)), migrations.CreateModel(name=
        'RoomPageGalleryImage', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('sort_order', models.IntegerField(blank=True, editable=
        False, null=True)), ('caption', models.CharField(blank=True,
        max_length=250)), ('image', models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='+', to='wagtailimages.Image'
        )), ('page', modelcluster.fields.ParentalKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='event_images', to=
        'events.Event'))], options={'ordering': ['sort_order'], 'abstract':
        False})]

from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.core.fields


class Migration(migrations.Migration):
    initial = True
    dependencies = [('wagtailcore',
        '0045_assign_unlock_grouppagepermission'), ('wagtailimages',
        '0001_squashed_0021')]
    operations = [migrations.CreateModel(name='Event', fields=[('page_ptr',
        models.OneToOneField(auto_created=True, on_delete=django.db.models.
        deletion.CASCADE, parent_link=True, primary_key=True, serialize=
        False, to='wagtailcore.Page')), ('description', wagtail.core.fields
        .RichTextField(blank=True, help_text=
        'A short description of the room.', verbose_name='Description')), (
        'start_date', models.DateField(blank=True, null=True, verbose_name=
        'Start Date')), ('end_date', models.DateField(blank=True, null=True,
        verbose_name='End Date'))], options={'abstract': False}, bases=(
        'wagtailcore.page',)), migrations.CreateModel(name=
        'RoomPageGalleryImage', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('sort_order', models.IntegerField(blank=True, editable=
        False, null=True)), ('caption', models.CharField(blank=True,
        max_length=250)), ('image', models.ForeignKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='+', to='wagtailimages.Image'
        )), ('page', modelcluster.fields.ParentalKey(on_delete=django.db.
        models.deletion.CASCADE, related_name='event_images', to=
        'events.Event'))], options={'ordering': ['sort_order'], 'abstract':
        False})]

# Generated by Django 3.0.3 on 2020-02-24 18:11

from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
import wagtail.core.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('wagtailcore', '0045_assign_unlock_grouppagepermission'),
        ('wagtailimages', '0001_squashed_0021'),
    ]

    operations = [
        migrations.CreateModel(
            name='Event',
            fields=[
                ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
                ('description', wagtail.core.fields.RichTextField(blank=True, help_text='A short description of the room.', verbose_name='Description')),
                ('start_date', models.DateField(blank=True, null=True, verbose_name='Start Date')),
                ('end_date', models.DateField(blank=True, null=True, verbose_name='End Date')),
            ],
            options={
                'abstract': False,
            },
            bases=('wagtailcore.page',),
        ),
        migrations.CreateModel(
            name='RoomPageGalleryImage',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sort_order', models.IntegerField(blank=True, editable=False, null=True)),
                ('caption', models.CharField(blank=True, max_length=250)),
                ('image', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='wagtailimages.Image')),
                ('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='event_images', to='events.Event')),
            ],
            options={
                'ordering': ['sort_order'],
                'abstract': False,
            },
        ),
    ]
