feat: 完善小组绩效与有效端统计并修复审查问题

This commit is contained in:
Yvan
2026-11-05 01:10:03 +08:00
parent ca9ce99b66
commit dc97690eb1
75 changed files with 5033 additions and 296 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"github.com/glebarez/sqlite"
"gorm.io/gorm"
datasystem "kra/internal/data/system"
datatask "kra/internal/data/task"
)
func TestOtherSettingsUpgradeAddsStandaloneMenuForSuperAdmin(t *testing.T) {
@@ -16,7 +17,7 @@ func TestOtherSettingsUpgradeAddsStandaloneMenuForSuperAdmin(t *testing.T) {
}
pool, _ := db.DB()
t.Cleanup(func() { _ = pool.Close() })
for _, step := range datasystem.Migrations() {
for _, step := range append(datasystem.Migrations(), datatask.Migrations()...) {
if err := step.Migrate(db); err != nil {
t.Fatal(err)
}