Restoring records while using unique will validate against the same values, because restore triggers a save event, and hence throw the validation exception. You will either have to unset the rules before restoring or modify the 'unique' rule to take it off.
Restoring records while using
unique
will validate against the same values, because restore triggers asave
event, and hence throw the validation exception. You will either have to unset the rules before restoring or modify the 'unique' rule to take it off.