📅  最后修改于: 2022-03-11 14:46:21.688000             🧑  作者: Mango
from sqlalchemy.sql import func
time_created = Column(DateTime(timezone=True), server_default=func.now())
time_updated = Column(DateTime(timezone=True), onupdate=func.now())