# Generated by Django 4.2.11 on 2025-10-29 17:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('netbox_optics', '0002_populate'),
    ]

    operations = [
        migrations.AlterField(
            model_name='muxwavelengthmap',
            name='wavelength',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='netbox_optics.opticalgridwavelength'),
        ),
        migrations.AlterField(
            model_name='opticalconnection',
            name='wavelength',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='connections', to='netbox_optics.opticalgridwavelength'),
        ),
        migrations.AlterField(
            model_name='opticalgrid',
            name='spacing',
            field=models.IntegerField(blank=True, validators=[django.core.validators.MinValueValidator(1)]),
        ),
        migrations.AlterField(
            model_name='opticalgridtype',
            name='spacing',
            field=models.IntegerField(validators=[django.core.validators.MinValueValidator(1)]),
        ),
    ]