# Generated by Django 4.2.10 on 2024-12-17 11:14

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='HeosDevice',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('uid', models.CharField()),
                ('name', models.CharField()),
                ('ip', models.GenericIPAddressField()),
                ('connected', models.BooleanField(default=False, editable=False)),
                ('username', models.CharField(blank=True, help_text='Porviding HEOS account credentials allows SIMO.io to see and use your HEOS favorites, saved playlists, etc.', null=True, verbose_name='HEOS account username')),
                ('password', models.CharField(blank=True, null=True, verbose_name='HEOS account password')),
            ],
        ),
        migrations.CreateModel(
            name='HPlayer',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField()),
                ('pid', models.IntegerField()),
                ('device', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='simo_heos.heosdevice')),
            ],
        ),
    ]
