From 910ff981f9f2ff8580d6652ad625a9184c088063 Mon Sep 17 00:00:00 2001 From: Diego Araújo Date: Tue, 17 Nov 2015 07:03:20 -0200 Subject: [PATCH] Add postgresql database sample configuration --- config/database.yml.postgresql_sample | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+), 0 deletions(-) create mode 100644 config/database.yml.postgresql_sample diff --git a/config/database.yml.postgresql_sample b/config/database.yml.postgresql_sample new file mode 100644 index 0000000..3e3bb8e --- /dev/null +++ b/config/database.yml.postgresql_sample @@ -0,0 +1,36 @@ +# PostgreSQL +# gem install pg +# +# Ensure the PostgreSQL gem is defined in your Gemfile +# gem 'pg' + +development: &development + adapter: postgresql + encoding: unicode + database: prezento_development + pool: 5 + username: prezento + password: prezento + +# 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: &test + adapter: postgresql + encoding: unicode + database: prezento_test + pool: 5 + username: prezento + password: prezento + +production: + adapter: postgresql + encoding: unicode + database: prezento_production + pool: 5 + username: prezento + password: prezento + +cucumber: + <<: *test -- libgit2 0.21.2