mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
3cf6d8291d
Without this, the PostgreSQLAdapter truncate_tables method would be called and go kerblooie cuz t'ain't no PostgreSQL database in play.
32 lines
516 B
YAML
32 lines
516 B
YAML
mysql:
|
|
adapter: mysql
|
|
database: database_cleaner_test
|
|
username: root
|
|
password:
|
|
host: 127.0.0.1
|
|
port: 3306
|
|
encoding: utf8
|
|
|
|
mysql2:
|
|
adapter: mysql2
|
|
database: database_cleaner_test
|
|
username: root
|
|
password:
|
|
host: 127.0.0.1
|
|
port: 3306
|
|
encoding: utf8
|
|
|
|
postgres:
|
|
adapter: postgresql
|
|
database: database_cleaner_test
|
|
username: postgres
|
|
password:
|
|
host: 127.0.0.1
|
|
encoding: unicode
|
|
template: template0
|
|
|
|
sqlite3:
|
|
adapter: sqlite3
|
|
database: db/test.sqlite3
|
|
pool: 5
|
|
timeout: 5000
|