mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-17 22:14:09 +02:00
Ran Black
This commit is contained in:
parent
da739fbaba
commit
4bde3c4703
1 changed files with 3 additions and 1 deletions
|
|
@ -535,7 +535,9 @@ def add_foreign_key(
|
||||||
_register_db_for_cleanup(db)
|
_register_db_for_cleanup(db)
|
||||||
_load_extensions(db, load_extension)
|
_load_extensions(db, load_extension)
|
||||||
try:
|
try:
|
||||||
db.table(table).add_foreign_key(column, other_table, other_column, ignore=ignore)
|
db.table(table).add_foreign_key(
|
||||||
|
column, other_table, other_column, ignore=ignore
|
||||||
|
)
|
||||||
except AlterError as e:
|
except AlterError as e:
|
||||||
raise click.ClickException(str(e))
|
raise click.ClickException(str(e))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue