Monday, July 18, 2011

BLOB and TEXT type for fields in GORM

If you need long type for your fields with GORM automatic table creation, you just need to specify appropriate constraint for that field, like:
description(nullable:true, maxSize:1000000)

No comments:

Post a Comment