Мелкофиксы для подключения БД
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3767417e23
commit
4229624763
4
sqdb.py
4
sqdb.py
@ -19,7 +19,7 @@ class User(Base):
|
||||
user_fullname = Column(String)
|
||||
date_updated = (Column(DateTime))
|
||||
dick_requests = relationship("DickRequest", back_populates="user")
|
||||
dicks = relationship("UserDick", back_populates="user")
|
||||
user_dicks = relationship("UserDick", back_populates="user")
|
||||
|
||||
|
||||
class UserDick(Base):
|
||||
@ -29,7 +29,7 @@ class UserDick(Base):
|
||||
user_id = Column(Integer, ForeignKey("users.user_id"))
|
||||
dick_size = (Column(Integer))
|
||||
chat_id = Column(BIGINT)
|
||||
user = relationship("User", back_populates="dick_requests")
|
||||
user = relationship("User", back_populates="user_dicks")
|
||||
|
||||
|
||||
class DickRequest(Base):
|
||||
|
Loading…
Reference in New Issue
Block a user