]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- changelog for #3629, fixes #3629
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2016 20:32:55 +0000 (16:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2016 20:32:55 +0000 (16:32 -0400)
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst

index 373fe4c3a11f9dacb0e83764d956f56f309024f0..2a0e609b62143e2796444429a3079e1bbaa2dbe4 100644 (file)
 .. changelog::
     :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
index 13749b047484f93dc9a0480cf00306509a3dac0d..64ed2d9e25bc7631b4731f3a50465aff8023d7d4 100644 (file)
@@ -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
 =============================================