aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortony <tony>2009-03-12 11:57:05 +0000
committertony <tony>2009-03-12 11:57:05 +0000
commitc58d4f5b95d8696f390787dd7f78cb8306e11f75 (patch)
tree1c714b28c3faefeab0c9eb986e192cea95478451
parent2c3dc995e9fc07c74b5a400786eb2cb938c52c55 (diff)
Use default Pg port in example db config as that's what most people will
be using.
-rw-r--r--config/database.yml-example20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/database.yml-example b/config/database.yml-example
index 12e7e81d3..b1597e6fe 100644
--- a/config/database.yml-example
+++ b/config/database.yml-example
@@ -1,13 +1,13 @@
# Database configuration. We're using PostgreSQL, but I guess it should work
-# with others.
+# with others.
development:
adapter: postgresql
database: foi_development
- username: francis
- password:
+ username: <username>
+ password: <password>
host: localhost
- port: 5433 # PostgreSQL 8.1 pretty please
+ port: 5432 # PostgreSQL 8.1 pretty please
# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
@@ -15,16 +15,16 @@ development:
test:
adapter: postgresql
database: foi_test
- username: francis
- password:
+ username: <username>
+ password: <password>
host: localhost
- port: 5433
+ port: 5432
production:
adapter: postgresql
database: foi_production
- username: francis
- password:
+ username: <username>
+ password: <password>
host: localhost
- port: 5433
+ port: 5432