# Generated by Django 2.2.7 on 2019-12-13 22:03

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


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0006_auto_20191125_1605'),
    ]

    operations = [
        migrations.CreateModel(
            name='TrainedModel',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('accuracy', models.FloatField(default=0)),
                ('running_case', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to='api.EventLog')),
            ],
        ),
        migrations.CreateModel(
            name='Result',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mae', models.FloatField(default=0)),
                ('similarity', models.FloatField(default=0)),
                ('distance', models.FloatField(default=0)),
                ('prefix_size', models.IntegerField(default=0)),
                ('trained_model', models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to='api.TrainedModel')),
            ],
        ),
    ]
