fix field names in network object
authorScott Baker <smbaker@gmail.com>
Sat, 3 Jan 2015 19:45:45 +0000 (11:45 -0800)
committerScott Baker <smbaker@gmail.com>
Sat, 3 Jan 2015 19:45:45 +0000 (11:45 -0800)
planetstack/core/migrations/0002_network_field_case.py [new file with mode: 0644]

diff --git a/planetstack/core/migrations/0002_network_field_case.py b/planetstack/core/migrations/0002_network_field_case.py
new file mode 100644 (file)
index 0000000..aa94338
--- /dev/null
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+import timezones.fields
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('core', '0001_initial'),
+    ]
+
+    operations = [
+        migrations.RenameField(
+            model_name='networktemplate',
+            old_name='controllerKind',
+            new_name='controller_kind',
+        ),
+        migrations.RenameField(
+            model_name='networktemplate',
+            old_name='guaranteedBandwidth',
+            new_name='guaranteed_bandwidth',
+        ),
+        migrations.RenameField(
+            model_name='networktemplate',
+            old_name='sharedNetworkId',
+            new_name='shared_network_id',
+        ),
+        migrations.RenameField(
+            model_name='networktemplate',
+            old_name='sharedNetworkName',
+            new_name='shared_network_name',
+        ),
+        migrations.RenameField(
+            model_name='networktemplate',
+            old_name='topologyKind',
+            new_name='topology_kind',
+        ),
+    ]