How do i assign a default value in Grails 3.3.9?
In the following code, table willow is not created in DB. I assume it is because there is a error in the code. So how do i create a defaultValue?
class Willow {
String shipCountry
static mapping = {
shipCountry defaultValue: 'CA'
}
}