# Generated by Django 2.0.6 on 2018-08-02 14:09

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


class Migration(migrations.Migration):

    dependencies = [
        ('iconolab', '0032_auto_20180704_1131'),
    ]

    operations = [
        migrations.AlterField(
            model_name='annotation',
            name='current_revision',
            field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='current_for_annotation', to='iconolab.AnnotationRevision'),
        ),
        migrations.AlterField(
            model_name='annotation',
            name='source_revision',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='source_related_annotation', to='iconolab.AnnotationRevision'),
        ),
        migrations.AlterField(
            model_name='annotationrevision',
            name='annotation',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='revisions', to='iconolab.Annotation'),
        ),
        migrations.AlterField(
            model_name='annotationrevision',
            name='merge_parent_revision',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='child_revisions_merge', to='iconolab.AnnotationRevision'),
        ),
        migrations.AlterField(
            model_name='annotationrevision',
            name='parent_revision',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='child_revisions', to='iconolab.AnnotationRevision'),
        ),
        migrations.AlterField(
            model_name='annotationstats',
            name='annotation',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='stats', to='iconolab.Annotation'),
        ),
        migrations.AlterField(
            model_name='image',
            name='item',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='images', to='iconolab.Item'),
        ),
        migrations.AlterField(
            model_name='imagestats',
            name='image',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='stats', to='iconolab.Image'),
        ),
        migrations.AlterField(
            model_name='itemmetadata',
            name='item',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='metadatas', to='iconolab.Item'),
        ),
    ]
