# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):
    dependencies = [
        ('panelists', '__first__'),
        ('measurements', '0004_auto_20150423_1236'),
    ]

    operations = [
        migrations.CreateModel(
            name='LabHistory',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('ppm', models.FloatField(editable=False)),
                ('timestamp', models.DateTimeField(editable=False)),
                ('sigma', models.FloatField(null=True, editable=False)),
                ('y_ite', models.FloatField(null=True, editable=False)),
                ('r_value', models.FloatField(null=True)),
                ('a_value', models.FloatField(null=True)),
                ('dw_value', models.FloatField(null=True)),
                ('team_ite', models.ForeignKey(to='measurements.Measurement')),
            ],
            options={
                'abstract': False,
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='PanelHistory',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('ppm', models.FloatField(editable=False)),
                ('timestamp', models.DateTimeField(editable=False)),
                ('sigma', models.FloatField(null=True, editable=False)),
                ('y_ite', models.FloatField(null=True, editable=False)),
                ('ite', models.FloatField()),
                ('substance_key',
                 models.CharField(editable=False, max_length=1, choices=[('B', 'n-Butanol'), ('H', 'H2S')])),
                ('panelist', models.ForeignKey(to='panelists.Panelist')),
                ('single_round_result',
                 models.ForeignKey(to='measurements.SingleRoundResult', editable=False, unique=True)),
            ],
            options={
                'abstract': False,
            },
            bases=(models.Model,),
        ),
    ]
