I have upgraded spring boot h2 to 2.1.210 from 1.4.199. My tests are failing because of following error:
NULL not allowed for column "modified"
But in the create table DLL for h2, its been specified to set this to current timeStamp as follow:
modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
My h2 connection string
spring.datasource.url=jdbc:h2:mem:abcdb;MODE=MYSQL;DB_CLOSE_DELAY=-1;