# Generated by Django 3.2.25 on 2024-07-25 14:25

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0145_auto_20240710_2042'),
    ]

    operations = [
        migrations.AlterField(
            model_name='fifaaccount',
            name='platform',
            field=models.CharField(choices=[('ps', 'PS4'), ('ps5', 'PS5'), ('xbox360', 'XBOX 360'), ('xboxs', 'XBOX Series S'), ('pc', 'PC')], max_length=100, verbose_name='Platform'),
        ),
        migrations.CreateModel(
            name='PCPowerCommand',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
                ('last_command', models.CharField(blank=True, choices=[('sleep', 'Sleep')], max_length=255, null=True)),
                ('command_status', models.CharField(blank=True, choices=[('doing', 'Doing'), ('done', 'Done')], max_length=255, null=True)),
                ('update_time', models.DateTimeField(null=True)),
                ('pc', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.pc')),
            ],
        ),
        migrations.CreateModel(
            name='ConsolePowerCommand',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(default=django.utils.timezone.now)),
                ('worker_console_names', models.CharField(blank=True, help_text='consoles name separated by commas', max_length=255, null=True)),
                ('last_command', models.CharField(blank=True, choices=[('restart', 'ReStart'), ('shutdown', 'ShutDown')], max_length=255, null=True)),
                ('command_status', models.CharField(blank=True, choices=[('doing', 'Doing'), ('done', 'Done')], max_length=255, null=True)),
                ('update_time', models.DateTimeField(null=True)),
                ('main_console', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.console')),
            ],
        ),
    ]
