Ver Fonte

feat: postgrep配置信息

jay há 1 ano atrás
pai
commit
4561f0b6f3
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      iot-starter/src/main/resources/application.yml

+ 2 - 1
iot-starter/src/main/resources/application.yml

@@ -19,7 +19,8 @@ spring:
         format_sql: true
   sql:
     init:
-      schema-locations: classpath:sql/schema.sql
+#      schema-locations: classpath:sql/schema.sql
+      schema-locations: classpath:sql/schema-postgre.sql
       mode: ALWAYS
 #  datasource:
 #    url: jdbc:h2:./data/iotkit;MODE=MySQL