Remove deprecated assert_unicode sqlalchemy attribute,
removed in sqlalchemy 0.8.0. The deprecation is described
at:
http://docs.sqlalchemy.org/en/latest/changelog/changelog_08.html#change-
ad44af79c886d1bb283042deb64f9cbe
Change-Id: I874be66948fc296bc6afe7f731dc4731645f0fbe
Signed-off-by: Chuck Short <chuck.short@canonical.com>
# Align the current state/state_description with the
# action/status now used in the event table
action = sqlalchemy.Column('action',
- sqlalchemy.String(length=255,
- convert_unicode=False,
- assert_unicode=None,
- unicode_error=None,
- _warn_on_bytestring=False))
+ sqlalchemy.String(length=255))
action.create(resource)
resource.c.state.alter(name='status')
resource.c.state_description.alter(name='status_reason')
stack = sqlalchemy.Table('stack', meta, autoload=True)
# Align with action/status now used in the event/resource tables
action = sqlalchemy.Column('action',
- sqlalchemy.String(length=255,
- convert_unicode=False,
- assert_unicode=None,
- unicode_error=None,
- _warn_on_bytestring=False))
+ sqlalchemy.String(length=255))
action.create(stack)