mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-20 12:03:30 +00:00
10 lines
215 B
Python
10 lines
215 B
Python
import datetime
|
|
|
|
from sqlalchemy.orm import DeclarativeBase
|
|
from sqlalchemy.types import DateTime
|
|
|
|
|
|
class Base(DeclarativeBase):
|
|
type_annotation_map = {
|
|
datetime.datetime: DateTime(timezone=True),
|
|
}
|