Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #295 from quantmind/ls-tz
Browse files Browse the repository at this point in the history
tz
  • Loading branch information
Luca Sbardella committed Jun 24, 2022
2 parents 984bdf5 + be6f695 commit 45a1e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/example/db/tables1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def meta(meta=None):
nullable=False,
info=dict(min_length=3, data_field=title_field),
),
sa.Column("done", sa.DateTime),
sa.Column("done", sa.DateTime(timezone=True)),
sa.Column("severity", sa.Integer),
sa.Column("created_by", sa.String, default="", nullable=False),
sa.Column("type", sa.Enum(TaskType)),
Expand All @@ -58,7 +58,7 @@ def meta(meta=None):
sa.Table(
"series",
meta,
sa.Column("date", sa.DateTime, nullable=False, index=True),
sa.Column("date", sa.DateTime(timezone=True), nullable=False, index=True),
sa.Column("group", sa.String(32), nullable=False, index=True, default=""),
sa.Column("value", sa.Numeric(precision=20, scale=8)),
sa.UniqueConstraint("date", "group"),
Expand Down

0 comments on commit 45a1e29

Please sign in to comment.