]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Make String column creation compatible with SQLAlchemy 0.8
authorDavid Ripton <dripton@redhat.com>
Tue, 9 Jul 2013 17:32:08 +0000 (13:32 -0400)
committerDavid Ripton <dripton@redhat.com>
Wed, 10 Jul 2013 01:59:14 +0000 (21:59 -0400)
commitf2dbeafb4746c89734d70e15601f24aeb22b0d8f
tree1b96820a73a11dc18802f21b6174305a07338ab0
parent811d5145cdc4117eb072b355c5022fea4a735aa8
Make String column creation compatible with SQLAlchemy 0.8

3 migration scripts used the convert_unicode, unicode_error, and
_warn_on_bytestring arguments when creating String columns.  These
seem to cause problems with SQLAlchemy 0.8.  Nova excised all use
of such arguments in commit 93dec58156e when squashing migrations
for Grizzly, and seems to have no problems with SQLAlchemy 0.8.

Fixes bug 1199453

Change-Id: Ie4b46339423e6a1ad3d8ca699a2412b825206c0e
cinder/db/sqlalchemy/migrate_repo/versions/002_quota_class.py
cinder/db/sqlalchemy/migrate_repo/versions/008_add_backup.py
cinder/db/sqlalchemy/migrate_repo/versions/010_add_transfers_table.py