# Generated by Django 5.0.6 on 2024-05-10 15:31

import django.db.models.deletion
import wagtail.blocks
import wagtail.fields
import wagtail.images.blocks
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('wagtailcore', '0093_uploadedfile'),
        ('wagtailimages', '0026_delete_uploadedimage'),
    ]

    operations = [
        migrations.CreateModel(
            name='VenuePage',
            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')),
                ('body', wagtail.fields.StreamField([('paragraph', wagtail.blocks.RichTextBlock()), ('image', wagtail.images.blocks.ImageChooserBlock())])),
                ('show_as_bookable', models.BooleanField(default=True, help_text='Skal lokalet dukke i oversikten over lokaler som leies ut?')),
                ('floor', models.CharField(blank=True, max_length=255)),
                ('preposition', models.CharField(blank=True, help_text='Er man i eller på lokalet?', max_length=255)),
                ('capability_audio', models.CharField(blank=True, max_length=255)),
                ('capability_audio_video', models.CharField(blank=True, max_length=255)),
                ('capability_bar', models.CharField(blank=True, max_length=255)),
                ('capability_lighting', models.CharField(blank=True, max_length=255)),
                ('capacity_legal', models.CharField(blank=True, max_length=255)),
                ('capacity_standing', models.CharField(blank=True, max_length=255)),
                ('capacity_sitting', models.CharField(blank=True, max_length=255)),
                ('featured_image', models.ForeignKey(blank=True, help_text='Bilde av lokalet', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')),
            ],
            options={
                'abstract': False,
            },
            bases=('wagtailcore.page',),
        ),
    ]
