Work on game edit

This commit is contained in:
2024-05-26 13:55:52 +04:00
parent a7719d5f51
commit 2f8d1e5f47
2 changed files with 2 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ from sqlalchemy.orm import relationship
from ..database import Base
class Game(Base):
__tablename__ = "games"
@@ -28,4 +29,3 @@ class Game(Base):
download_size = Column(String)
owner_id = Column(Integer, ForeignKey("users.id"))
owner = relationship("User", back_populates="games")