# Generated by Django 5.2.5 on 2025-10-13 14:16

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


class Migration(migrations.Migration):

    dependencies = [
        ('django_scrapyd_manager', '0003_delete_guardianlock_alter_guardian_create_time_and_more'),
    ]

    operations = [
        migrations.AlterField(
            model_name='guardianlog',
            name='node',
            field=models.ForeignKey(db_constraint=False, on_delete=django.db.models.deletion.CASCADE, to='django_scrapyd_manager.node', verbose_name='节点'),
        ),
        migrations.AlterField(
            model_name='guardianlog',
            name='spider',
            field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='django_scrapyd_manager.spider', verbose_name='爬虫'),
        ),
        migrations.AlterField(
            model_name='spider',
            name='registry',
            field=models.ForeignKey(db_constraint=False, on_delete=django.db.models.deletion.DO_NOTHING, related_name='version_spiders', to='django_scrapyd_manager.spiderregistry', to_field='name', verbose_name='全局爬虫'),
        ),
        migrations.AlterField(
            model_name='spidergroup',
            name='version',
            field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.CASCADE, to='django_scrapyd_manager.projectversion', verbose_name='版本'),
        ),
    ]
