Skip to content

Commit

Permalink
Modify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 committed Nov 25, 2023
1 parent 5f37f9c commit e2f0ab4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.schema=classpath:create.sql
spring.sql.init.schema-locations=classpath:create.sql
springfox.documentation.enabled=false
springfox.documentation.auto-startup=false
springfox.documentation.swagger-ui.enabled=false
#pgtest
#spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE;
#spring.datasource.schema=classpath:create_pg.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ logging.level.org.springframework.web=trace

spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:test;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true
spring.datasource.schema=classpath:basedata_manager_create.sql,classpath:error_code_create.sql,classpath:variable_create.sql
spring.sql.init.schema-locations=classpath:basedata_manager_create.sql,classpath:error_code_create.sql,classpath:variable_create.sql
spring.datasource.username=sa
spring.datasource.password=
springfox.documentation.enabled=false
springfox.documentation.auto-startup=false
springfox.documentation.swagger-ui.enabled=false
#pgtest
#spring.datasource.url=jdbc:h2:mem:testPgDb;MODE=PostgreSQL;IGNORECASE=TRUE;DATABASE_TO_LOWER=TRUE;
#spring.datasource.schema=classpath:basedata_manager_create_pg.sql,classpath:error_code_create_pg.sql,classpath:variable_create_pg.sql
Expand Down

0 comments on commit e2f0ab4

Please sign in to comment.