diff options
| author | mo k <mo@mokhan.ca> | 2012-09-22 15:56:59 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-09-22 15:56:59 -0600 |
| commit | 198a5800ee191cd124d6cc3ab2f197798fe06626 (patch) | |
| tree | 0a2f8c66a0038d2b48add5abb9108306d4cc4716 | |
| parent | ac5dd436edea8a2ac833251e3e5b23ee202f8725 (diff) | |
moved database.yml file to database.yml.example
| -rw-r--r-- | config/database.yml.example | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config/database.yml.example b/config/database.yml.example new file mode 100644 index 00000000..9fa06c3f --- /dev/null +++ b/config/database.yml.example @@ -0,0 +1,34 @@ +# SQLite version 3.x +# gem install sqlite3-ruby (not necessary on OS X Leopard) +development: + adapter: sqlite3 + database: db/development.sqlite3 + pool: 5 + timeout: 5000 + +# Warning: The database defined as "test" will be erased and +# re-generated from your development database when you run "rake". +# Do not set this db to the same as development or production. +test: + adapter: sqlite3 + database: db/test.sqlite3 + pool: 5 + timeout: 5000 + +staging: + adapter: postgresql + encoding: unicode + host: localhost + database: cakeside_production + pool: 5 + username: cakeside + password: password + +production: + adapter: postgresql + encoding: unicode + host: localhost + database: cakeside_production + pool: 5 + username: cakeside + password: password |
