diff options
| author | hukl <contact@smyck.org> | 2009-02-26 10:52:42 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-26 10:52:42 +0100 |
| commit | 024bd260a7bb8df08844bd2ea3d9bdc3b3289fff (patch) | |
| tree | 2edfbcb49c18d6afe60869d1cf7eed3a3a074332 /config/database.psql-sample.yml | |
| parent | ccc73195f7c1cc75fd87310b66dbfe358184cc65 (diff) | |
renamed the sample files
Diffstat (limited to 'config/database.psql-sample.yml')
| -rw-r--r-- | config/database.psql-sample.yml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/config/database.psql-sample.yml b/config/database.psql-sample.yml new file mode 100644 index 0000000..db7276e --- /dev/null +++ b/config/database.psql-sample.yml | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | # PostgreSQL. Versions 7.4 and 8.x are supported. | ||
| 2 | # | ||
| 3 | # Install the ruby-postgres driver: | ||
| 4 | # gem install ruby-postgres | ||
| 5 | # On Mac OS X: | ||
| 6 | # gem install ruby-postgres -- --include=/usr/local/pgsql | ||
| 7 | # On Windows: | ||
| 8 | # gem install ruby-postgres | ||
| 9 | # Choose the win32 build. | ||
| 10 | # Install PostgreSQL and put its /bin directory on your path. | ||
| 11 | development: | ||
| 12 | adapter: postgresql | ||
| 13 | encoding: unicode | ||
| 14 | database: psql_development | ||
| 15 | pool: 5 | ||
| 16 | username: psql | ||
| 17 | password: | ||
| 18 | |||
| 19 | # Connect on a TCP socket. Omitted by default since the client uses a | ||
| 20 | # domain socket that doesn't need configuration. Windows does not have | ||
| 21 | # domain sockets, so uncomment these lines. | ||
| 22 | #host: localhost | ||
| 23 | #port: 5432 | ||
| 24 | |||
| 25 | # Schema search path. The server defaults to $user,public | ||
| 26 | #schema_search_path: myapp,sharedapp,public | ||
| 27 | |||
| 28 | # Minimum log levels, in increasing order: | ||
| 29 | # debug5, debug4, debug3, debug2, debug1, | ||
| 30 | # log, notice, warning, error, fatal, and panic | ||
| 31 | # The server defaults to notice. | ||
| 32 | #min_messages: warning | ||
| 33 | |||
| 34 | # Warning: The database defined as "test" will be erased and | ||
| 35 | # re-generated from your development database when you run "rake". | ||
| 36 | # Do not set this db to the same as development or production. | ||
| 37 | test: | ||
| 38 | adapter: postgresql | ||
| 39 | encoding: unicode | ||
| 40 | database: psql_test | ||
| 41 | pool: 5 | ||
| 42 | username: psql | ||
| 43 | password: | ||
| 44 | |||
| 45 | production: | ||
| 46 | adapter: postgresql | ||
| 47 | encoding: unicode | ||
| 48 | database: psql_production | ||
| 49 | pool: 5 | ||
| 50 | username: psql | ||
| 51 | password: | ||
