diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-03-24 18:09:42 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-03-24 18:09:42 +0000 |
commit | 3715950d628715993843ddd6dd485b74d203576f (patch) | |
tree | 2ec62e41df44a9b1d0e9e4ee46367f90a2b1d9ca | |
parent | 882e007890e350d9e18e0304ec683ae00a5bdec7 (diff) | |
parent | 3b5d81a740fb7310e4bf9e4edcb89e1a47f52de6 (diff) | |
download | ironic-3715950d628715993843ddd6dd485b74d203576f.tar.gz |
Merge "Change JsonEncodedType.impl to TEXT"
-rw-r--r-- | ironic/db/sqlalchemy/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/db/sqlalchemy/models.py b/ironic/db/sqlalchemy/models.py index 8f3d18f39..e0d2d305b 100644 --- a/ironic/db/sqlalchemy/models.py +++ b/ironic/db/sqlalchemy/models.py @@ -27,7 +27,7 @@ from sqlalchemy import Boolean, Column, DateTime from sqlalchemy import ForeignKey, Integer, Index from sqlalchemy import schema, String, Text from sqlalchemy.ext.declarative import declarative_base -from sqlalchemy.types import TypeDecorator, VARCHAR +from sqlalchemy.types import TypeDecorator, TEXT from ironic.openstack.common.db.sqlalchemy import models @@ -51,7 +51,7 @@ def table_args(): class JsonEncodedType(TypeDecorator): """Abstract base type serialized as json-encoded string in db.""" type = None - impl = VARCHAR + impl = TEXT def process_bind_param(self, value, dialect): if value is None: |