An example:
I have a User model with a field 'username'
In the $validate
array, I have set 'isunique' rule for 'username'. It works, no problem.
But every time I generate fixture, the auto generated value for this field is not unique.
Same problem for other models.
Any idea how to get bake to produce unique values for fileds with 'isunique' rule?
Thank you.