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

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('trainings', '0018_trainingactivity'),
        ('roleplays', '0015_auto_20150728_1800'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='roleplay',
            name='author',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='description',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='first_update',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='id',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='is_assessing',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='is_deleted',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='last_update',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='name',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='training',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='update_locally',
        ),
        migrations.RemoveField(
            model_name='roleplay',
            name='weight',
        ),
        migrations.AddField(
            model_name='criterion',
            name='original_version',
            field=models.ForeignKey(null=True, related_name='all_duplicates', to='roleplays.Criterion'),
        ),
        migrations.AddField(
            model_name='criterion',
            name='parent_version',
            field=models.ForeignKey(null=True, related_name='direct_duplicates', to='roleplays.Criterion'),
        ),
        migrations.AddField(
            model_name='roleplay',
            name='trainingactivity_ptr',
            field=models.OneToOneField(parent_link=True, serialize=False, auto_created=True, default=0, primary_key=True, to='trainings.TrainingActivity'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='step',
            name='original_version',
            field=models.ForeignKey(null=True, related_name='all_duplicates', to='roleplays.Step'),
        ),
        migrations.AddField(
            model_name='step',
            name='parent_version',
            field=models.ForeignKey(null=True, related_name='direct_duplicates', to='roleplays.Step'),
        ),
    ]