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 (apache#25445)
  • Loading branch information
cnabro authored Sep 29, 2023
1 parent 7cf96cd commit e83a76a
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 @@ -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]
)
Expand Down

0 comments on commit e83a76a

Please sign in to comment.