mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-16 13:34:10 +02:00
revert change to foreign key definition in test
This commit is contained in:
parent
2f9889d795
commit
597965a5a9
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue