Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SomeDomain{
- // Fields from beginning
- .............
- // Two fields added afterwards
- String fieldA
- String fieldB
- static constraints = {
- // Constraints on initial fields
- ...............
- // Constraints on fields added afterwards
- fieldA(nullable: true)
- fieldB(nullable: true)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement