Changeset 846
- Timestamp:
- Aug 27, 2010, 2:24:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r845 r846 102 102 103 103 // If there are no templates yet in the database 104 if ( Template.count() == 0) {104 if (true || Template.count() == 0) { 105 105 println "No templates in the current database."; 106 106 … … 116 116 117 117 // If in development mode and no studies are present, add example studies 118 if ( Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) {118 if (true || Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) { 119 119 // check if special file is present in project directory 120 120 if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) {
Note: See TracChangeset
for help on using the changeset viewer.