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:
Joe Li
2026-03-25 01:24:53 -07:00
committed by GitHub
parent 37c4a36fdb
commit 4b26f8c712

View File

@@ -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")