Skip to content

Commit f27089f

Browse files
fix correct name
1 parent 2dacc34 commit f27089f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmesh/core/engine_adapter/mssql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def drop_schema(
173173
objects = self._get_data_objects(schema_name)
174174
for obj in objects:
175175
# Build properly quoted table for MSSQL using square brackets when needed
176-
object_name = exp.table_(obj.name, obj.schema_name)
176+
object_table = exp.table_(obj.name, obj.schema_name)
177177

178178
# _get_data_objects is catalog-specific, so these can't accidentally drop view/tables in another catalog
179179
if obj.type == DataObjectType.VIEW:

0 commit comments

Comments
 (0)