summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJan Katins <jasc@gmx.net>2023-03-06 16:18:17 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2023-03-06 19:25:59 -0500
commit6f8d9af59aa431aca3be851066c729c52b12a7a2 (patch)
tree444b0d5bf76c9788cc42b084661bc3df04ff52da /docs
parentcd7b1a94cc90ca533a84b47332900888151e22d0 (diff)
downloadalembic-6f8d9af59aa431aca3be851066c729c52b12a7a2.tar.gz
improve autogen rendering for PG ExcludeConstraint
Fixed issue regarding PostgreSQL :class:`.ExcludeConstraint`, where constraint elements which made use of :func:`.literal_column` could not be rendered for autogenerate. Additionally, using SQLAlchemy 2.0.5 or greater, :func:`.text()` constructs are also supported within PostgreSQL :class:`.ExcludeConstraint` objects for autogenerate render. Pull request courtesy Jan Katins. Fixes: #1184 Closes: #1185 Pull-request: https://github.com/sqlalchemy/alembic/pull/1185 Pull-request-sha: 68360ce9aa746a85407c5e1e04b8021123d98504 Change-Id: I302f3f4007a186ffac13b344ff6769dd302f28f5
Diffstat (limited to 'docs')
-rw-r--r--docs/build/unreleased/1184.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/build/unreleased/1184.rst b/docs/build/unreleased/1184.rst
new file mode 100644
index 0000000..3d26f3e
--- /dev/null
+++ b/docs/build/unreleased/1184.rst
@@ -0,0 +1,10 @@
+.. change::
+ :tags: bug, postgresql
+ :tickets: 1184
+
+ Fixed issue regarding PostgreSQL :class:`.ExcludeConstraint`, where
+ constraint elements which made use of :func:`.literal_column` could not be
+ rendered for autogenerate. Additionally, using SQLAlchemy 2.0.5 or greater,
+ :func:`.text()` constructs are also supported within PostgreSQL
+ :class:`.ExcludeConstraint` objects for autogenerate render. Pull request
+ courtesy Jan Katins. \ No newline at end of file