# -*- 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', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Theme',
            fields=[
                ('is_deleted', models.BooleanField(default=False)),
                ('update_locally', models.BooleanField(default=False)),
                ('id', django_extensions.db.fields.UUIDField(blank=True, primary_key=True, editable=False, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('color_first', models.CharField(max_length=10, default='#823481')),
                ('color_second', models.CharField(max_length=10, default='#d7d7d7')),
                ('color_item', models.CharField(max_length=10, default='#ffffff')),
                ('color_selected_item', models.CharField(max_length=10, default='#823481')),
                ('color_text_item', models.CharField(max_length=10, default='#686868')),
                ('color_text_selected_item', models.CharField(max_length=10, default='#ffffff')),
                ('color_text_quizz', models.CharField(max_length=10, default='#ffffff')),
                ('background_color', models.CharField(max_length=10, default='#cccccc')),
                ('background_color_diffusion', models.CharField(max_length=10, default='#cccccc')),
                ('background_image', models.ImageField(blank=True, upload_to='training', null=True, default='training/background.png')),
                ('background_image_hash', models.CharField(blank=True, max_length=36)),
                ('background_image_diffusion', models.ImageField(blank=True, upload_to='training', null=True, default='training/background_diffusion.png')),
                ('background_image_diffusion_hash', models.CharField(blank=True, max_length=36)),
                ('default', models.BooleanField(default=False)),
                ('first_update', models.ForeignKey(blank=True, related_name='theme_by_first', null=True, to='sync.Update')),
                ('last_update', models.ForeignKey(blank=True, related_name='theme_by_last', null=True, to='sync.Update')),
            ],
            options={
                'ordering': ('-default', 'name'),
            },
        ),
    ]
