Ignore:
Timestamp:
Mar 5, 2010, 2:20:10 PM (9 years ago)
Author:
keesvb
Message:

updated TemplateEntity? to include empty maps, also added the EventGroups? to EventGroup? collection in BootStrap?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r235 r236  
    405405
    406406                        }
     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()
    407419
    408420                        println 'Adding PPSH study'
     
    472484                        }
    473485
     486                        humanStudy.addToEventGroups(rootGroup).save()
     487
    474488//                        new Study(title:"example",code:"Excode",researchQuestion:"ExRquestion",description:"Exdescription",ecCode:"ExecCode",dateCreated:new Date(),lastUpdated:new Date(),startDate:new Date()).save()
    475489//                        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.