补充数据库迁移建库权限预检并准确提示权限不足
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-10-04 03:34:42 +08:00
1 parent c1f064b4b6
commit e97a8caade
7 files changed
+185 -4

No files matched your search

+2
View File
@@ -372,6 +372,8 @@ func migrationErrorCode(err error) string {
return "COPIER_UNAVAILABLE"
case errors.Is(err, ErrSQLConnectionUnavailable):
return "CONNECTION_UNAVAILABLE"
case errors.Is(err, ErrSQLPermissionDenied):
return "PERMISSION_DENIED"
case errors.Is(err, ErrSQLUnsupportedObject):
return "UNSUPPORTED_OBJECT"
case errors.Is(err, ErrSQLDataVerification):