# -*- coding: utf-8 -*-
# Generated by Django 1.9.11 on 2017-02-10 06:38
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('profiles_v2', '0007_auto_20170209_1606'),
    ]

    operations = [
        migrations.CreateModel(
            name='OrganisationProfileTranslation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('background_temp', models.TextField(blank=True, max_length=10000, null=True)),
                ('language_code', models.CharField(db_index=True, max_length=15)),
                ('master', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='profiles_v2.OrganisationProfile')),
            ],
            options={
                'abstract': False,
                'default_permissions': (),
                'managed': True,
                'db_tablespace': '',
                'db_table': 'profiles_v2_organisationprofile_translation',
            },
        ),
        migrations.AlterUniqueTogether(
            name='organisationprofiletranslation',
            unique_together=set([('language_code', 'master')]),
        ),
    ]
