# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-05-31 12:55
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('vm', '0016_auto_20180522_1515'),
    ]

    operations = [
        migrations.CreateModel(
            name='TemplateGroupMember',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('group_id', models.CharField(max_length=100, unique=True)),
            ],
            options={
                'db_table': 'vm_template_group_member',
            },
        ),
        migrations.CreateModel(
            name='TemplateUserMember',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.CharField(max_length=100, unique=True)),
            ],
            options={
                'db_table': 'vm_template_user_member',
            },
        ),
        migrations.AddField(
            model_name='instancetemplate',
            name='groups',
            field=models.ManyToManyField(blank=True, help_text='Shared with groups', to='vm.TemplateGroupMember', verbose_name='groups'),
        ),
        migrations.AddField(
            model_name='instancetemplate',
            name='users',
            field=models.ManyToManyField(blank=True, help_text='Shared with users', to='vm.TemplateUserMember', verbose_name='users'),
        ),
    ]
