# Generated by Django 3.2.23 on 2024-01-17 08:56

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('wagtailcore', '0066_collection_management_permissions'),
        ('wagtailimages', '0023_add_choose_permissions'),
    ]

    operations = [
        migrations.CreateModel(
            name='MobileApp',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='App name', max_length=255)),
                ('short_name', models.CharField(help_text='Short app name', max_length=255)),
                ('theme_color', models.CharField(help_text='Theme color in hexadecimal format e.g, #cf0824', max_length=7)),
                ('background_color', models.CharField(help_text='Background color in hexadecimal format e.g, #cf0824', max_length=7)),
                ('start_url', models.URLField(help_text='Start URL')),
                ('description', models.TextField(help_text='App description')),
                ('tablet_screenshot_size', models.CharField(blank=True, max_length=9)),
                ('mobile_screenshot_size', models.CharField(blank=True, max_length=7)),
                ('icon_five', models.ForeignKey(help_text='192x192 Icon, format:png', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Icon 192')),
                ('icon_four', models.ForeignKey(help_text='144x144 Icon, format:png', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Icon 144')),
                ('icon_one', models.ForeignKey(help_text='48x48 Icon, format:png', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Icon 48')),
                ('icon_three', models.ForeignKey(help_text='96x96 Icon, format:png', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Icon 96')),
                ('icon_two', models.ForeignKey(help_text='72x72 Icon, format:png', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image', verbose_name='Icon 72')),
                ('mobile_screenshot', models.ForeignKey(blank=True, help_text='Narrow Mobile Screenshot, format:png, size should be atleast 320x320', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')),
                ('site', models.OneToOneField(editable=False, on_delete=django.db.models.deletion.CASCADE, to='wagtailcore.site')),
                ('tablet_screenshot', models.ForeignKey(blank=True, help_text='Wide Tablet Screenshot, format:png, size should be atleast 320x320', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image')),
            ],
            options={
                'verbose_name': 'Mobile App',
            },
        ),
    ]
