# Generated by Django 2.2.22 on 2021-05-11 21:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('books', '0029_auto_20210511_1301'),
        ('objectives', '0014_delete_objectiveprogressstatus'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='objective',
            options={'verbose_name': 'Lernziel', 'verbose_name_plural': 'Lernziele'},
        ),
        migrations.CreateModel(
            name='ObjectiveSnapshot',
            fields=[
                ('objective_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='objectives.Objective')),
                ('hidden', models.BooleanField(default=False)),
                ('snapshot', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='custom_objectives', to='books.Snapshot')),
            ],
            bases=('objectives.objective',),
        ),
    ]
