Skip to content

Commit 6801925

Browse files
committed
Fix reflection of TIMESTAMPTZ columns
1 parent 7748810 commit 6801925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlalchemy_cockroachdb/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"time": sqltypes.Time,
4646
"time without time zone": sqltypes.Time,
4747
"timestamp": sqltypes.TIMESTAMP,
48-
"timestamptz": sqltypes.TIMESTAMP,
49-
"timestamp with time zone": sqltypes.TIMESTAMP,
48+
"timestamptz": sqltypes.TIMESTAMP(timezone=True),
49+
"timestamp with time zone": sqltypes.TIMESTAMP(timezone=True),
5050
"timestamp without time zone": sqltypes.TIMESTAMP,
5151
"interval": sqltypes.Interval,
5252
"char": sqltypes.CHAR,

0 commit comments

Comments
 (0)