summaryrefslogtreecommitdiff
path: root/docs/build
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-07 11:05:20 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-07 11:05:20 -0400
commit1ae44556907f14f92874f05d05242cb57bb0f855 (patch)
tree5e744b2c671fdf74be1b613cd5bc145f081fd213 /docs/build
parent3d9b1128cd6bf03ecb45003587c0eedfb9552b07 (diff)
downloadalembic-1ae44556907f14f92874f05d05242cb57bb0f855.tar.gz
uniquify cols for FK table object
Fixed issue where using a directive such as ``op.create_foreign_key()`` to create a self-referential constraint on a single table where the same column were present on both sides (e.g. within a composite foreign key) would produce an error under SQLAlchemy 2.0 and a warning under SQLAlchemy 1.4 indicating that a duplicate column were being added to a table. Change-Id: I2a8f5d8def2714792bffcdfb8bf88a5080ec8ce7 Fixes: #1215
Diffstat (limited to 'docs/build')
-rw-r--r--docs/build/unreleased/1215.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/build/unreleased/1215.rst b/docs/build/unreleased/1215.rst
new file mode 100644
index 0000000..c2c3a08
--- /dev/null
+++ b/docs/build/unreleased/1215.rst
@@ -0,0 +1,9 @@
+.. change::
+ :tags: bug, operations
+ :tickets: 1215
+
+ Fixed issue where using a directive such as ``op.create_foreign_key()`` to
+ create a self-referential constraint on a single table where the same
+ column were present on both sides (e.g. within a composite foreign key)
+ would produce an error under SQLAlchemy 2.0 and a warning under SQLAlchemy
+ 1.4 indicating that a duplicate column were being added to a table.