summaryrefslogtreecommitdiff
path: root/config/database.yml.example
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-01-11 00:05:41 -0700
committermo khan <mo@mokhan.ca>2015-01-11 00:05:41 -0700
commitfd33717d0b9403d1d7fbee8dfb4076f8d49f56bb (patch)
tree701ab9c27635cbed0db79dde9e3719c43b9d458f /config/database.yml.example
parent12203d436181abe85f9ddbe69cb1d718f3884223 (diff)
update database.yml example.
Diffstat (limited to 'config/database.yml.example')
-rw-r--r--config/database.yml.example19
1 files changed, 8 insertions, 11 deletions
diff --git a/config/database.yml.example b/config/database.yml.example
index 6d6e3dae..bf211d0d 100644
--- a/config/database.yml.example
+++ b/config/database.yml.example
@@ -1,16 +1,13 @@
-# SQLite version 3.x
-# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
- adapter: sqlite3
- database: db/development.sqlite3
+ adapter: postgresql
+ encoding: unicode
+ database: cakeside_development
pool: 5
- timeout: 5000
+ username: postgres
-# 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
+ adapter: postgresql
+ encoding: unicode
+ database: cakeside_test
pool: 5
- timeout: 5000
+ username: postgres