mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed db.get_outbound_foreign_keys method
It duplicated the functionality of db.foreign_keys_for_table.
This commit is contained in:
parent
4d798ca0e3
commit
124acf34a6
3 changed files with 2 additions and 9 deletions
|
|
@ -428,7 +428,7 @@ def get_outbound_foreign_keys(conn, table):
|
|||
if info is not None:
|
||||
id, seq, table_name, from_, to_, on_update, on_delete, match = info
|
||||
fks.append(
|
||||
{"other_table": table_name, "column": from_, "other_column": to_}
|
||||
{"column": from_, "other_table": table_name, "other_column": to_}
|
||||
)
|
||||
return fks
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue