# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-01-03 17:29
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import mysite.admin.abstract_cloud_model
import mysite.personnel.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('iclock', '0002_auto_20200103_1729'),
        ('personnel', '0001_initial'),
        ('acc', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='acctimezone',
            name='area',
            field=mysite.personnel.fields.AreaForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personnel.Area', verbose_name='accPrivilege_field_area'),
        ),
        migrations.AddField(
            model_name='acctimezone',
            name='company',
            field=models.ForeignKey(blank=True, default=mysite.admin.abstract_cloud_model.get_current_company, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Company'),
        ),
        migrations.AddField(
            model_name='accterminal',
            name='terminal',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='iclock.Terminal', verbose_name='terminal_field_alias'),
        ),
        migrations.AddField(
            model_name='accprivilege',
            name='area',
            field=mysite.personnel.fields.AreaForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personnel.Area', verbose_name='accPrivilege_field_area'),
        ),
        migrations.AddField(
            model_name='accprivilege',
            name='company',
            field=models.ForeignKey(blank=True, default=mysite.admin.abstract_cloud_model.get_current_company, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Company'),
        ),
        migrations.AddField(
            model_name='accprivilege',
            name='employee',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personnel.Employee', verbose_name='accPrivilege_field_employee'),
        ),
        migrations.AddField(
            model_name='accprivilege',
            name='group',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='acc.AccGroups', verbose_name='accPrivilege_field_group'),
        ),
        migrations.AddField(
            model_name='accholiday',
            name='area',
            field=mysite.personnel.fields.AreaForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personnel.Area', verbose_name='accPrivilege_field_area'),
        ),
        migrations.AddField(
            model_name='accholiday',
            name='company',
            field=models.ForeignKey(blank=True, default=mysite.admin.abstract_cloud_model.get_current_company, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Company'),
        ),
    ]
