You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to delete several thousands of services by name pattern, NOT retire, just delete from vmdb. The services are Generic Services, some of them may be related to Generic Objects, which I'm going to delete separately. Is it safe to do Service.where("name LIKE ?", "%PATTERN%").destroy_all
from rails console? Wouldn't it break database integrity?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I need to delete several thousands of services by name pattern, NOT retire, just delete from vmdb. The services are Generic Services, some of them may be related to Generic Objects, which I'm going to delete separately. Is it safe to do
Service.where("name LIKE ?", "%PATTERN%").destroy_all
from rails console? Wouldn't it break database integrity?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions