# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-05-18 07:30
from __future__ import unicode_literals

import dashboard.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import sizefield.models


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('dashboard', '0009_auto_20180517_1630'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='profile',
            name='user_id',
        ),
        migrations.AddField(
            model_name='profile',
            name='disk_quota',
            field=sizefield.models.FileSizeField(default=2147483648, help_text='Disk quota in mebibytes.', verbose_name='disk quota'),
        ),
        migrations.AddField(
            model_name='profile',
            name='instance_limit',
            field=models.IntegerField(default=5),
        ),
        migrations.AddField(
            model_name='profile',
            name='network_limit',
            field=models.IntegerField(default=2, verbose_name=b'Virtual network limit'),
        ),
        migrations.AddField(
            model_name='profile',
            name='org_id',
            field=models.CharField(blank=True, help_text='Unique identifier of the person, e.g. a student number.', max_length=64, null=True, unique=True),
        ),
        migrations.AddField(
            model_name='profile',
            name='smb_password',
            field=models.CharField(default=dashboard.models.pwgen, help_text='Generated password for accessing store from virtual machines.', max_length=20, verbose_name='Samba password'),
        ),
        migrations.AddField(
            model_name='profile',
            name='two_factor_secret',
            field=models.CharField(blank=True, max_length=32, null=True, verbose_name='two factor secret key'),
        ),
        migrations.AddField(
            model_name='profile',
            name='user',
            field=models.OneToOneField(default=0, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
            preserve_default=False,
        ),
    ]
