We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68891bd commit fa3e873Copy full SHA for fa3e873
internal/app/app.go
@@ -9,7 +9,6 @@ import (
9
"time"
10
11
"gpt-load/internal/config"
12
- db "gpt-load/internal/db/migrations"
13
"gpt-load/internal/keypool"
14
"gpt-load/internal/models"
15
"gpt-load/internal/proxy"
@@ -90,7 +89,7 @@ func (a *App) Start() error {
90
89
return fmt.Errorf("database auto-migration failed: %w", err)
91
}
92
// 数据修复
93
- db.MigrateDatabase(a.db)
+ // db.MigrateDatabase(a.db)
94
logrus.Info("Database auto-migration completed.")
95
96
// 初始化系统设置
internal/db/migrations/migration.go
@@ -5,6 +5,6 @@ import (
5
)
6
7
func MigrateDatabase(db *gorm.DB) error {
8
- // v1.0.13 修复请求日志数据
- return V1_0_13_FixRequestLogs(db)
+ // return V1_0_13_FixRequestLogs(db)
+ return nil
internal/db/migrations/v1.0.13_fix_request_logs.go
0 commit comments