mirror of
https://github.com/StepanovPlaton/torrent_backend.git
synced 2026-04-03 20:30:38 +04:00
Code refactoring. Add support genres and actors to routes
This commit is contained in:
@@ -32,3 +32,4 @@ class Movie(Base):
|
||||
lazy="selectin")
|
||||
|
||||
owner_id = Column(Integer, ForeignKey("users.id"))
|
||||
owner = relationship("User", lazy="selectin", viewonly=True)
|
||||
|
||||
Reference in New Issue
Block a user