Comment 3 for bug 1557757

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/293152
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=79bc54a2d83e05d863dc836d651710859394e25c
Submitter: Jenkins
Branch: master

commit 79bc54a2d83e05d863dc836d651710859394e25c
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
    Change-Id: Ib0b2ac061d21a7d908f14b399b0bba06d94b7241