feat(database): add MySQL database support (#201)

This commit is contained in:
521141
2025-07-17 19:44:01 +08:00
committed by GitHub
parent 0ee5ef316f
commit bb5fad47cb
6 changed files with 194 additions and 26 deletions
+9 -1
View File
@@ -2,4 +2,12 @@ G_CLIENT_ID=
G_CLIENT_SECRET=
JWT_SECRET=
INIT_TABLE=true
ENABLE_CACHE=true
ENABLE_CACHE=true
# MySQL Database Configuration
# Uncomment and configure these variables to use MySQL instead of SQLite
# MYSQL_HOST=localhost
# MYSQL_PORT=3306
# MYSQL_USER=newsnow
# MYSQL_PASSWORD=your_password
# MYSQL_DATABASE=newsnow
# MYSQL_SSL=false