The following change:
- <addColumn tableName="foo">
- <column name="expired" type="timestamp" defaultValueComputed="current_timestamp + '60 days'::interval"/>
- </addColumn>
is translated to the following incorrect SQL:
- ALTER TABLE public.foo ADD expired TIMESTAMP WITHOUT TIME ZONE DEFAULT NOW();
apparently Liquibase sees "current_timestamp", knows that this is the same as now() and then ignores the rest of the expression.
It works correctly when using now() + '60 days'::interval (replacing current_timestamp with now())
Liquibase 3.5.4