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

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


class Migration(migrations.Migration):

    dependencies = [
        ('sync', '0002_auto_20150831_1334'),
        ('trainings', '0023_change_constraints_for_orderable'),
    ]

    operations = [
        migrations.CreateModel(
            name='TrainingClientOptions',
            fields=[
                ('id', django_extensions.db.fields.UUIDField(serialize=False, blank=True, editable=False, primary_key=True)),
                ('is_deleted', models.BooleanField(default=False)),
                ('update_locally', models.BooleanField(default=False)),
                ('activate_show_results', models.BooleanField(default=False, help_text='"Show results" interface allows the trainer to review trainee results based on the competences and qualitatives feedbacks', verbose_name='Activate "Show results" interface')),
                ('activate_activity_launcher', models.BooleanField(default=True, help_text='"Activity launcher" allow the trainer to create new activities during the training session. It includes new photostory, new buzzer, new metaplan & new brainstormer', verbose_name='Activate "Activity launcher"')),
                ('first_update', models.ForeignKey(to='sync.Update', blank=True, related_name='trainings_trainingclientoptions_by_first', null=True)),
                ('last_update', models.ForeignKey(to='sync.Update', blank=True, related_name='trainings_trainingclientoptions_by_last', null=True)),
                ('original_version', models.ForeignKey(to='trainings.TrainingClientOptions', related_name='all_duplicates', null=True)),
                ('parent_version', models.ForeignKey(to='trainings.TrainingClientOptions', related_name='direct_duplicates', null=True)),
                ('training', models.OneToOneField(to='trainings.Training', related_name='client_options')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
