Datetime2 no longer used for MSSQL

Description

Temporal type DATETIME2 was included among aliases of liquibase.datatype.core.DateTimeType during fixing CORE-1958. This has a consequence that specifying type="datetime2(0)" or other variants are transformed to plain DATETIME - that is due to apparently missing decision branch within toDatabaseDataType(). There is no obvious way to override this unwanted behaviour.

Environment

MSSQL 2008 R2

Reporter

Boleslav Bobcik

Fix versions

Affects versions

Priority

Major
Configure