更新 template/entrance/web/src/main/resources/application.properties
This commit is contained in:
@@ -13,6 +13,7 @@ project_name={{ .projectName }}
|
||||
base.package={{.groupId}}
|
||||
{{- if eq .dbType "mysql" }}
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
hibernate.dialect=org.hibernate.dialect.MySQLDialect
|
||||
{{- else if eq .dbType "postgresql" }}
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
vs.sqlmapper.dialect=postgresql
|
||||
|
||||
Reference in New Issue
Block a user