How do i assign a default value in Grails 3.3.9? I...
# general
a
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?
Copy code
class Willow {
    String shipCountry
    static mapping = {
        shipCountry defaultValue: 'CA'
    }
}