# Copyright (C) 2017 Linaro Limited
#
# Author: Rémi Duraffort <remi.duraffort@linaro.org>
#
# SPDX-License-Identifier: GPL-2.0-or-later

# Generated by Django 1.10.5 on 2017-01-23 14:17
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [("lava_scheduler_app", "0023_update_aliases")]

    operations = [
        migrations.AlterField(
            model_name="device",
            name="physical_owner",
            field=models.ForeignKey(
                blank=True,
                default=None,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="physicalowner",
                to=settings.AUTH_USER_MODEL,
                verbose_name="User with physical access",
            ),
        ),
        migrations.AlterField(
            model_name="device",
            name="worker_host",
            field=models.ForeignKey(
                blank=True,
                default=None,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to="lava_scheduler_app.Worker",
                verbose_name="Worker Host",
            ),
        ),
        migrations.AlterField(
            model_name="devicetype",
            name="architecture",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="device_types",
                to="lava_scheduler_app.Architecture",
            ),
        ),
        migrations.AlterField(
            model_name="devicetype",
            name="bits",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="device_types",
                to="lava_scheduler_app.BitWidth",
            ),
        ),
        migrations.AlterField(
            model_name="devicetype",
            name="processor",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="device_types",
                to="lava_scheduler_app.ProcessorFamily",
            ),
        ),
    ]
