Arreglos travis

This commit is contained in:
Pablo Franco Sánchez 2021-03-25 16:53:20 +01:00
parent a282e2a506
commit bec8a51b81
3 changed files with 2 additions and 8 deletions

View file

@ -135,12 +135,6 @@
<artifactId>spring-boot-devtools</artifactId> <artifactId>spring-boot-devtools</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.5.1</version>
<scope>runtime</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>

View file

@ -1,12 +1,11 @@
# database init, supports mysql too # database init, supports mysql too
database=mysql database=mysql
spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC} #spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC}
spring.datasource.username=${MYSQL_USER:cheapy} spring.datasource.username=${MYSQL_USER:cheapy}
spring.datasource.password=${MYSQL_PASS:cheapy} spring.datasource.password=${MYSQL_PASS:cheapy}
# SQL is written to be idempotent so this is safe # SQL is written to be idempotent so this is safe
spring.datasource.initialization-mode=always spring.datasource.initialization-mode=always
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.javax.persistence.schema-generation.drop-source=metadata spring.jpa.properties.javax.persistence.schema-generation.drop-source=metadata
# Naming strategy # Naming strategy
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy

View file

@ -4,6 +4,7 @@ database=mysql
spring.datasource.data=classpath*:db/${database}/data.sql spring.datasource.data=classpath*:db/${database}/data.sql
spring.h2.console.enabled=true spring.h2.console.enabled=true
spring.profiles.active=mysql spring.profiles.active=mysql
spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC}
# Web # Web
spring.thymeleaf.mode=HTML spring.thymeleaf.mode=HTML