Commit 910ff981f9f2ff8580d6652ad625a9184c088063
1 parent
ebd499a9
Exists in
colab
and in
4 other branches
Add postgresql database sample configuration
Showing
1 changed file
with
36 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,36 @@ | @@ -0,0 +1,36 @@ | ||
1 | +# PostgreSQL | ||
2 | +# gem install pg | ||
3 | +# | ||
4 | +# Ensure the PostgreSQL gem is defined in your Gemfile | ||
5 | +# gem 'pg' | ||
6 | + | ||
7 | +development: &development | ||
8 | + adapter: postgresql | ||
9 | + encoding: unicode | ||
10 | + database: prezento_development | ||
11 | + pool: 5 | ||
12 | + username: prezento | ||
13 | + password: prezento | ||
14 | + | ||
15 | +# Warning: The database defined as "test" will be erased and | ||
16 | +# re-generated from your development database when you run "rake". | ||
17 | +# Do not set this db to the same as development or production. | ||
18 | + | ||
19 | +test: &test | ||
20 | + adapter: postgresql | ||
21 | + encoding: unicode | ||
22 | + database: prezento_test | ||
23 | + pool: 5 | ||
24 | + username: prezento | ||
25 | + password: prezento | ||
26 | + | ||
27 | +production: | ||
28 | + adapter: postgresql | ||
29 | + encoding: unicode | ||
30 | + database: prezento_production | ||
31 | + pool: 5 | ||
32 | + username: prezento | ||
33 | + password: prezento | ||
34 | + | ||
35 | +cucumber: | ||
36 | + <<: *test |