Liquibase: How to set the default value of a date column to be “now” in UTC format?

前端 未结 6 608
忘掉有多难
忘掉有多难 2021-01-07 16:20

How do you set the default value of a date column to be \"now\" in UTC format? I think the answer involves the defaultValueComputed attribute on the column elem

6条回答
  •  误落风尘
    2021-01-07 16:46

    This worked for me:

    
    
    

    I found it thanks to this answer: https://stackoverflow.com/a/9100388/3107952

提交回复
热议问题