# -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2022-05-31 16:42
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('managing_files', '0028_auto_20220419_1056'),
        ('datasets', '0002_dataset'),
    ]

    operations = [
        migrations.CreateModel(
            name='DatasetConsensus',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('creation_date', models.DateTimeField(auto_now_add=True, verbose_name='uploaded date')),
                ('is_deleted', models.BooleanField(default=False)),
                ('is_error', models.BooleanField(default=False)),
                ('alert_first_level', models.IntegerField(default=0)),
                ('alert_second_level', models.IntegerField(default=0)),
                ('seq_name_all_consensus', models.CharField(blank=True, max_length=200, null=True)),
                ('consensus', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dataset_consensus', to='datasets.Consensus')),
                ('dataset', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dataset_consensus', to='datasets.Dataset')),
                ('project_sample', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dataset_project_samples', to='managing_files.ProjectSample')),
                ('reference', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dataset_reference', to='managing_files.Reference')),
            ],
            options={
                'verbose_name': 'Consensus',
                'verbose_name_plural': 'Consensus',
                'ordering': ['-creation_date'],
            },
        ),
    ]
