Changeset 94


Ignore:
Timestamp:
Jan 19, 2010, 3:05:59 PM (8 years ago)
Author:
duh
Message:
  • made development datasource system dependent (so Adem can use his PostgreSQL database
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/DataSource.groovy

    r93 r94  
    1414        development {
    1515                dataSource {
    16                         println "DATASOURCE DEBUG :: user.home = "+System.properties["user.home"]
     16                        //println "DATASOURCE DEBUG :: user.home = "+System.properties["user.home"]
    1717                        switch (System.properties["user.home"]) {
    18                                 case "/Users/adem":
    19                                         // Adem like to use his own postgres database
     18                                case "/Users/adem/TURNEDOFFBYDEFAULT":
     19                                        // Development Postgres Database is turned off by default
     20                                        // if you do want to keep your data you can:
     21                                        //      - reformate 'case' to your user.home (/Users/adem ?)
     22                                        //      - define development data in the BootStrap.groovy instead
    2023                                        dbCreate = "update"
    2124                                        username = "gscf"
Note: See TracChangeset for help on using the changeset viewer.