]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix provider_location column add for PSQL
authorjohn-griffith <john.griffith@solidfire.com>
Sat, 2 Feb 2013 02:21:18 +0000 (19:21 -0700)
committerjohn-griffith <john.griffith@solidfire.com>
Sat, 2 Feb 2013 02:24:35 +0000 (19:24 -0700)
commitb4bdd8e20b82f8016030037712094f257af9221f
treedc246f438263db9c324c47e482780eafa6c997d6
parent03f759c4ad28b30574168adb94d7f9a7b4cd3dc2
Fix provider_location column add for PSQL

Migration 006 (commit 690cae58e6bbac5758ea2f7b60774c797d28fba5)
didn't work properly for postgres,
this patch corrects the upgrade by ensuring the execute
is performed and the value is initialized to None.

Since we haven't released a milestone etc with this migration in the
code it should be safe to just fix it here and submit.

Change-Id: I10a09aed3470c35c8ebbe22f29aa511592167c35
cinder/db/sqlalchemy/migrate_repo/versions/006_snapshots_add_provider_location.py