]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Improve changelog for sort option detection in postgresql.
authorFederico Caselli <cfederico87@gmail.com>
Tue, 8 Aug 2023 19:59:55 +0000 (21:59 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 8 Aug 2023 20:00:38 +0000 (22:00 +0200)
References: #1285
Change-Id: I957d714b7cf721a84e3776eab28c1799faf5f7cc

docs/build/changelog.rst

index 579f25334ef1762a994ec803fcaaeef7da4524ee..3971c977f27f2d97f6b168f5e14c74f9158e4449 100644 (file)
@@ -214,6 +214,10 @@ Changelog
 
         Added support for autogenerate comparison of indexes on PostgreSQL which
         include SQL sort option, such as ``ASC`` or ``NULLS FIRST``.
+        The sort options are correctly detected only when defined using the
+        sqlalchemy modifier functions, such as ``asc()`` or ``nulls_first``,
+        or the equivalent methods.
+        Passing sort options inside the ``postgresql_ops`` dict is not supported.
 
     .. change::
         :tags: bug, operations