Skip to content

Commit

Permalink
Fix case sensitivity of table name by quoting it
Browse files Browse the repository at this point in the history
  • Loading branch information
artem.golovin committed Apr 13, 2024
1 parent 2d0d4f7 commit 6f1ca0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alembic_postgresql_enum/get_enum_data/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...]]
Expand Down

0 comments on commit 6f1ca0a

Please sign in to comment.