# Generated by Django 4.2.23 on 2026-04-13 00:14

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


class Migration(migrations.Migration):

    dependencies = [
        ('rattingtax', '0003_corpjournalentry'),
    ]

    operations = [
        migrations.RenameField(
            model_name='alliancesettings',
            old_name='alliance_rate_percent',
            new_name='default_tax_rate_percent',
        ),
        migrations.RemoveField(
            model_name='taxconfig',
            name='corp_tax_rate_percent',
        ),
        migrations.AddField(
            model_name='taxconfig',
            name='tax_rate_percent',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='Leave empty to use the global default tax rate.', max_digits=5, null=True),
        ),
        migrations.AlterField(
            model_name='corptokenlink',
            name='character_name',
            field=models.CharField(blank=True, max_length=128),
        ),
        migrations.AlterField(
            model_name='corptokenlink',
            name='corp',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='token_links', to='rattingtax.corporation'),
        ),
        migrations.AlterUniqueTogether(
            name='corptokenlink',
            unique_together={('corp', 'character_id')},
        ),
    ]
