用户,社交接口
Change-Id: I10d13773cbe4bbcf3b69a2038cdf7aa9ba54b6df
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 0590333..b878c88 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,12 +1,12 @@
server.port=8080
-spring.datasource.url=jdbc:mysql://localhost:3306/pt
+spring.datasource.url=jdbc:mysql://localhost:3306/ptProject
spring.datasource.username=root
-spring.datasource.password=root
+spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
-
# Mail configuration
spring.mail.password=tljnebonhzhqecda
spring.mail.username=2370523716@qq.com
@@ -15,12 +15,10 @@
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
-
spring.jpa.enabled=false
-spring.jpa.hibernate.ddl-auto=none
+spring.jpa.hibernate.ddl-auto=update
spring.jpa.open-in-view=false
-# tracker??
pt.tracker.port=6969
pt.tracker.torrent-dir=${user.dir}/data/torrents
@@ -28,4 +26,4 @@
pt.tracker.allow-foreign=false
pt.tracker.announce-url=/custom-announce
-mybatis-plus.mapper-locations=classpath:/mapper/**/*.xml
+mybatis-plus.mapper-locations=classpath:/mapper/**/*.xml
\ No newline at end of file