From: Mike Bayer Date: Sun, 8 Sep 2013 19:55:29 +0000 (-0400) Subject: changelog X-Git-Tag: rel_0_6_1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=663de19a053c5bfbbf6366c45476e8b0a347736f;p=thirdparty%2Fsqlalchemy%2Falembic.git changelog --- diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 5fd73fcf..5284e30c 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -7,6 +7,16 @@ Changelog :version: 0.6.1 :released: no release date + .. change:: + :tags: feature + :tickets: 107 + + Support for autogeneration detection and rendering of indexes and + unique constraints has been added. The logic goes through some effort + in order to differentiate between true unique constraints and + unique indexes, where there are some quirks on backends like Postgresql. + The effort here in producing the feature and tests is courtesy of IJL. + .. change:: :tags: bug diff --git a/docs/build/tutorial.rst b/docs/build/tutorial.rst index 4b76f298..96ab2ffb 100644 --- a/docs/build/tutorial.rst +++ b/docs/build/tutorial.rst @@ -551,6 +551,9 @@ Autogenerate will by default detect: * Table additions, removals. * Column additions, removals. * Change of nullable status on columns. +* Basic changes in indexes and unique constraints + +.. versionadded:: 0.6.1 Support for autogenerate of indexes and unique constraints. Autogenerate can *optionally* detect: @@ -589,13 +592,8 @@ Autogenerate can *not* detect: Autogenerate can't currently, but will *eventually* detect: -* Free-standing constraint additions, removals, - like CHECK, UNIQUE, FOREIGN KEY - these aren't yet implemented. - Right now you'll get constraints within new tables, PK and FK - constraints for the "downgrade" to a previously existing table, - and the CHECK constraints generated with a SQLAlchemy "schema" types - :class:`~sqlalchemy.types.Boolean`, :class:`~sqlalchemy.types.Enum`. -* Index additions, removals - not yet implemented. +* Some free-standing constraint additions and removals, + like CHECK and FOREIGN KEY - these are not fully implemented. * Sequence additions, removals - not yet implemented. Rendering Custom Types in Autogenerate