更新 template/entrance/web/src/main/resources/application-local.properties
#支持postgresql
This commit is contained in:
@@ -14,10 +14,14 @@ spring.datasource.password=${DB_PASSWORD:{{ .dbPassword }}}
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
{{- else if eq .dbType "postgresql" }}
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||
vs.sqlmapper.dialect=postgresql
|
||||
{{- end }}
|
||||
spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource
|
||||
spring.datasource.tomcat.max-age=3600000
|
||||
spring.jpa.open-in-view=false
|
||||
vs.sqlmapper.showSql=true
|
||||
hibernate.show_sql=true
|
||||
|
||||
# flyway
|
||||
spring.flyway.enabled=false
|
||||
|
||||
Reference in New Issue
Block a user