Skip to content

Commit

Permalink
remove h2
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmfps committed Apr 21, 2021
1 parent b63f496 commit a68253c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 21 deletions.
19 changes: 12 additions & 7 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# H2 database
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
# spring.datasource.url=jdbc:h2:mem:testdb
#spring.datasource.driverClassName=org.h2.Driver
#spring.datasource.username=sa
#spring.datasource.password=
#spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
#spring.h2.console.enabled=true

# 404
server.error.whitelabel.enabled=false
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false
spring.web.resources.add-mappings=false

spring.jpa.hibernate.ddl-auto = update
spring.datasource.maxActive = 2

springdoc.swagger-ui.path = /
14 changes: 0 additions & 14 deletions src/main/resources/data.sql

This file was deleted.

0 comments on commit a68253c

Please sign in to comment.