mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【feat】 添加postgresql数据库支持,【修复】pg数据库的代码生成功能
This commit is contained in:
12
config.yml
12
config.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user