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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -