mirror of
https://github.com/suyiiyii/SIMS.git
synced 2025-06-04 01:06:42 +08:00
Merge remote-tracking branch 'origin/wr' into wr
This commit is contained in:
commit
6b862ffe6b
2
.gitignore
vendored
2
.gitignore
vendored
@ -31,5 +31,5 @@ build/
|
|||||||
|
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
/src/main/resources/application.yaml
|
|
||||||
/test.db
|
/test.db
|
||||||
|
/src/main/resources/application-prod.yaml
|
||||||
|
1
pom.xml
1
pom.xml
@ -98,6 +98,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.xerial</groupId>
|
<groupId>org.xerial</groupId>
|
||||||
<artifactId>sqlite-jdbc</artifactId>
|
<artifactId>sqlite-jdbc</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
14
src/main/resources/application.yaml
Normal file
14
src/main/resources/application.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user