add_is_default_to_subnetpool migration[1] is not working with a
non-empty subnetpool table because it adds a new non-nullable column
(is_default) to subnetpool table without a default value.
This change adds a server_default value to is_default column in
subnetpool table and updates associated db migration.
Reviewed: https:/ /review. openstack. org/293152 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=79bc54a2d83 e05d863dc836d65 1710859394e25c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 79bc54a2d83e05d 863dc836d651710 859394e25c
Author: Cedric Brandily <email address hidden>
Date: Tue Mar 15 22:50:19 2016 +0100
Fix add_is_ default_ to_subnetpool migration
add_ is_default_ to_subnetpool migration[1] is not working with a
non-empty subnetpool table because it adds a new non-nullable column
(is_default) to subnetpool table without a default value.
This change adds a server_default value to is_default column in
subnetpool table and updates associated db migration.
[1] neutron/ db/migration/ alembic_ migrations/ versions/ mitaka/ expand/ \
13cfb89f881a_ add_is_ default_ to_subnetpool. py
Closes-Bug: #1557757 d908f14b399b0bb a06d94b7241
Change-Id: Ib0b2ac061d21a7