# Generated by Django 4.2.28 on 2026-03-02 00:02

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


class Migration(migrations.Migration):

    replaces = [('routing', '0001_initial'), ('routing', '0002_solarsystemconnection_prefer_less_safe_and_more'), ('routing', '0003_triginvasion'), ('routing', '0004_rename_prefer_less_safe_solarsystemconnection_p_less_safe_and_more'), ('routing', '0005_rename_security_status_solarsystem_security'), ('routing', '0006_alter_solarsystemconnection_fromsolarsystem_and_more')]

    initial = True

    dependencies = [
        ('eve_sde', '0012_alter_constellation_region'),
    ]

    operations = [
        migrations.CreateModel(
            name='SolarSystemConnection',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fromsolarsystem', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='eve_sde.solarsystem', verbose_name='From Solar System')),
                ('tosolarsystem', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='eve_sde.solarsystem', verbose_name='To Solar System')),
                ('p_less_safe', models.FloatField(default=1, verbose_name='Weighting for Prefer Less Safe Routing')),
                ('p_safest', models.FloatField(default=1, verbose_name='Weighting for Prefer Safest Routing')),
                ('p_shortest', models.FloatField(default=1, verbose_name='Weighting for Prefer Shortest Routing')),
            ],
            options={
                'verbose_name': 'Solar System Connections',
                'verbose_name_plural': 'Solar System Connection',
                'unique_together': {('fromsolarsystem', 'tosolarsystem')},
            },
        ),
        migrations.CreateModel(
            name='TrigInvasion',
            fields=[
                ('system', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='+', serialize=False, to='eve_sde.solarsystem', verbose_name='Solar System')),
                ('status', models.CharField(choices=[('edencom_minor_victory', 'EDENCOM Minor Victory'), ('final_liminality', 'Final Liminality'), ('fortress', 'Fortress'), ('triglavian_minor_victory', 'Triglavian Minor Victory')], max_length=50, verbose_name='Mass Remaining')),
            ],
            options={
                'verbose_name': 'Triglavian/Edencom Invasion',
                'verbose_name_plural': 'Triglavian/Edencom Invasions',
            },
        ),
    ]
