]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add non-model index names to autogen exclude filters
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Aug 2015 18:44:28 +0000 (14:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Sep 2015 21:23:04 +0000 (17:23 -0400)
commit7ca5a26c982084ed0b4cf036917a64580da6385c
tree1a19980d672d5ce1e3971c66e0321f23ca8d03d9
parent6576bea07c6c268b16e6c1f118b858e698452e2b
Add non-model index names to autogen exclude filters

The SQLAlchemy MySQL dialect generates implicit indexes
in the less-common case of an integer column within a composite
primary key where autoincrement is not set to False.
Add a rule to ignore these indexes when performing
autogenerate against a target database.

Change-Id: I49abb3f7ad9731cde046fa2862cdb9ec16c3aeb3
Partially-Implements: blueprint online-schema-migrations
neutron/db/migration/alembic_migrations/env.py