axiaoxin-com/pink-lady

new db config format for viper directly get

axiaoxin opened this issue · 1 comments

[database]
[database.sqlite3]
[database.sqlite3.utdb]
dbname = "/tmp/pink-lady-testing.db",
maxIdleConns = 2, # 设置连接池中的最大闲置连接数
maxOpenConns = 0, # 设置数据库的最大连接数量
connMaxLifeMinutes = 60, # 设置连接的最大可复用时间
logMode = true,
autoMigrate = true

example删除automigration配置项