This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new e83a76a586 fix: update the SQLAlchemy model definition at json column
for Log table (#25445)
e83a76a586 is described below
commit e83a76a58642018aa93ae5bef509a42cabdec980
Author: Gyuil Han <[email protected]>
AuthorDate: Fri Sep 29 21:02:44 2023 +0900
fix: update the SQLAlchemy model definition at json column for Log table
(#25445)
---
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 a193260fdd..332e5bb513 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]
)