summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/changelog/changelog_09.rst16
-rw-r--r--lib/sqlalchemy/dialects/mssql/base.py2
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/build/changelog/changelog_09.rst b/doc/build/changelog/changelog_09.rst
index 369eb6c42..29cb8e2e4 100644
--- a/doc/build/changelog/changelog_09.rst
+++ b/doc/build/changelog/changelog_09.rst
@@ -15,6 +15,22 @@
:version: 0.9.2
.. change::
+ :tags: bug, sql
+ :pullreq: bitbucket:11
+
+ A :class:`.UniqueConstraint` created inline with a :class:`.Table`
+ that has no columns within it will be skipped. Pullreq courtesy
+ Derek Harland.
+
+ .. change::
+ :tags: feature, mssql
+ :pullreq: bitbucket:11
+
+ Added an option ``mssql_clustered`` to the :class:`.UniqueConstraint`
+ and :class:`.PrimaryKeyConstraint` constructs; on SQL Server, this adds
+ the ``CLUSTERED`` keyword to the constraint construct within DDL.
+
+ .. change::
:tags: bug, oracle
:tickets: 2911
diff --git a/lib/sqlalchemy/dialects/mssql/base.py b/lib/sqlalchemy/dialects/mssql/base.py
index 6c942b270..0e779686c 100644
--- a/lib/sqlalchemy/dialects/mssql/base.py
+++ b/lib/sqlalchemy/dialects/mssql/base.py
@@ -138,7 +138,7 @@ Similarly, we can generate a clustered unique constraint using::
UniqueConstraint("y", mssql_clustered=True),
)
- .. versionadded:: 0.9
+ .. versionadded:: 0.9.2
MSSQL-Specific Index Options
-----------------------------