Using current time in UTC as default value in PostgreSQL

前端 未结 6 481
北海茫月
北海茫月 2020-12-22 17:28

I have a column of the TIMESTAMP WITHOUT TIME ZONE type and would like to have that default to the current time in UTC. Getting the current time in UTC is easy:

6条回答
提交回复
热议问题