mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(models): correct TabState.latest_query_id column type to match FK target (#38837)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit 4b26f8c712)
This commit is contained in:
committed by
Michael S. Molina
parent
9a35a4f43a
commit
c4af1cbca7
@@ -540,7 +540,7 @@ class TabState(AuditMixinNullable, ExtraJSONMixin, Model):
|
||||
|
||||
# latest query that was run
|
||||
latest_query_id = Column(
|
||||
Integer, ForeignKey("query.client_id", ondelete="SET NULL")
|
||||
String(11), ForeignKey("query.client_id", ondelete="SET NULL")
|
||||
)
|
||||
latest_query = relationship("Query")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user