summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-02 16:04:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-02 16:04:43 -0400
commit55d97db8c3edc12ee15eb6e7ca6afb173a93e770 (patch)
tree9cc749993614cabae356048d5aac8598c30891aa /docs
parentfc6122313029f817c429ec41626e96910a5c7797 (diff)
downloadalembic-55d97db8c3edc12ee15eb6e7ca6afb173a93e770.tar.gz
- This releases' "autogenerate index detection" bug, when a MySQL table
includes an Index with the same name as a column, autogenerate reported it as an "add" even though its not; this is because we ignore reflected indexes of this nature due to MySQL creating them implicitly. Indexes that are named the same as a column are now ignored on MySQL if we see that the backend is reporting that it already exists; this indicates that we can still detect additions of these indexes but not drops, as we cannot distinguish a backend index same-named as the column as one that is user generated or mysql-generated. fixes #202
Diffstat (limited to 'docs')
-rw-r--r--docs/build/changelog.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst
index e312603..356c506 100644
--- a/docs/build/changelog.rst
+++ b/docs/build/changelog.rst
@@ -6,6 +6,20 @@ Changelog
:version: 0.6.5
.. change::
+ :tags: bug, autogenerate, mysql
+ :tickets: 202
+
+ This releases' "autogenerate index detection" bug, when a MySQL table
+ includes an Index with the same name as a column, autogenerate reported
+ it as an "add" even though its not; this is because we ignore reflected
+ indexes of this nature due to MySQL creating them implicitly. Indexes
+ that are named the same as a column are now ignored on
+ MySQL if we see that the backend is reporting that it already exists;
+ this indicates that we can still detect additions of these indexes
+ but not drops, as we cannot distinguish a backend index same-named
+ as the column as one that is user generated or mysql-generated.
+
+ .. change::
:tags: feature, environment
:tickets: 201