diff --git a/appconf/migrations/0003_remove_project_serverlist.py b/appconf/migrations/0003_remove_project_serverlist.py new file mode 100644 index 00000000..5b0e515d --- /dev/null +++ b/appconf/migrations/0003_remove_project_serverlist.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.16 on 2019-01-09 07:40 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('appconf', '0002_authinfo_deploy_port'), + ] + + operations = [ + migrations.RemoveField( + model_name='project', + name='serverList', + ), + ] diff --git a/cmdb/migrations/0002_host_account.py b/cmdb/migrations/0002_host_account.py new file mode 100644 index 00000000..1d8dbe99 --- /dev/null +++ b/cmdb/migrations/0002_host_account.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.16 on 2019-01-09 07:40 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('appconf', '0003_remove_project_serverlist'), + ('cmdb', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='host', + name='account', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='appconf.AuthInfo', verbose_name='\u8d26\u53f7\u4fe1\u606f'), + ), + ] diff --git a/delivery/migrations/0004_delivery_serverlist.py b/delivery/migrations/0004_delivery_serverlist.py new file mode 100644 index 00000000..d007ff18 --- /dev/null +++ b/delivery/migrations/0004_delivery_serverlist.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.16 on 2019-01-09 07:40 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('cmdb', '0002_host_account'), + ('delivery', '0003_delivery_source_auth'), + ] + + operations = [ + migrations.AddField( + model_name='delivery', + name='serverList', + field=models.ManyToManyField(blank=True, to='cmdb.Host', verbose_name='\u6240\u5728\u670d\u52a1\u5668'), + ), + ]