diff options
author | 2019-03-06 11:47:23 -0500 | |
---|---|---|
committer | 2019-03-06 11:47:23 -0500 | |
commit | 36c012ef86233a323434be5e4c6de524188591e9 (patch) | |
tree | 78a42cebef1bb3d3a837863fe2c788475d5f02f8 /src/resource_inventory/migrations/0007_auto_20190306_1616.py | |
parent | b5bd056d00d76bac14649aae9e9af7b181e54570 (diff) |
Fix migration and models
We missed a few migrations
Change-Id: I58e1abb53e5295ec6c6228906d6eb2fd7fea0b84
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/resource_inventory/migrations/0007_auto_20190306_1616.py')
-rw-r--r-- | src/resource_inventory/migrations/0007_auto_20190306_1616.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/resource_inventory/migrations/0007_auto_20190306_1616.py b/src/resource_inventory/migrations/0007_auto_20190306_1616.py new file mode 100644 index 0000000..19a49c5 --- /dev/null +++ b/src/resource_inventory/migrations/0007_auto_20190306_1616.py @@ -0,0 +1,31 @@ +# Generated by Django 2.1 on 2019-03-06 16:16 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('resource_inventory', '0006_auto_20190124_1700'), + ] + + operations = [ + migrations.CreateModel( + name='RemoteInfo', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('address', models.CharField(max_length=15)), + ('mac_address', models.CharField(max_length=17)), + ('password', models.CharField(max_length=100)), + ('user', models.CharField(max_length=100)), + ('management_type', models.CharField(default='ipmi', max_length=50)), + ('versions', models.CharField(max_length=100)), + ], + ), + migrations.AlterField( + model_name='genericinterface', + name='profile', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='resource_inventory.InterfaceProfile'), + ), + ] |