You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/02 14:47:53 UTC
[superset] 01/05: fix: update the SQLAlchemy model definition at json column for Log table (#25445)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d8e87aa3ccbbbcb496aabd74a1310248667b20a6
Author: Gyuil Han <cn...@gmail.com>
AuthorDate: Fri Sep 29 21:02:44 2023 +0900
fix: update the SQLAlchemy model definition at json column for Log table (#25445)
(cherry picked from commit e83a76a58642018aa93ae5bef509a42cabdec980)
---
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 e3f91e1379..0581756b81 100755
--- a/superset/models/core.py
+++ b/superset/models/core.py
@@ -995,7 +995,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]
)