# -*- 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 = [
        ('personnel', '0001_initial'),
        ('workflow', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='employee',
            name='flow_role',
            field=mysite.personnel.fields.WorkflowRoleManyToManyField(blank=True, related_name='flow_role', to='workflow.WorkflowRole', verbose_name='emp_field_workflowRole'),
        ),
        migrations.AddField(
            model_name='employee',
            name='location',
            field=mysite.personnel.fields.LocationForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Location', verbose_name='employee_field_location'),
        ),
        migrations.AddField(
            model_name='employee',
            name='position',
            field=mysite.personnel.fields.PositionForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Position', verbose_name='employee_field_position'),
        ),
        migrations.AddField(
            model_name='department',
            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='department',
            name='parent_dept',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Department', verbose_name='department_field_parentDepartment'),
        ),
        migrations.AddField(
            model_name='certification',
            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='area',
            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='area',
            name='parent_area',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Area', verbose_name='area_field_parentArea'),
        ),
        migrations.AlterUniqueTogether(
            name='employeecertification',
            unique_together=set([('employee', 'certification')]),
        ),
    ]
