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 Mar 25, 2024
1 parent 70150ef commit 7283a8e
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 @@ -30,7 +30,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')
Expand Down

0 comments on commit 7283a8e

Please sign in to comment.