# Generated by Django 5.2.1 on 2025-10-07 08:19

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


class Migration(migrations.Migration):

    dependencies = [
        ('epdb', '0006_mlrelativereasoning_multigen_eval_and_more'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='enviformer',
            options={},
        ),
        migrations.AddField(
            model_name='enviformer',
            name='app_domain',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, to='epdb.applicabilitydomain'),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='data_packages',
            field=models.ManyToManyField(related_name='%(app_label)s_%(class)s_data_packages', to='epdb.package', verbose_name='Data Packages'),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='eval_packages',
            field=models.ManyToManyField(related_name='%(app_label)s_%(class)s_eval_packages', to='epdb.package', verbose_name='Evaluation Packages'),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='eval_results',
            field=models.JSONField(blank=True, default=dict, null=True),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='model_status',
            field=models.CharField(choices=[('INITIAL', 'Initial'), ('INITIALIZING', 'Model is initializing.'), ('BUILDING', 'Model is building.'), ('BUILT_NOT_EVALUATED', 'Model is built and can be used for predictions, Model is not evaluated yet.'), ('EVALUATING', 'Model is evaluating'), ('FINISHED', 'Model has finished building and evaluation.'), ('ERROR', 'Model has failed.')], default='INITIAL'),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='multigen_eval',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='enviformer',
            name='rule_packages',
            field=models.ManyToManyField(related_name='%(app_label)s_%(class)s_rule_packages', to='epdb.package', verbose_name='Rule Packages'),
        ),
    ]
