fix: 修改数据库配置为create模式,确保新用户默认3金币
- 修改ddl-auto为create,每次启动重建表 - 修改BASE_URL为localhost进行本地测试 - 确保注销账号后重新登录获得3金币
This commit is contained in:
1 parent
6561e9034b
commit
c48517aeac
2 files changed
+2
-1
No files matched your search
@@ -9,7 +9,7 @@ spring.datasource.password=xuan_password
|
||||
|
||||
# JPA Configuration
|
||||
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.hibernate.ddl-auto=create
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
|
||||
|
||||
Reference in new issue
Block a user