fix: 修改apikey长度为1024

This commit is contained in:
tbphp
2025-07-25 13:02:06 +08:00
parent dd43bb8a9e
commit adb5397473
3 changed files with 57 additions and 3 deletions

View File

@@ -6,5 +6,12 @@ import (
func MigrateDatabase(db *gorm.DB) error {
// v1.0.13 修复请求日志数据
return V1_0_13_FixRequestLogs(db)
if err := V1_0_13_FixRequestLogs(db); err != nil {
return err
}
// v1.0.16 增加 key_value 字段长度
if err := V1_0_16_IncreaseKeyValueLength(db); err != nil {
return err
}
return nil
}