# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-03-12 14:36
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('common', '0025_auto_20200124_1743'),
    ]

    operations = [
        migrations.CreateModel(
            name='Config',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('content', models.TextField()),
            ],
        ),
        migrations.AddField(
            model_name='job',
            name='host',
            field=models.CharField(max_length=64, null=True),
        ),
        migrations.AddField(
            model_name='job',
            name='local_uuid',
            field=models.CharField(max_length=64, null=True),
        ),
        migrations.AddField(
            model_name='job',
            name='port',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='config',
            name='job',
            field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='common.Job'),
        ),
        migrations.AlterUniqueTogether(
            name='config',
            unique_together=set([('job', 'name')]),
        ),
    ]
