neutron/neutron/db/migration/alembic_migrations
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
..
versions Clean up subports model 2016-06-09 14:41:41 +00:00
__init__.py Remove vim line from db migartion template 2014-03-03 16:09:41 +09:00
agent_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
brocade_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
cisco_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
core_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
dvr_init_opts.py Kilo initial migration 2016-01-04 16:50:09 +00:00
env.py Fix alembic 'No handlers could be found for logger...' 2016-03-23 11:30:37 -04:00
external.py Remove BGP code from neutron 2016-04-25 21:54:06 -07:00
firewall_init_ops.py Remove downgrade from existing migrations 2015-03-23 13:49:24 +00:00
l3_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
lb_init_ops.py Remove downgrade from existing migrations 2015-03-23 13:49:24 +00:00
loadbalancer_init_ops.py Juno_initial migration 2015-06-16 15:03:14 +03:00
metering_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
ml2_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
nec_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
nsxv_initial_opts.py Kilo initial migration 2016-01-04 16:50:09 +00:00
nuage_init_opts.py Kilo initial migration 2016-01-04 16:50:09 +00:00
other_extensions_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
other_plugins_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
ovs_init_ops.py Remove downgrade from existing migrations 2015-03-23 13:49:24 +00:00
portsec_init_ops.py Remove downgrade from existing migrations 2015-03-23 13:49:24 +00:00
script.py.mako [neutron-db-manage] revision: properly bootstrap a new branch 2015-07-26 21:00:23 -04:00
secgroup_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
vmware_init_ops.py Kilo initial migration 2016-01-04 16:50:09 +00:00
vpn_init_ops.py Remove downgrade from existing migrations 2015-03-23 13:49:24 +00:00