]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
The ``deferrable`` keyword argument on :class:`.ForeignKey` and
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Jun 2013 22:33:20 +0000 (18:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Jun 2013 22:33:20 +0000 (18:33 -0400)
commitada19275299f0105f4aaed5bbe0d373ea33feea6
treeeffc1e3d25f4c94512a19720dacbae1d8270f0d5
parent3a13047fb06d698e0440895281c484199e0a95a5
The ``deferrable`` keyword argument on :class:`.ForeignKey` and
:class:`.ForeignKeyConstraint` will not render the ``DEFERRABLE`` keyword
on the MySQL dialect.  For a long time we left this in place because
a non-deferrable foreign key would act very differently than a deferrable
one, but some environments just disable FKs on MySQL, so we'll be less
opinionated here. [ticket:2721]
doc/build/changelog/changelog_08.rst
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/test_mysql.py