I accidentally ended up with a bunch of duplicate rows in my table.
So I wanted to make one of the fields unique to make sure it couldn’t happen again.
I deleted ALL rows in the entire table (it’s completely empty)
I set the field to a max length of 190 characters and saved it (that worked fine).
Then I tried setting the field too No Duplicate Values
and I get this error:
The field 'url' has non uniques values. Please remove duplicate values and repeat the operation. Non unique values are: https://cloud.iexapis.com/beta/news/article/095e0416-cec9-4d86-b211-ef80b7cf59ac, https://cloud.iexapis.com/beta/news/article/5c3c6054-b1bc-45ac-aa39-189d8af6989f, https://cloud.iexapis.com/beta/news/article/60f7bf42-ebfa-4b41-999d-f5cf44d1485b, https://cloud.iexapis.com/beta/news/article/de42850d-1074-4c91-9563-fc6f43c239cb, https://cloud.iexapis.com/beta/news/article/eb915353-d956-49be-8a7b-fe9a788212a8.
These are the duplicate values from the rows I deleted.
Figuring this was just an issue of trying to do it took fast, I waited 10 minutes and then tried again. But the problem persists.
I’ll try again later I guess. But whatever is causing this is very annoying. Fine if it takes a minute or so, but an hour or however long this will take before I can set a field to not have duplicates is a bit much.