瀏覽代碼

feat: postgrep配置信息

jay 1 年之前
父節點
當前提交
4561f0b6f3
共有 1 個文件被更改,包括 2 次插入1 次删除
  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
         format_sql: true
   sql:
   sql:
     init:
     init:
-      schema-locations: classpath:sql/schema.sql
+#      schema-locations: classpath:sql/schema.sql
+      schema-locations: classpath:sql/schema-postgre.sql
       mode: ALWAYS
       mode: ALWAYS
 #  datasource:
 #  datasource:
 #    url: jdbc:h2:./data/iotkit;MODE=MySQL
 #    url: jdbc:h2:./data/iotkit;MODE=MySQL