# Generated by Django 3.1.3 on 2020-11-13 17:54

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


class Migration(migrations.Migration):

    initial = True

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

    operations = [
        migrations.CreateModel(
            name='LabTest',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('date', models.CharField(blank=True, db_column='Date', max_length=50)),
                ('test', models.TextField(blank=True, db_column='Test')),
                ('test_id', models.IntegerField(blank=True)),
                ('pid', models.ForeignKey(blank=True, db_column='PID', on_delete=django.db.models.deletion.DO_NOTHING, to='patient.patient')),
            ],
            options={
                'db_table': 'LabTest',
                'unique_together': {('pid', 'date')},
            },
        ),
    ]
