Ramed config/database.yml.default to config/database.yml.unittest, created database.yml.dist as example config.

This commit is contained in:
Martin Edenhofer 2013-01-23 09:15:22 +01:00
parent cd4ced3869
commit fbf53c9010
2 changed files with 31 additions and 1 deletions

30
config/database.yml.dist Normal file
View file

@ -0,0 +1,30 @@
production:
adapter: mysql2
database: zammad_prod
pool: 50
timeout: 5000
encoding: utf8
username: some_user
password: some_pass
host: 127.0.0.1
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
development:
adapter: sqlite3
database: db/development.sqlite3
timeout: 5000
pool: 50
# 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
pool: 50

View file

@ -18,7 +18,7 @@ test:
database: db/test.sqlite3 database: db/test.sqlite3
timeout: 5000 timeout: 5000
pool: 50 pool: 50
test_mysql: test_mysql:
adapter: mysql2 adapter: mysql2
database: zammad_test database: zammad_test