Skip to content

Commit

Permalink
anton-liauchuk#14 fix h2 db
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-liauchuk committed Jun 23, 2021
1 parent 5dfe07f commit b6d6011
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
databaseChangeLog:
- changeSet:
id: 2020_06_07-1
id: 2021_06_13-1
author: antonliauchuk
preConditions:
onFail: MARK_RAN
Expand Down
8 changes: 7 additions & 1 deletion configuration/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
spring.liquibase.change-log=classpath:db/changelog/db.changelog-master.yml
spring.liquibase.change-log=classpath:db/changelog/db.changelog-master.yml
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void configure(WebSecurity web) {
.antMatchers("/swagger-ui.html")
.antMatchers("/configuration/**")
.antMatchers("/webjars/**")
.antMatchers("/h2-console/**")
.antMatchers("/public");
}

Expand Down

0 comments on commit b6d6011

Please sign in to comment.