Replace nullable from primary keys in tz_network_bindings with default
Columns vlan_id and phy_uuid were both nullable and primary keys.
Primary keys cannot be nulls. This situation caused problems in
autogenerating scripts creating always migration that set these columns
to nullable.
Instead of having primary keys nullable this patch creates a default
values.
Reviewed: https:/ /review. openstack. org/108690 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e416a5420f4 5391c180f84098f 4d2c02ecf857b9
Committed: https:/
Submitter: Jenkins
Branch: master
commit e416a5420f45391 c180f84098f4d2c 02ecf857b9
Author: Jakub Libosvar <email address hidden>
Date: Tue Jul 22 15:22:24 2014 +0200
Replace nullable from primary keys in tz_network_bindings with default
Columns vlan_id and phy_uuid were both nullable and primary keys.
Primary keys cannot be nulls. This situation caused problems in
autogenerating scripts creating always migration that set these columns
to nullable.
Instead of having primary keys nullable this patch creates a default
values.
Change-Id: I04642f6d6ad232 997a593bff8ca44 f9a7a803ffd
Closes-bug: #1346900