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

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('tasks', '0005_auto_make_django_task_user_optional'),
        ('trainings', '0033_training_external_id_verbose_name'),
    ]

    operations = [
        migrations.CreateModel(
            name='TrainingTask',
            fields=[
                ('djangotask_ptr', models.OneToOneField(serialize=False, to='tasks.DjangoTask', primary_key=True, parent_link=True, auto_created=True)),
                ('task_type', models.PositiveSmallIntegerField(verbose_name='Task type', choices=[(1, 'Duplicate to member'), (2, 'Create draft')])),
                ('training', models.ForeignKey(related_name='tasks', to='trainings.Training', verbose_name='Training')),
            ],
            options={
                'abstract': False,
            },
            bases=('tasks.djangotask',),
        ),
    ]
