What do you think about automatically adding a validation if you add the index with the `unique` option? I think this would match the expectations of most users of the lib. And it will make the communication of this error a lot easier as you don't have to build custom code to handle this exception.