mirror of
https://github.com/suyiiyii/SIMS.git
synced 2026-06-23 13:56:51 +08:00
Merge remote-tracking branch 'origin/wr' into wr
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user