H2 dropNotNullConstraint requires columnDataType when it's not required by H2

It looks like changing an H2 column to not null requires you to set columnDataType which is not actually required in H2 syntax
see - http://www.h2database.com/html/grammar.html#alter_table_alter
columnDataType should only be required if your both changing the datatype and setting it to not null or nullable.

This should work
   
       
   

but currently the following is required

   
        <dropNotNullConstraint tableName=“TEST” columnName=“TEST_COLUMN” schemaName=“TEST_SCHEMA”   columnDataType=“VARCHAR(25)”/>
   

This seems dangerous because it could lead to someone inadvertently changing the data type when they only meant to drop the not null constraint. 

Grant

I confirm this issue.