diff --git a/pom.xml b/pom.xml index e2829e4..5247112 100644 --- a/pom.xml +++ b/pom.xml @@ -57,6 +57,12 @@ 42.6.1 runtime + + + org.mariadb.jdbc + mariadb-java-client + 3.3.3 + org.springframework.boot spring-boot-starter-security diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index cf58462..a596edb 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -24,12 +24,19 @@ spring: dialect: org.hibernate.dialect.H2Dialect open-in-view: false datasource: + ## Default filebased storage driver-class-name: org.h2.Driver url: jdbc:h2:file:./database/student-mobility + ## For Postgress use : # driver-class-name: org.postgresql.Driver # url: jdbc:postgresql://localhost:5432/mobility # username: mobility_rw # password: secret + ## For mariadb use : + # driver-class-name: org.mariadb.jdbc.Driver + # url: jdbc:mariadb://localhost:3306/mobility + # username: mobility_rw + # password: secret flyway: locations: classpath:db/{vendor}/migration