mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(sqllab): null database with backend persistence (#19548)
(cherry picked from commit 2d81c4c79f)
This commit is contained in:
committed by
Ville Brofeldt
parent
34e3119c40
commit
c4d24a09a8
@@ -118,7 +118,7 @@ class Query(Model, ExtraJSONMixin):
|
||||
"changedOn": self.changed_on,
|
||||
"changed_on": self.changed_on.isoformat(),
|
||||
"dbId": self.database_id,
|
||||
"db": self.database.database_name,
|
||||
"db": self.database.database_name if self.database else None,
|
||||
"endDttm": self.end_time,
|
||||
"errorMessage": self.error_message,
|
||||
"executedSql": self.executed_sql,
|
||||
|
||||
Reference in New Issue
Block a user