fix: update the SQLAlchemy model definition at json column for Log table (#25445)

This commit is contained in:
Gyuil Han 2023-09-29 21:02:44 +09:00 committed by GitHub
parent 7cf96cd843
commit e83a76a586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -987,7 +987,7 @@ class Log(Model): # pylint: disable=too-few-public-methods
user_id = Column(Integer, ForeignKey("ab_user.id"))
dashboard_id = Column(Integer)
slice_id = Column(Integer)
json = Column(Text)
json = Column(utils.MediumText())
user = relationship(
security_manager.user_model, backref="logs", foreign_keys=[user_id]
)