-
like this use comment: created_at = Column(DateTime, server_default=func.now(), comment='创建时间')
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(),comment='更新时间') |
Beta Was this translation helpful? Give feedback.
Answered by
collerek
Dec 17, 2021
Replies: 2 comments 1 reply
-
Added in 0.10.23 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
collerek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added in 0.10.23