Skip to content
Snippets Groups Projects
Commit 02a11865 authored by Andrej Šimurka's avatar Andrej Šimurka
Browse files

Reworked yaml files to create in-file db

parent 2add0c0b
No related branches found
No related tags found
2 merge requests!60Docker,!56Reworked yaml files to create in-file db
Pipeline #
......@@ -14,9 +14,9 @@ spring:
open-in-view: false
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
ddl-auto: update
datasource:
url: jdbc:h2:mem:race;MODE=PostgreSQL
url: jdbc:h2:file:./src/main/resources/data/car;MODE=PostgreSQL
driverClassName: org.h2.Driver
username: admin
password: admin
......@@ -13,8 +13,10 @@ spring:
jpa:
open-in-view: false
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: update
datasource:
url: jdbc:h2:mem:race;MODE=PostgreSQL
url: jdbc:h2:file:./src/main/resources/data/component;MODE=PostgreSQL
driverClassName: org.h2.Driver
username: admin
password: admin
\ No newline at end of file
......@@ -16,7 +16,7 @@ spring:
hibernate:
ddl-auto: update
datasource:
url: jdbc:h2:mem:driver;MODE=PostgreSQL
url: jdbc:h2:file:./src/main/resources/data/driver;MODE=PostgreSQL
driverClassName: org.h2.Driver
username: admin
password: admin
......@@ -13,8 +13,10 @@ spring:
jpa:
open-in-view: false
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: update
datasource:
url: jdbc:h2:mem:race;MODE=PostgreSQL
url: jdbc:h2:file:./src/main/resources/data/race;MODE=PostgreSQL
driverClassName: org.h2.Driver
username: admin
password: admin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment