From 58998298a35bb58cdcd13b1c6a5e9a1a7aeac305 Mon Sep 17 00:00:00 2001 From: jay <75509151@qq.com> Date: Mon, 7 Aug 2023 21:33:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20jpa=E6=95=B0=E6=8D=AE=E5=BA=93=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iot-starter/src/main/resources/application.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/iot-starter/src/main/resources/application.yml b/iot-starter/src/main/resources/application.yml index 4c458af4..0082d9db 100644 --- a/iot-starter/src/main/resources/application.yml +++ b/iot-starter/src/main/resources/application.yml @@ -10,7 +10,13 @@ spring: profiles: active: postgres - + jpa: + show-sql: true + hibernate: + ddl-auto: update + properties: + hibernate: + format_sql: true # https://baomidou.com/config/ mybatis-plus: