foodsoft/config/database.yml.SAMPLE
2011-05-06 20:38:39 +02:00

31 lines
No EOL
720 B
Text

# SQLite version 3.x
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# Mysql config instead
# database: foodsoft_development
# username: root
# password:
# host: localhost
# encoding: utf8
# Define a socket, if youre not using standard linux socket, like lampp..
# socket: /opt/lampp/var/mysql/mysql.sock
# 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
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000