pgclass fix

This commit is contained in:
p23 2024-11-26 01:26:55 +00:00
parent bf454e8f27
commit a548599662

View File

@ -17,7 +17,7 @@ class SQLarticle(Base):
file_list = Column(ARRAY(BIGINT)) file_list = Column(ARRAY(BIGINT))
def __repr__(self): def __repr__(self):
return f"<article(id={self.id}, hash={self.hash}, content={self.content}, igid={self.igid}, mark={self.mark}, created_at={self.created_at}, ip={self.ip}, reference={self.reference})>" return f"<article(id={self.id}, hash={self.hash}, content={self.content}, igid={self.igid}, mark={self.mark}, created_at={self.created_at}, ip={self.ip}, reference={self.reference} file_list={self.file_list})>"
class SQLlog(Base): class SQLlog(Base):
__tablename__ = 'logs' __tablename__ = 'logs'