# Generated by Django 5.1.2 on 2024-12-04 17:47

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('irie_apps_inventory', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='PredictorModel',
            fields=[
                ('id', models.BigAutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=35)),
                ('description', models.TextField(default='')),
                ('protocol', models.CharField(choices=[('BRACE2_CLI_PREDICTOR_V1', 'Type1'), ('BRACE2_CLI_PREDICTOR_T2', 'Type2'), ('BRACE2_CLI_PREDICTOR_T3', 'Type3'), ('BRACE2_CLI_PREDICTOR_T4', 'Type4')], default='BRACE2_CLI_PREDICTOR_T2', max_length=25)),
                ('entry_point', models.JSONField(default=list)),
                ('config', models.JSONField(default=dict)),
                ('config_file', models.FileField(blank=True, null=True, upload_to='predictor_configs/')),
                ('render_file', models.FileField(blank=True, null=True, upload_to='renderings/')),
                ('metrics', models.JSONField(default=list)),
                ('active', models.BooleanField()),
                ('asset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='irie_apps_inventory.asset')),
            ],
        ),
    ]
