Changeset 236 for trunk/grails-app/conf/BootStrap.groovy
- Timestamp:
- Mar 5, 2010, 2:20:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r235 r236 405 405 406 406 } 407 408 // Add EventGroups to study 409 exampleStudy 410 .addToEventGroups(LFBV1) 411 .addToEventGroups(LFBL1) 412 .addToEventGroups(HFBV1) 413 .addToEventGroups(HFBL1) 414 .addToEventGroups(LFBV4) 415 .addToEventGroups(LFBL4) 416 .addToEventGroups(HFBV4) 417 .addToEventGroups(HFBL4) 418 .save() 407 419 408 420 println 'Adding PPSH study' … … 472 484 } 473 485 486 humanStudy.addToEventGroups(rootGroup).save() 487 474 488 // new Study(title:"example",code:"Excode",researchQuestion:"ExRquestion",description:"Exdescription",ecCode:"ExecCode",dateCreated:new Date(),lastUpdated:new Date(),startDate:new Date()).save() 475 489 // new Study(title:"testAgain",code:"testcode",researchQuestion:"testRquestion",description:"testdescription",ecCode:"testCode",dateCreated:new Date(),lastUpdated:new Date(),startDate:new Date()).save()
Note: See TracChangeset
for help on using the changeset viewer.