# Generated by Django 4.2.26 on 2025-11-14 03:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('eveonline', '0017_alliance_and_corp_names_are_not_unique'),
        ('alumni', '0003_alter_alumnisetup_options_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='CorporationUpdateTimestamp',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('corporation_id', models.PositiveIntegerField(unique=True)),
                ('last_updated', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Corporation Update Timestamp',
                'verbose_name_plural': 'Corporation Update Timestamps',
            },
        ),
        migrations.AlterModelOptions(
            name='alumnisetup',
            options={'verbose_name': 'Alumni Config'},
        ),
        migrations.AlterModelOptions(
            name='charactercorporationhistory',
            options={'verbose_name': 'Character/Corporation History', 'verbose_name_plural': 'Character/Corporation Histories'},
        ),
        migrations.AlterModelOptions(
            name='corporationalliancehistory',
            options={'verbose_name': 'Corporation/Alliance History', 'verbose_name_plural': 'Corporation/Alliance Histories'},
        ),
        migrations.CreateModel(
            name='CharacterUpdateTimestamp',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('last_updated', models.DateTimeField(auto_now=True)),
                ('character', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='eveonline.evecharacter')),
            ],
            options={
                'verbose_name': 'Character Update Timestamp',
                'verbose_name_plural': 'Character Update Timestamps',
            },
        ),
    ]
