2009-01-20 15:59:06 +01:00
|
|
|
# SQLite version 3.x
|
2009-01-06 11:49:19 +01:00
|
|
|
development:
|
2009-01-20 15:59:06 +01:00
|
|
|
adapter: sqlite3
|
|
|
|
database: db/development.sqlite3
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
2009-01-06 11:49:19 +01:00
|
|
|
|
2011-05-06 20:38:39 +02:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2009-01-20 15:59:06 +01:00
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
2009-01-06 11:49:19 +01:00
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
2009-01-20 15:59:06 +01:00
|
|
|
adapter: sqlite3
|
|
|
|
database: db/test.sqlite3
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
2009-01-06 11:49:19 +01:00
|
|
|
|
|
|
|
production:
|
2009-01-20 15:59:06 +01:00
|
|
|
adapter: sqlite3
|
|
|
|
database: db/production.sqlite3
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|