Merge remote-tracking branch 'origin/wr' into wr

This commit is contained in:
tortoise 2024-08-17 01:15:10 +08:00
commit 6b862ffe6b
3 changed files with 16 additions and 1 deletions

2
.gitignore vendored
View File

@ -31,5 +31,5 @@ build/
### VS Code ###
.vscode/
/src/main/resources/application.yaml
/test.db
/src/main/resources/application-prod.yaml

View File

@ -98,6 +98,7 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -0,0 +1,14 @@
# datasource
spring:
profiles:
active: prod
datasource:
url: ${DATASOURCE_URL}
username: ${DATASOURCE_USERNAME}
password: ${DATASOURCE_PASSWORD}
driver-class-name: ${DATASOURCE_DRIVER_CLASS_NAME}
auto-table:
enable: true
model-package: top.suyiiyii.sims.entity