In grails, if you have the unique property on a domain that references another domain, and you want them to both be unique to each other, do you need to specifically say each one is unique to another? Or is that already done for you?
Example:
phoneNum unique: 'user'
user unique: 'phoneNum'