Skip to content

Commit

Permalink
Fix reflect_table for alembic < 1.11.0 #274
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Nov 9, 2023
1 parent 8cd3585 commit a5390b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse_sqlalchemy/alembic/comparators.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _reflect_table(inspector, table):
if alembic_version >= (1, 11, 0):
return _alembic_reflect_table(inspector, table)
else:
return _alembic_reflect_table(inspector, table)
return _alembic_reflect_table(inspector, table, None)


@comparators.dispatch_for('schema', 'clickhouse')
Expand Down

0 comments on commit a5390b9

Please sign in to comment.