Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion oem2orm/postgresql_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sqlalchemy as sa
import sqlalchemy.dialects.postgresql as psql
from geoalchemy2 import Geometry
from sqlalchemy.dialects.postgresql import DOUBLE_PRECISION, HSTORE
from sqlalchemy.dialects.postgresql import DOUBLE_PRECISION, HSTORE, TSTZRANGE


class DatabaseTypes:
Expand All @@ -19,6 +19,7 @@ class DatabaseTypes:
"json": sa.JSON,
"text": sa.TEXT,
"timestamp": sa.TIMESTAMP,
"tstzrange": TSTZRANGE,
"interval": sa.Interval,
"string": sa.String,
"float": sa.FLOAT,
Expand Down