text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.20 on 2019-06-16 08:55
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='BusinessUnit',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=32, verbose_name='业务线名称')),
              ],
          ),
          migrations.CreateModel(
              name='Host',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=32, unique=True, verbose_name='主机名')),
                  ('ip', models.GenericIPAddressField(verbose_name='IP')),
                  ('bus_unit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='host.BusinessUnit')),
              ],
          ),
      ]
  