mirror of https://github.com/hykilpikonna/AquaDX
v0.0.3
parent
3d99839fef
commit
136dd1989b
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
</parent>
|
||||
<groupId>icu.samnya</groupId>
|
||||
<artifactId>aqua</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>0.0.3-SNAPSHOT</version>
|
||||
<name>Aqua Server</name>
|
||||
<description>A multipurpose game server</description>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ spring.servlet.multipart.max-file-size=10MB
|
|||
spring.servlet.multipart.max-request-size=20MB
|
||||
## Database Setting
|
||||
spring.flyway.baseline-on-migrate=true
|
||||
spring.flyway.locations=classpath:db/migration/{vendor},classpath:db/migration/common
|
||||
spring.flyway.locations=classpath:db/migration/{vendor}
|
||||
########## For Sqlite ##########
|
||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
spring.datasource.url=jdbc:sqlite:data/db.sqlite
|
||||
|
@ -27,6 +27,5 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLiteDialect
|
|||
#spring.datasource.username=
|
||||
#spring.datasource.password=
|
||||
#spring.datasource.url=jdbc:mariadb://localhost:3306/?useSSL=false
|
||||
#spring.jpa.hibernate.ddl-auto=update
|
||||
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB10Dialect
|
||||
## You can add any Spring Boot properties below
|
|
@ -7,4 +7,9 @@ CREATE TABLE property
|
|||
PRIMARY KEY (
|
||||
id
|
||||
)
|
||||
);
|
||||
);
|
||||
|
||||
INSERT INTO `property` (id, property_key, property_value)
|
||||
VALUES (1, 'diva_news', 'Server Running No other news');
|
||||
INSERT INTO `property` (id, property_key, property_value)
|
||||
VALUES (2, 'diva_warning', 'Network Service Running');
|
|
@ -6,6 +6,7 @@ allnet.server.host=localhost
|
|||
allnet.server.port=80
|
||||
## Http Server Port
|
||||
server.port=80
|
||||
spring.datasource.driver-class-name=org.h2.Driver
|
||||
spring.datasource.url=jdbc:h2:mem:db
|
||||
spring.jpa.hibernate.ddl-auto=create-drop
|
||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
spring.datasource.url=jdbc:sqlite:data/test.sqlite
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.flyway.locations=classpath:db/migration/sqlite
|
Loading…
Reference in New Issue