Skip to content

Commit

Permalink
add missing outside_ip_address relationship
Browse files Browse the repository at this point in the history
Refs #330
  • Loading branch information
lukasjuhrich committed Sep 6, 2023
1 parent bf54387 commit 7dd62f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycroft/model/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit 7dd62f4

Please sign in to comment.