Changeset 19 for trunk/src/grails-app/conf/BootStrap.groovy
- Timestamp:
- Nov 25, 2008, 3:58:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/conf/BootStrap.groovy
r16 r19 2 2 3 3 def init = { servletContext -> 4 5 //TypeOfPersonGroup 6 new TypeOfPersonGroup(name:"Department").save() 7 new TypeOfPersonGroup(name:"Contractor").save() 8 new TypeOfPersonGroup(name:"ProjectTeam").save() 9 10 //PersonGroup 11 new PersonGroup(typeOfPersonGroup:TypeOfPersonGroup.get(1), 12 name:"Electrical").save() 13 new PersonGroup(typeOfPersonGroup:TypeOfPersonGroup.get(2), 14 name:"Kewl AirCon Guys").save() 15 new PersonGroup(typeOfPersonGroup:TypeOfPersonGroup.get(3), 16 name:"openMim").save() 4 17 } 5 18 def destroy = { 6 19 } 7 } 20 }
Note: See TracChangeset
for help on using the changeset viewer.