# Generated by Django 3.2.20 on 2024-02-25 13:29

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('sbc', '0060_auto_20240122_1531'),
    ]

    operations = [
        migrations.CreateModel(
            name='SBCSolvationModel',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('formation', models.CharField(default='3-4-3', max_length=10)),
                ('num_players', models.IntegerField(default=1)),
                ('players_in_position', models.BooleanField(default=False, help_text='PLAYERS_IN_POSITION = True => No player will be out of position and False implies otherwise.')),
                ('fix_players', models.TextField(blank=True, null=True)),
                ('remove_players', models.TextField(blank=True, null=True)),
                ('minimize_max_cost', models.BooleanField(default=False, help_text='Set only one of the [minimize_max_cost and maximize_total_cost] to True to change the objective type.')),
                ('maximize_total_cost', models.BooleanField(default=False)),
                ('use_preferred_position', models.BooleanField(default=False, help_text="Set only one of the [use_preferred_position and use_alternate_positions] to True and the other to False. Both can't be False.")),
                ('use_alternate_positions', models.BooleanField(default=True)),
                ('use_all_duplicates', models.BooleanField(default=False, help_text='Set only one of the [use_all_duplicates and use_at_least_half_duplicates and use_at_least_one_duplicate] to True and the others to False if duplicates are to be prioritized.')),
                ('use_at_least_half_duplicates', models.BooleanField(default=False)),
                ('use_at_least_one_duplicate', models.BooleanField(default=False)),
                ('consider_as_rare', models.TextField(blank=True, null=True)),
                ('club', models.TextField(blank=True, null=True)),
                ('num_club', models.TextField(blank=True, null=True)),
                ('max_num_club', models.IntegerField(default=11)),
                ('min_num_club', models.IntegerField(default=0)),
                ('num_unique_club', models.TextField(blank=True, null=True)),
                ('league', models.TextField(blank=True, null=True)),
                ('num_league', models.TextField(blank=True, null=True)),
                ('max_num_league', models.IntegerField(default=11)),
                ('min_num_league', models.IntegerField(default=0)),
                ('num_unique_league', models.TextField(blank=True, null=True)),
                ('country', models.TextField(blank=True, null=True)),
                ('num_country', models.TextField(blank=True, null=True)),
                ('max_num_country', models.IntegerField(default=11)),
                ('min_num_country', models.IntegerField(default=0)),
                ('num_unique_country', models.TextField(blank=True, null=True)),
                ('rarity_1', models.TextField(blank=True, null=True)),
                ('num_rarity_1', models.TextField(blank=True, null=True)),
                ('rarity_2', models.TextField(blank=True, null=True)),
                ('num_rarity_2', models.TextField(blank=True, null=True)),
                ('squad_rating', models.IntegerField(default=0)),
                ('min_overall', models.TextField(blank=True, null=True)),
                ('num_min_overall', models.TextField(blank=True, null=True)),
                ('chemistry', models.IntegerField(default=0)),
                ('chem_per_player', models.IntegerField(default=0)),
                ('sbc_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sbc.sbctype')),
            ],
        ),
    ]
