mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-22 04:47:58 +00:00
fix(web): fix typo in database type_annotation_map dict
This commit is contained in:
parent
c983a9a480
commit
6ec02adf77
2 changed files with 2 additions and 2 deletions
|
|
@ -6,4 +6,4 @@ DATABASE_URL=postgresql+asyncpg://myst:myst@db:5432/myst_db
|
||||||
|
|
||||||
# Forgejo
|
# Forgejo
|
||||||
FORGEJO_BASE_URL=
|
FORGEJO_BASE_URL=
|
||||||
FORGEJO_PAT=
|
FORGEJO_PAT=
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ from sqlalchemy.types import DateTime
|
||||||
|
|
||||||
|
|
||||||
class Base(DeclarativeBase):
|
class Base(DeclarativeBase):
|
||||||
type_annotations_map = {
|
type_annotation_map = {
|
||||||
datetime.datetime: DateTime(timezone=True),
|
datetime.datetime: DateTime(timezone=True),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue