diff --git a/superset/models/sql_lab.py b/superset/models/sql_lab.py index babea35baf39b..2e5af7402fb4d 100644 --- a/superset/models/sql_lab.py +++ b/superset/models/sql_lab.py @@ -244,6 +244,7 @@ def data(self) -> Dict[str, Any]: "owners": self.owners_data, "database": {"id": self.database_id, "backend": self.database.backend}, "order_by_choices": order_by_choices, + "schema": self.schema, } def raise_for_access(self) -> None: