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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -