From 7dd62f438acc6552c762cd3bd2161445631afa6e Mon Sep 17 00:00:00 2001 From: Lukas Juhrich Date: Sat, 31 Aug 2019 23:21:45 +0200 Subject: [PATCH] add missing outside_ip_address relationship Refs #330 --- pycroft/model/nat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pycroft/model/nat.py b/pycroft/model/nat.py index 3ddb6cf0f..409d5280a 100644 --- a/pycroft/model/nat.py +++ b/pycroft/model/nat.py @@ -66,6 +66,7 @@ class Translation(ModelBase): ) outside_address = Column(IPAddress, primary_key=True, nullable=False) + outside_ip_address = relationship(OutsideIPAddress) inside_network = Column(IPNetwork, nullable=False) owner = relationship(User, secondary=OutsideIPAddress.__table__,