fix database issues

This commit is contained in:
rogee
2023-02-07 00:14:30 +08:00
parent 47e8139f47
commit 032cfbc283
10 changed files with 129 additions and 102 deletions

View File

@@ -89,7 +89,7 @@ ShowLine = true
LogInConsole = true
[Database]
Driver = "mysql"
Driver = "sqlite"
[Database.MySQL]
Host = "localhost"
@@ -103,6 +103,9 @@ MaxIdleConns = 10
MaxOpenConns = 200
Engine = "InnoDB"
[Database.SQLite]
File = "sqlite.db"
[Database.Redis]
Host = "localhost"
Port = 3306