aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-03 20:28:37 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-03 20:52:14 +0200
commite6a66765d46605851be14d791f9a82fe0afe6dfb (patch)
tree654e59a122e1681c413c4df79e803859cada749f /doc
parentImprove indentation of database config for sqlite3 (diff)
downloadrecruiting-webapp-e6a66765d46605851be14d791f9a82fe0afe6dfb.tar.gz
recruiting-webapp-e6a66765d46605851be14d791f9a82fe0afe6dfb.tar.bz2
recruiting-webapp-e6a66765d46605851be14d791f9a82fe0afe6dfb.zip
Fix database configs to include all environments
Diffstat (limited to 'doc')
-rw-r--r--doc/config/database-mysql.yml5
-rw-r--r--doc/config/database-postgres.yml4
-rw-r--r--doc/config/database-sqlite3.yml4
3 files changed, 12 insertions, 1 deletions
diff --git a/doc/config/database-mysql.yml b/doc/config/database-mysql.yml
index 26347e8..18dd3b8 100644
--- a/doc/config/database-mysql.yml
+++ b/doc/config/database-mysql.yml
@@ -1,3 +1,8 @@
+production:
+ adapter: mysql
+ username:
+ password:
+ database:
development:
adapter: mysql
username:
diff --git a/doc/config/database-postgres.yml b/doc/config/database-postgres.yml
index 8fd5036..b665f63 100644
--- a/doc/config/database-postgres.yml
+++ b/doc/config/database-postgres.yml
@@ -1,3 +1,7 @@
+production:
+ adapter: postgresql
+ username:
+ database:
development:
adapter: postgresql
username:
diff --git a/doc/config/database-sqlite3.yml b/doc/config/database-sqlite3.yml
index 1ab21ae..21a9dac 100644
--- a/doc/config/database-sqlite3.yml
+++ b/doc/config/database-sqlite3.yml
@@ -3,7 +3,7 @@ development:
database: db/development.sqlite3
pool: 5
timeout: 5000
-test:
+test: &test
adapter: sqlite3
database: db/test.sqlite3
pool: 5
@@ -13,3 +13,5 @@ production:
database: db/production.sqlite3
pool: 5
timeout: 5000
+cucumber:
+ <<: *test