generated from Luis/nextjs-python-web-template
reposetories is now also a list in enteties - one to many relation
This commit is contained in:
@@ -34,7 +34,7 @@ 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")
|
||||
|
||||
|
||||
class ProducerAbstract(Base):
|
||||
|
||||
Reference in New Issue
Block a user