mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 02:14:31 +02:00
Run black and cog for formatting and CLI reference update
This commit is contained in:
parent
0a567b7c50
commit
5ce545b592
4 changed files with 59 additions and 19 deletions
|
|
@ -1877,9 +1877,7 @@ class Table(Queryable):
|
|||
if fk.other_table == self.name and fk.other_column in rename:
|
||||
# This FK needs updating
|
||||
needs_update = True
|
||||
new_fks.append(
|
||||
(fk.column, fk.other_table, rename[fk.other_column])
|
||||
)
|
||||
new_fks.append((fk.column, fk.other_table, rename[fk.other_column]))
|
||||
else:
|
||||
new_fks.append((fk.column, fk.other_table, fk.other_column))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue