diff options
| author | hukl <contact@smyck.org> | 2009-02-24 19:04:56 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-24 19:04:56 +0100 |
| commit | e3a6e47621f445ee8902a808f96cc2933ca06c47 (patch) | |
| tree | 2efc0e1c0ab83096dc18df349f1dff2e9d01567d /config/database.yml-sqlite3-sample.yml | |
| parent | be35d8a741812271f8d5b34e10fd0bb2469066e1 (diff) | |
added sample database.yml files for sqlite3, postgresql, mysql
Diffstat (limited to 'config/database.yml-sqlite3-sample.yml')
| -rw-r--r-- | config/database.yml-sqlite3-sample.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config/database.yml-sqlite3-sample.yml b/config/database.yml-sqlite3-sample.yml new file mode 100644 index 0000000..025d62a --- /dev/null +++ b/config/database.yml-sqlite3-sample.yml | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # SQLite version 3.x | ||
| 2 | # gem install sqlite3-ruby (not necessary on OS X Leopard) | ||
| 3 | development: | ||
| 4 | adapter: sqlite3 | ||
| 5 | database: db/development.sqlite3 | ||
| 6 | pool: 5 | ||
| 7 | timeout: 5000 | ||
| 8 | |||
| 9 | # Warning: The database defined as "test" will be erased and | ||
| 10 | # re-generated from your development database when you run "rake". | ||
| 11 | # Do not set this db to the same as development or production. | ||
| 12 | test: | ||
| 13 | adapter: sqlite3 | ||
| 14 | database: db/test.sqlite3 | ||
| 15 | pool: 5 | ||
| 16 | timeout: 5000 | ||
| 17 | |||
| 18 | production: | ||
| 19 | adapter: sqlite3 | ||
| 20 | database: db/production.sqlite3 | ||
| 21 | pool: 5 | ||
| 22 | timeout: 5000 | ||
