How to update date column with default value(2010-01-01 00:00:00) in liquibase.
I am know to get the current date. Can you please suggest me to update column with some default value.
<property name="now" value="SYSDATE" dbms="postgresql">
<changeSet>
<update>
<column name="date_created" valueDate="${now}"/>
</update>
</changeSet>
The attribute
valueDatesupports three formats:In your case this works: