summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-03-30 16:32:55 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-03-30 16:32:55 -0400
commit5370f0503ad79e46a5d63c0f8ec0e9533447d25f (patch)
tree87e28768cdcb38d47eab9b8d2827d9c56d0a03aa
parente6cbf44d6dd7992daad940f60833735362518bfa (diff)
downloadsqlalchemy-5370f0503ad79e46a5d63c0f8ec0e9533447d25f.tar.gz
- changelog for #3629, fixes #3629
-rw-r--r--doc/build/changelog/changelog_11.rst11
-rw-r--r--doc/build/changelog/migration_11.rst11
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst
index 373fe4c3a..2a0e609b6 100644
--- a/doc/build/changelog/changelog_11.rst
+++ b/doc/build/changelog/changelog_11.rst
@@ -22,6 +22,17 @@
:version: 1.1.0b1
.. change::
+ :tags: feature, sqlite
+ :tickets: 3629
+
+ The SQLite dialect now reflects the names of primary key constraints.
+ Pull request courtesy Diana Clarke.
+
+ .. seealso::
+
+ :ref:`change_3629`
+
+ .. change::
:tags: feature, sql
:tickets: 2857
diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst
index 13749b047..64ed2d9e2 100644
--- a/doc/build/changelog/migration_11.rst
+++ b/doc/build/changelog/migration_11.rst
@@ -2086,6 +2086,17 @@ the``CREATE INDEX`` DDL didn't work correctly for a schema-bound table
and the :meth:`.Inspector.get_foreign_keys` method will now indicate the
given schema in the results. Cross-schema foreign keys aren't supported.
+.. _change_3629:
+
+Reflection of the name of PRIMARY KEY constraints
+--------------------------------------------------
+
+The SQLite backend now takes advantage of the "sqlite_master" view
+of SQLite in order to extract the name of the primary key constraint
+of a table from the original DDL, in the same way that is achieved for
+foreign key constraints in recent SQLAlchemy versions.
+
+:ticket:`3629`
Dialect Improvements and Changes - SQL Server
=============================================