# Generated by Django 4.2.21 on 2025-08-05 14:00

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("eveprices", "0003_remove_evetycoonconfiguration_a_and_more"),
    ]

    operations = [
        migrations.CreateModel(
            name="TypePrice",
            fields=[
                (
                    "type_id",
                    models.BigIntegerField(
                        help_text="ID of the eve type",
                        primary_key=True,
                        serialize=False,
                    ),
                ),
                ("buy_price", models.FloatField()),
                ("split_price", models.FloatField()),
                ("sell_price", models.FloatField()),
                ("timestamp", models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.RemoveField(
            model_name="evepricesconfiguration",
            name="default_price",
        ),
        migrations.AddField(
            model_name="evepricesconfiguration",
            name="price_kind",
            field=models.CharField(
                choices=[
                    ("BU", "Buy price"),
                    ("SP", "Split price"),
                    ("SE", "Sell price"),
                ],
                default="SE",
                help_text="Use buy or sell prices as a default",
                max_length=2,
            ),
        ),
    ]
