Changeset 341


Ignore:
Timestamp:
Feb 9, 2010, 11:19:27 PM (10 years ago)
Author:
gav
Message:

Add unique constraint to AssetSubItem name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/AssetSubItem.groovy

    r330 r341  
    1616
    1717    static constraints = {
    18         name(maxSize:50, blank:false)
     18        name(maxSize:50, unique:true, blank:false)
    1919        description(maxSize:75)
    2020        comment(maxSize:500)
Note: See TracChangeset for help on using the changeset viewer.