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

from django.db import models, migrations
import django_extensions.db.fields


class Migration(migrations.Migration):

    dependencies = [
        ('trainings', '0014_add_assessments_stuff'),
        ('contenttypes', '0002_remove_content_type_name'),
        ('assessments', '0001_initial'),
        ('roleplays', '0010_roleplay_order'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='criterion',
            options={},
        ),
        migrations.AddField(
            model_name='criterion',
            name='activity_id',
            field=django_extensions.db.fields.UUIDField(blank=True, editable=False, null=True),
        ),
        migrations.AddField(
            model_name='criterion',
            name='activity_type',
            field=models.ForeignKey(null=True, blank=True, to='contenttypes.ContentType'),
        ),
        migrations.AddField(
            model_name='criterion',
            name='dimensions',
            field=models.ManyToManyField(blank=True, to='assessments.Dimension'),
        ),
        migrations.AddField(
            model_name='criterion',
            name='is_assessing',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='criterion',
            name='training',
            field=models.ForeignKey(null=True, blank=True, to='trainings.Training'),
        ),
        migrations.AddField(
            model_name='roleplay',
            name='is_assessing',
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name='roleplay',
            name='weight',
            field=models.PositiveIntegerField(default=1),
        ),
        migrations.AlterField(
            model_name='criterion',
            name='criterion_type',
            field=models.CharField(verbose_name='criterion type', max_length=2, default='QT', choices=[('QL', 'Qualitative'), ('QT', 'Quantitative')], help_text='Type of criterion'),
        ),
        migrations.AlterField(
            model_name='rating',
            name='criterion',
            field=models.ForeignKey(related_name='ratings', to='roleplays.Criterion'),
        ),
    ]
