]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Properly apply column default in migration pool_monitor_status
authorEugene Nikanorov <enikanorov@mirantis.com>
Thu, 10 Apr 2014 09:36:45 +0000 (13:36 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Thu, 10 Apr 2014 09:36:45 +0000 (13:36 +0400)
commitc7dceedde516170d1a6ac1257103bdacb3b0cc84
tree7eeb810b1d17c20f3d26ea4ae045508391da1596
parenta7da625571a5acb161246e62713da81526a8d86b
Properly apply column default in migration pool_monitor_status

server_default parameter should be used to apply default value at
table/column creation time. Otherwise non-nullable column can't
be created because of existing rows in the tables.

Change-Id: I7136e6a0dfb9dc66ca63ff3c9fcf6de164e27e63
Closes-Bug: #1305725
neutron/db/migration/alembic_migrations/versions/11c6e18605c8_pool_monitor_status_.py