aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory/models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2020-02-27 16:26:47 -0500
committerParker Berberian <pberberian@iol.unh.edu>2020-02-27 16:26:47 -0500
commit4940cda1806aa13591485b996264ddc887202d35 (patch)
tree5e36f2fff3dc99fa26cbe11a8f8ca205e59947cc /src/resource_inventory/models.py
parentd73588dfe1066f85bb83df0e3c0881ff42c25e04 (diff)
Improve Data Migration
Improved migration files so that they preserve data Change-Id: I53283fd3fd207ed3f9773beea7b1ce2062b5bd9f Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/resource_inventory/models.py')
-rw-r--r--src/resource_inventory/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py
index eec009a..d11f71b 100644
--- a/src/resource_inventory/models.py
+++ b/src/resource_inventory/models.py
@@ -382,7 +382,7 @@ class Network(models.Model):
return self.name
-class PhysicalNetwork(Resource):
+class PhysicalNetwork(models.Model):
vlan_id = models.IntegerField()
generic_network = models.ForeignKey(Network, on_delete=models.CASCADE)