Changeset 81 for branches/TaskRewrite
- Timestamp:
- Mar 23, 2009, 1:32:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/conf/DataSource.groovy
r55 r81 10 10 cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider' 11 11 } 12 // environment specific settings 12 13 //environment specific settings 14 //create-drop: drop tables and data between sessions, then insert from Bootstrap. 15 //create: drop data between sessions, can't explain the rest. 16 //update: keep data, update tables as required, keeps inserting from BootStrap. 13 17 environments { 14 18 development { … … 26 30 production { 27 31 dataSource { 28 dbCreate = "update" 29 url = "jdbc:hsqldb:file:prodDb;shutdown=true" 32 //Delete dbCreate line after setup! 33 dbCreate = "create-drop" 34 //url = "jdbc:hsqldb:file:prodDb;shutdown=true" 35 url = "jdbc:hsqldb:mem:devDB" 30 36 } 31 37 }
Note: See TracChangeset
for help on using the changeset viewer.