From c48517aeac2109f6aa2693c3f53006254dc0c831 Mon Sep 17 00:00:00 2001 From: H1d3rOne Date: Tue, 10 Mar 2026 02:07:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E9=85=8D=E7=BD=AE=E4=B8=BAcreate=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E4=BF=9D=E6=96=B0=E7=94=A8=E6=88=B7=E9=BB=98?= =?UTF-8?q?=E8=AE=A43=E9=87=91=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改ddl-auto为create,每次启动重建表 - 修改BASE_URL为localhost进行本地测试 - 确保注销账号后重新登录获得3金币 --- nohup.out | 1 + src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 nohup.out diff --git a/nohup.out b/nohup.out new file mode 100644 index 0000000..b0a483a --- /dev/null +++ b/nohup.out @@ -0,0 +1 @@ +nohup: spring-boot:run: No such file or directory diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 605ae37..606335f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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