Skip to content

Commit e83a76a

Browse files
authored
fix: update the SQLAlchemy model definition at json column for Log table (apache#25445)
1 parent 7cf96cd commit e83a76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superset/models/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ class Log(Model): # pylint: disable=too-few-public-methods
987987
user_id = Column(Integer, ForeignKey("ab_user.id"))
988988
dashboard_id = Column(Integer)
989989
slice_id = Column(Integer)
990-
json = Column(Text)
990+
json = Column(utils.MediumText())
991991
user = relationship(
992992
security_manager.user_model, backref="logs", foreign_keys=[user_id]
993993
)

0 commit comments

Comments
 (0)