From: Romain Chantereau Date: Wed, 20 May 2015 13:06:36 +0000 (+0200) Subject: Leave sqlalchemy convert to boolean to the DB SQL type to use. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=dc1dcbb9c847b531593d7d6b130ac2b2d04e5302;p=openstack-build%2Fcinder-build.git Leave sqlalchemy convert to boolean to the DB SQL type to use. Closes-Bug: #1457033 Change-Id: I969a4d60aa156ccfff09a58c3a448b5a9619e71f --- diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py b/cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py index e5b78c6bd..237da2e1a 100644 --- a/cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py +++ b/cinder/db/sqlalchemy/migrate_repo/versions/040_add_volume_attachment.py @@ -74,7 +74,7 @@ def upgrade(migrate_engine): values = {'id': six.text_type(uuid.uuid4()), 'created_at': CREATED_AT, 'deleted_at': None, - 'deleted': 0, + 'deleted': False, 'volume_id': volume.id, 'attached_host': volume.host, 'instance_uuid': volume.instance_uuid,