diff options
| author | Michal Petrucha <michal.petrucha@koniiiik.org> | 2016-04-11 23:16:24 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-02 17:49:09 -0400 |
| commit | 0e88bcc30ed49193b91f248123f526fa30007f22 (patch) | |
| tree | 2ea922bc52235cf876181579771c9b9d8cc2b53c /doc | |
| parent | 59d90c95a133ee6b4a4db8ed61c699956eb33e9f (diff) | |
| download | sqlalchemy-0e88bcc30ed49193b91f248123f526fa30007f22.tar.gz | |
Reflect ON DELETE and ON UPDATE for SQLite foreign keys
Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: Icd77ddbf851b1950f767022d67c8142b1b3c50f3
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/244
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_11.rst | 8 | ||||
| -rw-r--r-- | doc/build/changelog/migration_11.rst | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index b872f12ab..40fa46b7c 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -53,6 +53,14 @@ Pull request courtesy Josh Marlow. .. change:: + :tags: feature, sqlite + :pullreq: github:244 + + The SQLite dialect now reflects ON UPDATE and ON DELETE phrases + within foreign key constraints. Pull request courtesy + Michal Petrucha. + + .. change:: :tags: bug, mssql :pullreq: bitbucket:58 diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst index 479681798..7ebaf84a0 100644 --- a/doc/build/changelog/migration_11.rst +++ b/doc/build/changelog/migration_11.rst @@ -2274,6 +2274,14 @@ both within the method :meth:`.Inspector.get_check_constraints` as well as within :class:`.Table` reflection within the :attr:`.Table.constraints` collection. +ON DELETE and ON UPDATE foreign key phrases now reflect +------------------------------------------------------- + +The :class:`.Inspector` will now include ON DELETE and ON UPDATE +phrases from foreign key constraints on the SQLite dialect, and the +:class:`.ForeignKeyConstraint` object as reflected as part of a +:class:`.Table` will also indicate these phrases. + Dialect Improvements and Changes - SQL Server ============================================= |
