Changeset 756 for trunk/grails-app/domain
- Timestamp:
- Aug 2, 2010, 12:29:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/data/Term.groovy
r643 r756 22 22 23 23 static constraints = { 24 accession(unique: 'ontology') // Accession should be unique within an ontology25 name(unique: 'ontology') 26 name(size: 1..255) 24 accession(unique: true) // Accession should be unique db-wide 25 name(unique: 'ontology') // Preferred name should be unique within an ontology 26 name(size: 1..255) // Name should be a non-empty string 27 27 } 28 28
Note: See TracChangeset
for help on using the changeset viewer.