diff --git a/alembic_postgresql_enum/get_enum_data/types.py b/alembic_postgresql_enum/get_enum_data/types.py index d71bd7f..229a167 100644 --- a/alembic_postgresql_enum/get_enum_data/types.py +++ b/alembic_postgresql_enum/get_enum_data/types.py @@ -48,7 +48,7 @@ def table_name_with_schema(self): prefix = f"{self.table_schema}." else: prefix = "" - return f"{prefix}{self.table_name}" + return f'"{prefix}{self.table_name}"' EnumNamesToValues = Dict[str, Tuple[str, ...]]