mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +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>
This commit is contained in:
@@ -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