# Generated by Django 4.2.21 on 2025-08-05 08:58

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("eveprices", "0002_evetycoonconfiguration_and_more"),
    ]

    operations = [
        migrations.RemoveField(
            model_name="evetycoonconfiguration",
            name="a",
        ),
        migrations.RemoveField(
            model_name="fuzzworkconfiguration",
            name="a",
        ),
        migrations.RemoveField(
            model_name="janiceconfiguration",
            name="b",
        ),
        migrations.AddField(
            model_name="evepricesconfiguration",
            name="default_price",
            field=models.CharField(
                choices=[("B", "Buy price"), ("S", "Sell price")],
                default="S",
                help_text="Use buy or sell prices as a default",
                max_length=1,
            ),
        ),
        migrations.AddField(
            model_name="fuzzworkconfiguration",
            name="price_kind",
            field=models.CharField(
                choices=[
                    ("WA", "Weighted Average"),
                    ("ME", "Median"),
                    ("PE", "Percentile"),
                ],
                default="WA",
                help_text="Which price kind returned by Fuzzwork to use.\nSee: https://market.fuzzwork.co.uk/api/",
                max_length=2,
            ),
        ),
        migrations.AddField(
            model_name="janiceconfiguration",
            name="price_kind",
            field=models.CharField(
                choices=[
                    ("IM", "Immediate"),
                    ("5D", "5 days median"),
                    ("30D", "30 days median"),
                ],
                default="IM",
                help_text="Which price kind returned by Janice to use.\nSee: https://janice.e-351.com/api/rest/docs/index.html",
                max_length=3,
            ),
        ),
        migrations.AlterField(
            model_name="evepricesconfiguration",
            name="provider",
            field=models.CharField(
                choices=[("ET", "EveTycoon"), ("FW", "Fuzzwork"), ("JA", "Janice")],
                default="FW",
                help_text="Provider to be used to source pricing data",
                max_length=2,
            ),
        ),
    ]
