]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- This releases' "autogenerate index detection" bug, when a MySQL table
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 May 2014 20:04:43 +0000 (16:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 May 2014 20:04:43 +0000 (16:04 -0400)
commit55d97db8c3edc12ee15eb6e7ca6afb173a93e770
tree9cc749993614cabae356048d5aac8598c30891aa
parentfc6122313029f817c429ec41626e96910a5c7797
- 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
alembic/ddl/mysql.py
docs/build/changelog.rst
tests/test_autogen_indexes.py
tests/test_autogenerate.py