Changeset 40 for trunk/src/grails-app/conf
- Timestamp:
- Jan 29, 2009, 8:31:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/conf/BootStrap.groovy
r39 r40 44 44 //Person 45 45 new Person(personGroup:PersonGroup.get(1), 46 firstName:"Craig", 47 lastName:"SuperTech").save() 46 firstName:"Admin", 47 lastName:"Powers", 48 userId:"admin", 49 password:"pass").save() 50 new Person(personGroup:PersonGroup.get(1), 51 firstName:"User", 52 lastName:"Tester", 53 userId:"user", 54 password:"pass").save() 55 new Person(personGroup:PersonGroup.get(1), 56 firstName:"Craig", 57 lastName:"SuperTech", 58 userId:"craig", 59 password:"pass").save() 48 60 new Person(personGroup:PersonGroup.get(2), 49 firstName:"Joe", 50 lastName:"Samples").save() 61 firstName:"Joe", 62 lastName:"Samples", 63 userId:"joe", 64 password:"pass").save() 51 65 new Person(personGroup:PersonGroup.get(1), 52 firstName:"Production", 53 lastName:"Mann").save() 66 firstName:"Production", 67 lastName:"Mann", 68 userId:"Mann", 69 password:"pass").save() 54 70 55 71 //TaskGroup … … 64 80 //Task 65 81 new Task(taskGroup:TaskGroup.findByName("Engineering"), 66 person:Person.get( 1),82 person:Person.get(3), 67 83 name:"Check specific level sensor", 68 84 description:"Has been noted as problematic, try recallibrating", … … 70 86 targetDate: new Date() ).save() 71 87 new Task(taskGroup:TaskGroup.findByName("Production"), 72 person:Person.get( 2),88 person:Person.get(5), 73 89 name:"Production Report", 74 90 description:"Production report for specific production run or shift", 91 scheduledDate: new Date(), 92 targetDate: new Date() ).save() 93 new Task(taskGroup:TaskGroup.findByName("NewProject(s)"), 94 person:Person.get(1), 95 name:"Make killer CMMS app", 96 description:"Use Grails and get a move on!", 75 97 scheduledDate: new Date(), 76 98 targetDate: new Date() ).save()
Note: See TracChangeset
for help on using the changeset viewer.