Changeset 379 for trunk/grails-app/conf
- Timestamp:
- Apr 26, 2010, 2:31:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r375 r379 62 62 name: "Statician" 63 63 ).save(); 64 65 // Create 30 roles to test pagination 66 def roleCounter = 1; 67 30.times { new PersonRole( name: "Rol #${roleCounter++}" ).save() } 68 69 // Create persons 64 70 def person1 = new Person( 65 71 lastName: "Scientist", … … 85 91 .save(); 86 92 93 // Create 30 persons to test pagination 94 def personCounter = 1; 95 30.times { new Person( firstName: "Person #${roleCounter}", lastName: "Testperson", email: "email${roleCounter++}@testdomain.com" ).save() } 96 87 97 /* COMMENTED OUT BECAUSE IT BREAKS EVERYTHING AFTER REFACTORING THE DATAMODEL 88 98
Note: See TracChangeset
for help on using the changeset viewer.