Merge "db: Drop the convert_unicode, unicode_error flags"

This commit is contained in:
Zuul 2023-09-19 00:40:21 +00:00 committed by Gerrit Code Review
commit 96ab3e976f
1 changed files with 2 additions and 6 deletions

View File

@ -25,15 +25,11 @@ LOG = logging.getLogger(__name__)
def String(length):
return sqlalchemy.types.String(
length=length, convert_unicode=False,
unicode_error=None, _warn_on_bytestring=False)
return sqlalchemy.types.String(length=length)
def Text():
return sqlalchemy.types.Text(
length=None, convert_unicode=False,
unicode_error=None, _warn_on_bytestring=False)
return sqlalchemy.types.Text(length=None)
def Boolean():