【feat】 添加postgresql数据库支持,【修复】pg数据库的代码生成功能

This commit is contained in:
PandaX
2023-11-10 10:07:38 +08:00
parent a37dace97c
commit 72ffbf38c3
15 changed files with 1323 additions and 724 deletions

View File

@@ -17,7 +17,7 @@ server:
rate:
enable: true
rate-num: 100
db-type: mysql
db-type: postgresql
# 是否开启数据库表初始化
isInitTable: false
excel-dir: ./resource/excel/
@@ -45,6 +45,16 @@ mysql:
password: '!MyEMS1'
db-name: pandax_iot
config: charset=utf8&loc=Local&parseTime=true
postgresql:
username: postgres
password: 123456
host: 127.0.0.1
port: 5432
db-name: pandax_iot
max-idle-conns: 10
max-open-conns: 10
# mini0
oss:
endpoint: 127.0.0.1:9000