refactor: 重构数据库配置为SQLite开发环境并移除冗余文档

This commit is contained in:
2025-09-21 15:16:48 +08:00
parent d207610009
commit 3c8648a635
259 changed files with 88239 additions and 8379 deletions

View File

@@ -2,13 +2,16 @@
PORT=8889
NODE_ENV=development
# 数据库配置
DB_HOST=nj-cdb-3pwh2kz1.sql.tencentcdb.com
DB_PORT=20784
DB_USER=xymg
DB_PASSWORD=aiot741$xymg
DB_NAME=xumgdata
DB_CHARSET=utf8mb4
# 数据库配置 - 开发环境使用SQLite
DB_TYPE=sqlite
DB_PATH=./database/xlxumu_dev.db
# 生产环境MySQL配置备用
# DB_HOST=nj-cdb-3pwh2kz1.sql.tencentcdb.com
# DB_PORT=20784
# DB_USER=xymg
# DB_PASSWORD=aiot741$xymg
# DB_NAME=xumgdata
# DB_CHARSET=utf8mb4
# Redis配置 (待配置)
REDIS_HOST=localhost