neutron/neutron/db/migration
Carl Baldwin eb0861135b Clean up subports model
First, the nullable attribute on port_id was redundant because it is
in the primary key.

Second, trunk_id shouldn't be in the primary key.  Since port_id was
already marked unique, it didn't add any extra uniqueness constraint
and it doesn't help to have it in a primary key index either since
we'll either search the table for a given port_id *or* search for
subports with a given trunk_id.

The original model was not released in Mitaka.  Also, this is
effectively a cosmetic change, it doesn't really effect the operation
of the DB.  So, developers and trunk chasers who have deployed with
the previous model will still work.

Change-Id: Ia43a2a772f654e26c3234e153fd8a5501e585c9b
Partially-Implements: blueprint vlan-aware-vms
2016-06-09 14:41:41 +00:00
..
alembic_migrations Clean up subports model 2016-06-09 14:41:41 +00:00
models Merge "Integrate the port allowed address pairs VersionedObject in Neutron" 2016-05-24 13:02:31 +00:00
README Support for independent alembic branches in sub-projects 2015-08-12 23:50:58 -04:00
__init__.py Postgresql: add do_drop arg in alter_enum function 2016-04-11 04:45:01 -05:00
alembic.ini Ease debugging alembic by passing proper scripts path in alembic.ini 2015-06-22 15:44:55 +02:00
autogen.py Support new mitaka directory with revisions 2015-09-30 18:58:52 +02:00
cli.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
connection.py neutron-db-manage: add has_offline_migrations command 2016-01-22 13:55:40 +00:00

README

See doc/source/devref/alembic_migrations.rst

Rendered at
http://docs.openstack.org/developer/neutron/devref/alembic_migrations.html