feat: 优化数据库文件配置

This commit is contained in:
耗子
2023-11-05 17:19:48 +08:00
parent 4339ad7c50
commit 57ad59093d
+1 -1
View File
@@ -14,7 +14,7 @@ func init() {
"connections": map[string]any{
"panel": map[string]any{
"driver": "sqlite",
"database": "database/panel.db",
"database": config.Env("DB_FILE", "/www/panel/database/panel.db"),
"prefix": "",
"singular": false, // Table name is singular
},