# -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-26 07:50
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('mutation', '0001_initial'),
        ('residue', '0001_initial'),
        ('common', '0001_initial'),
        ('protein', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='mutationexperiment',
            name='protein',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='protein.Protein'),
        ),
        migrations.AddField(
            model_name='mutationexperiment',
            name='raw',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='mutation.MutationRaw'),
        ),
        migrations.AddField(
            model_name='mutationexperiment',
            name='refs',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='common.Publication'),
        ),
        migrations.AddField(
            model_name='mutationexperiment',
            name='residue',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='residue.Residue'),
        ),
        migrations.AddField(
            model_name='mutationexperiment',
            name='review',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='review', to='common.Publication'),
        ),
        migrations.AddField(
            model_name='mutation',
            name='mutation_type',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='mutation.MutationType'),
        ),
        migrations.AddField(
            model_name='mutation',
            name='protein',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='protein.Protein'),
        ),
        migrations.AddField(
            model_name='mutation',
            name='residue',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='residue.Residue'),
        ),
        migrations.AlterUniqueTogether(
            name='mutation',
            unique_together=set([('protein', 'residue', 'amino_acid')]),
        ),
    ]
