]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
[sqlite] Reflect DEFERRABLE and INITIALLY options for foreign keys
authorMichael Gorven <michael@gorven.net>
Tue, 29 Nov 2022 23:36:19 +0000 (18:36 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Nov 2022 20:13:22 +0000 (15:13 -0500)
commit07760011b5176be03c7811e9a45933b473b8b80b
treefe7c1958ef41ab47604e765cfcdbd35daaff7ef1
parent7857a1de32169858367446d11089c34f8daee957
[sqlite] Reflect DEFERRABLE and INITIALLY options for foreign keys

Added support for the SQLite backend to reflect the "DEFERRABLE" and
"INITIALLY" keywords which may be present on a foreign key construct. Pull
request courtesy Michael Gorven.

Fixes: #8903
Closes: #8904
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8904
Pull-request-sha: 52aa4cf77482c4051899e21bea75b9830e4c3efa

Change-Id: I713906db1a458d8f1be39625841ca3bbc03ec835
doc/build/changelog/unreleased_14/8903.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py