ok github.com/user-management-system/internal/service 3.225s --- FAIL: TestUserRepository_Create (0.01s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_GetByUsername (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_GetByEmail (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_Update (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_Delete (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_ExistsBy (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) --- FAIL: TestUserRepository_List (0.00s) user_repository_test.go:13: 数据库迁移失败: SQL logic error: index idx_role already exists (1) FAIL FAIL github.com/user-management-system/internal/repository 0.972s ok github.com/user-management-system/internal/integration 0.242s FAIL