ardent icon indicating copy to clipboard operation
ardent copied to clipboard

updateUniques function does not work if softDeletes is enabled

Open venugopal-annamaneni opened this issue 10 years ago • 1 comments

updateUniques() function does not work if there are some softDeleted rows with the same value.

venugopal-annamaneni avatar Apr 18 '14 07:04 venugopal-annamaneni

This is a Laravel issue not an Ardent issue. The unique rule works exactly the same way as a database unique would work, the value can only appear once in the table. You could add coniditions to your unique rule, but that doesn't work correctly at the moment pending #182

sjdaws avatar May 02 '14 13:05 sjdaws