diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2016-06-03 10:55:54 -0400 |
|---|---|---|
| committer | Gerrit Code Review <gerrit2@ln3.zzzcomputing.com> | 2016-06-03 10:55:54 -0400 |
| commit | 40f9bcf1112bf25fd87a45cbf08f64c305d055a1 (patch) | |
| tree | 8dd023430803f871b175ba6b8b713e9f67f90ab6 /doc | |
| parent | 74ca7f627ea8f31a8312f965d5249ce1f701d627 (diff) | |
| parent | 0e88bcc30ed49193b91f248123f526fa30007f22 (diff) | |
| download | sqlalchemy-40f9bcf1112bf25fd87a45cbf08f64c305d055a1.tar.gz | |
Merge "Reflect ON DELETE and ON UPDATE for SQLite foreign keys"
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 ============================================= |
