Sequalize: model defaultValue is not changing with timestamp

前端 未结 0 1117
萌比男神i
萌比男神i 2021-02-10 13:19

I want to set UTC timestamp while inserting new data for created_at and while updating updated_at timestamps.

here is my model:

c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题