Compound primary key for foreign_keys table in _internal

pull/1159/head
Simon Willison 2020-12-22 11:04:29 -08:00
rodzic 810853c5f2
commit bc1f1e1ce8
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -66,7 +66,8 @@ async def init_internal_db(db):
"to" TEXT,
"on_update" TEXT,
"on_delete" TEXT,
"match" TEXT
"match" TEXT,
PRIMARY KEY (database_name, table_name, id, seq)
)
""",
block=True,

Wyświetl plik

@ -59,7 +59,6 @@ def test_internal_foreign_keys(app_client):
"on_update",
"on_delete",
"to",
"rowid",
"id",
"match",
"database_name",