Ignore:
Timestamp:
Apr 19, 2011, 4:35:56 PM (11 years ago)
Author:
work@…
Message:
  • resolves #401, study title should be unique
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1775 r1776  
    5252
    5353        static constraints = {
    54                 title(nullable:false, blank: false, maxSize: 255)
     54                title(nullable:false, blank: false, unique:true, maxSize: 255)
    5555                owner(nullable: true, blank: true)
    5656                code(nullable: true, blank: true, unique: true, maxSize: 255)
Note: See TracChangeset for help on using the changeset viewer.