summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-03-06 13:34:40 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2023-03-06 14:09:04 -0500
commit3cf19f16631e54108e5f519348cba14521b7433e (patch)
tree2097dc67dfdd0dec3fb94317dde1fcf2b812f751 /docs
parentcd7b1a94cc90ca533a84b47332900888151e22d0 (diff)
downloadalembic-3cf19f16631e54108e5f519348cba14521b7433e.tar.gz
distinguish between string contraint name and defined
Take _NONE_NAME into account as a valid constraint name and don't skip these constraints or consider them to be unnamed. Thanks to typing this also revealed that previous batch versions were also keying "_NONE_NAME" constraints as though they were named. Fixed regression for 1.10.0 where :class:`.Constraint` objects were suddenly required to have non-None name fields when using batch mode, which was not previously a requirement. Change-Id: If4a7191a00848b19cb124bc6da362f3bc6ce1472 Fixes: #1195
Diffstat (limited to 'docs')
-rw-r--r--docs/build/unreleased/1195.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/build/unreleased/1195.rst b/docs/build/unreleased/1195.rst
new file mode 100644
index 0000000..11542f1
--- /dev/null
+++ b/docs/build/unreleased/1195.rst
@@ -0,0 +1,7 @@
+.. change::
+ :tags: bug, batch, regression
+ :tickets: 1195
+
+ Fixed regression for 1.10.0 where :class:`.Constraint` objects were
+ suddenly required to have non-None name fields when using batch mode, which
+ was not previously a requirement.