# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-01-30 18:41
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('desktop', '0001_initial'),
        ('useradmin', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='huepermission',
            options={'verbose_name': 'Connector permission', 'verbose_name_plural': 'Connector permissions'},
        ),
        migrations.AddField(
            model_name='huepermission',
            name='connector',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='desktop.Connector'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='huepermission',
            name='organization',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='useradmin.Organization'),
            preserve_default=False,
        ),
        migrations.AlterUniqueTogether(
            name='huepermission',
            unique_together=set([('connector', 'action', 'organization')]),
        ),
    ]
