Fix sqlalchemy CompileError

This bug was replicated to mysql database.

Change-Id: If41e76474c29f764898a824ab324889c6cf2e85b
Fixes: bug #1201438
This commit is contained in:
Sergey Reshetnyak 2013-07-17 18:23:49 +04:00
parent a862927f2d
commit 881006f638

View File

@ -22,7 +22,7 @@ from savanna.openstack.common import jsonutils
class JSONEncoded(st.TypeDecorator):
"""Represents an immutable structure as a json-encoded string."""
impl = st.VARCHAR
impl = st.TEXT
def process_bind_param(self, value, dialect):
if value is not None: