Might be clearer if named `get_foreign_key_dependencies`.