From bf36f9fc9aa6eae18b58a16b4957c5bc5b2db0d4 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 6 Feb 2019 13:47:40 +0100 Subject: [PATCH] use Text instead of TEXT TEXT is wrong on Oracle, LargeBinary is wrong everywhere else. Text seems to be the high-level type that maps to the right thing both places. This results in no change on supported implementations, as Text == TEXT there. --- jupyterhub/orm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/orm.py b/jupyterhub/orm.py index 4dfd3e1d..1e2c21a5 100644 --- a/jupyterhub/orm.py +++ b/jupyterhub/orm.py @@ -46,7 +46,7 @@ class JSONDict(TypeDecorator): """ - impl = LargeBinary + impl = Text def process_bind_param(self, value, dialect): if value is not None: