# Generated by Django 5.2.9 on 2026-01-01 00:45

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


class Migration(migrations.Migration):

    dependencies = [
        ("video", "0002_youtubechannel"),
    ]

    operations = [
        migrations.CreateModel(
            name="MjpegStream",
            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)),
                ("name", models.CharField(max_length=255)),
                ("slug", models.SlugField(unique=True)),
                ("is_active", models.BooleanField(default=True)),
                (
                    "video_device",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.PROTECT,
                        related_name="mjpeg_streams",
                        to="video.videodevice",
                    ),
                ),
            ],
            options={
                "verbose_name": "MJPEG Stream",
                "verbose_name_plural": "MJPEG Streams",
            },
        ),
    ]
