Skip to content

Commit

Permalink
fix: update the SQLAlchemy model definition at json column for Log ta…
Browse files Browse the repository at this point in the history
…ble (#25445)

(cherry picked from commit e83a76a)
  • Loading branch information
cnabro authored and michael-s-molina committed Oct 2, 2023
1 parent 58778a7 commit d8e87aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
)
Expand Down

0 comments on commit d8e87aa

Please sign in to comment.