revert change to foreign key definition in test

This commit is contained in:
David Kane 2020-11-16 00:55:49 +00:00
commit 597965a5a9

View file

@ -355,10 +355,7 @@ def test_add_foreign_key(fresh_db):
assert isinstance(t, Table) and t.name == "books"
assert [
ForeignKey(
table="books",
column=("author_id",),
other_table="authors",
other_column=("id",),
table="books", column="author_id", other_table="authors", other_column="id"
)
] == fresh_db["books"].foreign_keys