Fix clean DB migration by ignoring hooking failures