I'm trying to tell Grails to create columns of a specific length. This works great for strings, however, for columns of NUMBER type, no matter what I try it keeps creating the default NUMBER(10,0) size. I've tried:
static mapping {
field(precision: 2)
}
I've also tried:
static mapping {
field(size: 2)
}
Am I missing something? Is this possible?