Skip to content

Commit

Permalink
Fixed bug in --all method
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Feb 8, 2019
1 parent d9f34fc commit b75e3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_to_sqlite/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def cli(path, connection, sql, table, all, pk):
pk = None
if pks:
pk = pks[0]
fks = inspector.get_foreign_keys("elections_election")
fks = inspector.get_foreign_keys(table)
foreign_keys = [(
# column, type, other_table, other_column
fk["constrained_columns"][0],
Expand Down

0 comments on commit b75e3e2

Please sign in to comment.