fix: add logging for postMigrations (#131)

This commit is contained in:
duorameng
2026-06-15 10:48:18 +08:00
parent f8b288cef8
commit 71a633f76a
+1
View File
@@ -60,6 +60,7 @@ func Migrate() error {
}
// 执行后置数据迁移,依赖完整的表结构
logger.Info("[Database] 正在执行后置数据迁移...")
if err := postMigrations(); err != nil {
logger.Warnf("[Database] 后置数据迁移警告: %v", err)
}