]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use storage engine when creating tables in migrations
authorJakub Libosvar <libosvar@redhat.com>
Tue, 22 Jul 2014 16:50:07 +0000 (18:50 +0200)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Thu, 31 Jul 2014 13:35:42 +0000 (17:35 +0400)
commit466e89970f11918a809aafe8a048d138d4664299
treeca2a2abe92b471dae6ead6bfec069c854b208615
parentf32c0ebe68f0ad27ac7a9717ef3f6e3406f953a1
Use storage engine when creating tables in migrations

Although __table_args__ is set correctly in the base model, existing
migration scripts were not generated with the mysql_engine option in
the alembic output, likely due to:

https://bitbucket.org/zzzeek/alembic/issue/110/

This adds the mysql_engine option to each table creation operation.

Change-Id: I990e8d64bcadf2be4e1e319319bc23225123b304
Closes-Bug: #1288358
neutron/db/migration/alembic_migrations/env.py
neutron/db/migration/cli.py