# Generated by Django 5.2.9 on 2025-12-28 18:20

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("screens", "0002_characterscreen_pixelscreen_and_more"),
    ]

    operations = [
        migrations.CreateModel(
            name="LCDAnimation",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("is_seed_data", models.BooleanField(default=False, editable=False)),
                ("is_user_data", models.BooleanField(default=False, editable=False)),
                ("is_deleted", models.BooleanField(default=False, editable=False)),
                ("slug", models.SlugField(max_length=64, unique=True)),
                ("name", models.CharField(max_length=100)),
                ("description", models.TextField(blank=True)),
                (
                    "source_path",
                    models.CharField(
                        blank=True,
                        help_text="Path to a 32-character-per-line animation file.",
                        max_length=255,
                    ),
                ),
                (
                    "generator_path",
                    models.CharField(
                        blank=True,
                        help_text="Python path to a generator that yields 32-character frames.",
                        max_length=255,
                    ),
                ),
                (
                    "frame_interval_ms",
                    models.PositiveIntegerField(
                        default=750,
                        help_text="Preferred delay between animation frames in milliseconds.",
                    ),
                ),
                ("is_active", models.BooleanField(default=True)),
            ],
            options={
                "verbose_name": "LCD Animation",
                "verbose_name_plural": "LCD Animations",
                "ordering": ["name"],
                "abstract": False,
            },
        ),
    ]
