Browse Source

use Integer id instead of default Long id type

Lari Hotari 11 years ago
parent
commit
5eb6860052
1 changed files with 1 additions and 0 deletions
  1. 1 0
      grails/hello/grails-app/domain/hello/World.groovy

+ 1 - 0
grails/hello/grails-app/domain/hello/World.groovy

@@ -1,6 +1,7 @@
 package hello
 package hello
 
 
 class World {
 class World {
+    Integer id
     Integer randomNumber
     Integer randomNumber
 
 
     static constraints = {
     static constraints = {