Ramed config/database.yml.default to config/database.yml.unittest, created database.yml.dist as example config.
This commit is contained in:
parent
cd4ced3869
commit
fbf53c9010
2 changed files with 31 additions and 1 deletions
30
config/database.yml.dist
Normal file
30
config/database.yml.dist
Normal 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
|
||||
|
|
@ -18,7 +18,7 @@ test:
|
|||
database: db/test.sqlite3
|
||||
timeout: 5000
|
||||
pool: 50
|
||||
|
||||
|
||||
test_mysql:
|
||||
adapter: mysql2
|
||||
database: zammad_test
|
Loading…
Reference in a new issue