From c41716471212f6163daa3fa7d2aa6ce091394269 Mon Sep 17 00:00:00 2001 From: cnabro Date: Thu, 28 Sep 2023 21:02:57 +0900 Subject: [PATCH] fix: update the SQLAlchemy model definition at json column for Log table --- superset/models/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/models/core.py b/superset/models/core.py index a193260fdd28d..332e5bb513f31 100755 --- a/superset/models/core.py +++ b/superset/models/core.py @@ -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] )