LIQUIBASE : set number of decimals to a column data type -
i want change type of column.
want double 2 decimals max.
i did :
<changeset author="me" id="20170407151802-1"> <modifydatatype columnname="montant_ht" newdatatype="double(10,8)" tablename="activite"/> </changeset>
it doesn't work.
there way set precision?
thanks.
the answer depends on database.
you try alter commands see if change supported rdbms.
otherwise can add new column specific type , insert old data in.
Comments
Post a Comment