generated from Luis/nextjs-python-web-template
Georg-Stahn-georgs (#25)
Co-authored-by: sara-pervana <saramakishti@gmail.com> Co-authored-by: ui-asset-bot <ui-asset-bot@gchq.icu> Co-authored-by: Onur Arslan <runoxa@hotmail.com> Co-authored-by: Arslan, Erdem <erdem.arslan@valtech.com> Co-authored-by: Luis-Hebendanz <consulting@qube.email> Reviewed-on: #25 Co-authored-by: Georg-Stahn <g.stahn@campus.tu-berlin.de> Co-committed-by: Georg-Stahn <g.stahn@campus.tu-berlin.de>
This commit was merged in pull request #25.
This commit is contained in:
@@ -34,7 +34,8 @@ class Entity(Base):
|
||||
## Relations ##
|
||||
producers = relationship("Producer", back_populates="entity")
|
||||
consumers = relationship("Consumer", back_populates="entity")
|
||||
repository = relationship("Repository", uselist=False, back_populates="entity")
|
||||
repository = relationship("Repository", back_populates="entity")
|
||||
# TODO maby refactor to repositories
|
||||
|
||||
|
||||
class ProducerAbstract(Base):
|
||||
|
||||
Reference in New Issue
Block a user