From bbb3ba2a7002c958ab8c1319195521afd132a0b5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 14 Dec 2022 20:21:22 +0300 Subject: CI: fix mysql environment NO_AUTO_VALUE_ON_ZERO is required --- src/test/resources/application-mysql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/application-mysql.yml b/src/test/resources/application-mysql.yml index e55a292f..033a4f1e 100644 --- a/src/test/resources/application-mysql.yml +++ b/src/test/resources/application-mysql.yml @@ -1,7 +1,7 @@ spring: datasource: driver-class-name: org.mariadb.jdbc.Driver - url: jdbc:mariadb://localhost:3306/juick?zeroDateTimeBehavior=convertToNull + url: jdbc:mariadb://localhost:3306/juick?zeroDateTimeBehavior=convertToNull&sessionVariables=sql_mode=NO_AUTO_VALUE_ON_ZERO username: root password: secret flyway: -- cgit v1.2.3