From 78df3ba326e2e528afb8a6499db9324f445dc89a Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 18 Jul 2013 16:01:22 -0600 Subject: move database.yml to example file --- config/database.yml | 25 ------------------------- config/database.yml.example | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 config/database.yml create mode 100644 config/database.yml.example diff --git a/config/database.yml b/config/database.yml deleted file mode 100644 index 51a4dd4..0000000 --- a/config/database.yml +++ /dev/null @@ -1,25 +0,0 @@ -# SQLite version 3.x -# gem install sqlite3 -# -# Ensure the SQLite 3 gem is defined in your Gemfile -# gem 'sqlite3' -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 - -production: - adapter: sqlite3 - database: db/production.sqlite3 - pool: 5 - timeout: 5000 diff --git a/config/database.yml.example b/config/database.yml.example new file mode 100644 index 0000000..aac957f --- /dev/null +++ b/config/database.yml.example @@ -0,0 +1,29 @@ +development: + adapter: postgresql + encoding: unicode + min_messages: warning + database: parley_development + host: localhost + pool: 5 + username: parley_app + password: postgres + +test: + adapter: postgresql + encoding: unicode + min_messages: warning + database: parley_test + host: localhost + pool: 5 + username: parley_app + password: postgres + +production: + adapter: postgresql + encoding: unicode + min_messages: warning + database: parley_development + host: localhost + pool: 5 + username: parley_app + password: postgres -- cgit v1.2.3