]> 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:59 +0000 (15:13 -0500)
commitbd1620beb1adbdf9a9a0b15143bd62cb75d1b2de
treee232435d0b56d4fb088a2018945043e5fb50249b
parentd57558ed88a14bab5f11be045779698f7886763f
[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
(cherry picked from commit 07760011b5176be03c7811e9a45933b473b8b80b)
doc/build/changelog/unreleased_14/8903.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py