Permalink
Browse files

Decided to add database.yml to git because I am thus far the only dev…

…eloper and needed it for capistrano.
  • Loading branch information...
Joe Fiorini
Joe Fiorini committed Sep 6, 2008
1 parent f3bbe3c commit 45186d2c6d625655e52ad199a941a60d92873f1f
Showing with 26 additions and 1 deletion.
  1. +0 −1 .gitignore
  2. +26 −0 config/database.yml
View
@@ -1,6 +1,5 @@
db/schema.rb
db/schema.sql
-config/database.yml
log/*
*.log
tmp/sessions
View
@@ -0,0 +1,26 @@
+# SQLite version 3.x
+# gem install sqlite3-ruby (not necessary on OS X Leopard)
+development:
+ adapter: sqlite3
+ database: db/development.sqlite3
+ timeout: 5000
+
+staging:
+ adapter: mysql
+ database: clerb
+ username: clerb
+ password: clerb@user
+ host: localhost
+
+# Warning: The database defined as 'test' will be erased and
+# re-generated from your development database when you run 'rake'.
+# Do not set this db to the same as development or production.
+test:
+ adapter: sqlite3
+ database: db/test.sqlite3
+ timeout: 5000
+
+production:
+ adapter: sqlite3
+ database: db/production.sqlite3
+ timeout: 5000

0 comments on commit 45186d2

Please sign in to comment.