We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95daed0 commit 30f40b1Copy full SHA for 30f40b1
2 files changed
CHANGES.md
@@ -3,6 +3,7 @@ Unreleased
3
4
- Fix reflection of CHAR columns (#275)
5
- Fix reflection of TIMESTAMPTZ columns (#276), thanks to @nvachhar
6
+- Fix reflection of JSONB columns (#277)
7
8
9
# Version 2.0.3
sqlalchemy_cockroachdb/base.py
@@ -7,6 +7,7 @@
from sqlalchemy.dialects.postgresql import ARRAY
from sqlalchemy.dialects.postgresql import INET
from sqlalchemy.dialects.postgresql import UUID
10
+from sqlalchemy.dialects.postgresql import JSONB
11
from sqlalchemy.ext.compiler import compiles
12
from sqlalchemy.util import warn
13
import sqlalchemy.sql as sql
@@ -60,7 +61,7 @@
60
61
"bytea": sqltypes.BLOB,
62
"bytes": sqltypes.BLOB,
63
"json": sqltypes.JSON,
- "jsonb": sqltypes.JSON,
64
+ "jsonb": JSONB,
65
"uuid": UUID,
66
"inet": INET,
67
}
0 commit comments