Ignore:
Timestamp:
Mar 29, 2009, 11:56:11 PM (16 years ago)
Author:
gav
Message:

Rename Modification and ModificationType? domains to TaskModification? and TaskModificationType? respectively. Re-generate controller and views. Update ERD. It's an evil but a necessary mouthful as we may want to track other modifications later.

File:
1 edited

Legend:

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

    r91 r93  
    304304
    305305        //ModificationType
    306         def modificationTypeInstance
    307         modificationTypeInstance = new ModificationType(name:"Created").save()
    308         modificationTypeInstance = new ModificationType(name:"Completed").save()
    309         modificationTypeInstance = new ModificationType(name:"Closed").save()
    310         modificationTypeInstance = new ModificationType(name:"Altered").save()
    311         modificationTypeInstance = new ModificationType(name:"TargetDateModified").save()
    312         modificationTypeInstance = new ModificationType(name:"ScheduledDateModified").save()
    313         modificationTypeInstance = new ModificationType(name:"DescriptionModified").save()
    314         modificationTypeInstance = new ModificationType(name:"AssignedToModified").save()
    315         modificationTypeInstance = new ModificationType(name:"NameModified").save()
     306        def taskModificationTypeInstance
     307        taskModificationTypeInstance = new TaskModificationType(name:"Created").save()
     308        taskModificationTypeInstance = new TaskModificationType(name:"Completed").save()
     309        taskModificationTypeInstance = new TaskModificationType(name:"Closed").save()
     310        taskModificationTypeInstance = new TaskModificationType(name:"Altered").save()
     311        taskModificationTypeInstance = new TaskModificationType(name:"TargetDateModified").save()
     312        taskModificationTypeInstance = new TaskModificationType(name:"ScheduledDateModified").save()
     313        taskModificationTypeInstance = new TaskModificationType(name:"DescriptionModified").save()
     314        taskModificationTypeInstance = new TaskModificationType(name:"AssignedToModified").save()
     315        taskModificationTypeInstance = new TaskModificationType(name:"NameModified").save()
    316316       
    317317        if(BootStrapDemoDataSuccessful) {
Note: See TracChangeset for help on using the changeset viewer.