# Generated by Django 2.2.9 on 2020-07-30 15:24

from django.db import migrations


def create_red_rose(apps, schema_editor):
    Office = apps.get_model('staff', 'Office')
    Office.objects.create(
        id=100000,
        name_ru='Москва, Красная Роза',
        name_en='Moscow, Red Rose',
        is_group=True,
        grouped_office_ids=[1, 147, 148],
    )


class Migration(migrations.Migration):

    dependencies = [
        ('staff', '0006_office_group'),
    ]

    operations = [
        migrations.RunPython(create_red_rose, lambda *a, **kw: None),
    ]
