2011-06-04 18:19:17 -04:00
|
|
|
default_connection: <%= defined?(JRUBY_VERSION) ? 'jdbcsqlite3' : 'sqlite3' %>
|
|
|
|
|
|
|
|
connections:
|
|
|
|
jdbcderby:
|
|
|
|
arunit: activerecord_unittest
|
|
|
|
arunit2: activerecord_unittest2
|
|
|
|
|
|
|
|
jdbch2:
|
|
|
|
arunit: activerecord_unittest
|
|
|
|
arunit2: activerecord_unittest2
|
|
|
|
|
|
|
|
jdbchsqldb:
|
|
|
|
arunit: activerecord_unittest
|
|
|
|
arunit2: activerecord_unittest2
|
|
|
|
|
|
|
|
jdbcmysql:
|
|
|
|
arunit:
|
|
|
|
username: rails
|
|
|
|
encoding: utf8
|
|
|
|
arunit2:
|
|
|
|
username: rails
|
|
|
|
encoding: utf8
|
|
|
|
|
|
|
|
jdbcpostgresql:
|
|
|
|
arunit:
|
|
|
|
username: <%= ENV['user'] || 'rails' %>
|
|
|
|
arunit2:
|
|
|
|
username: <%= ENV['user'] || 'rails' %>
|
|
|
|
|
|
|
|
jdbcsqlite3:
|
|
|
|
arunit:
|
|
|
|
database: <%= FIXTURES_ROOT %>/fixture_database.sqlite3
|
|
|
|
timeout: 5000
|
|
|
|
arunit2:
|
|
|
|
database: <%= FIXTURES_ROOT %>/fixture_database_2.sqlite3
|
|
|
|
timeout: 5000
|
|
|
|
|
|
|
|
mysql2:
|
|
|
|
arunit:
|
|
|
|
username: rails
|
2018-09-11 16:03:34 -04:00
|
|
|
encoding: utf8mb4
|
|
|
|
collation: utf8mb4_unicode_ci
|
2021-02-11 17:44:25 -05:00
|
|
|
<% if ENV['MYSQL_PREPARED_STATEMENTS'] %>
|
|
|
|
prepared_statements: true
|
|
|
|
<% end %>
|
2019-02-05 09:50:06 -05:00
|
|
|
<% if ENV['MYSQL_HOST'] %>
|
|
|
|
host: <%= ENV['MYSQL_HOST'] %>
|
2021-08-05 14:27:30 -04:00
|
|
|
<% end %>
|
|
|
|
<% if ENV['MYSQL_SOCK'] %>
|
|
|
|
socket: "<%= ENV['MYSQL_SOCK'] %>"
|
2019-02-05 09:50:06 -05:00
|
|
|
<% end %>
|
2011-06-04 18:19:17 -04:00
|
|
|
arunit2:
|
|
|
|
username: rails
|
2018-09-11 16:03:34 -04:00
|
|
|
encoding: utf8mb4
|
2018-10-24 21:50:27 -04:00
|
|
|
collation: utf8mb4_general_ci
|
2021-02-11 17:44:25 -05:00
|
|
|
<% if ENV['MYSQL_PREPARED_STATEMENTS'] %>
|
|
|
|
prepared_statements: true
|
|
|
|
<% end %>
|
2019-02-05 09:50:06 -05:00
|
|
|
<% if ENV['MYSQL_HOST'] %>
|
|
|
|
host: <%= ENV['MYSQL_HOST'] %>
|
|
|
|
<% end %>
|
2021-08-05 14:27:30 -04:00
|
|
|
<% if ENV['MYSQL_SOCK'] %>
|
|
|
|
socket: "<%= ENV['MYSQL_SOCK'] %>"
|
|
|
|
<% end %>
|
2011-06-04 18:19:17 -04:00
|
|
|
|
2011-06-06 18:35:35 -04:00
|
|
|
oracle:
|
2011-06-06 18:16:52 -04:00
|
|
|
arunit:
|
|
|
|
adapter: oracle_enhanced
|
|
|
|
database: <%= ENV['ARUNIT_DB_NAME'] || 'orcl' %>
|
|
|
|
username: <%= ENV['ARUNIT_USER_NAME'] || 'arunit' %>
|
|
|
|
password: <%= ENV['ARUNIT_PASSWORD'] || 'arunit' %>
|
|
|
|
emulate_oracle_adapter: true
|
|
|
|
arunit2:
|
|
|
|
adapter: oracle_enhanced
|
|
|
|
database: <%= ENV['ARUNIT_DB_NAME'] || 'orcl' %>
|
|
|
|
username: <%= ENV['ARUNIT2_USER_NAME'] || 'arunit2' %>
|
|
|
|
password: <%= ENV['ARUNIT2_PASSWORD'] || 'arunit2' %>
|
|
|
|
emulate_oracle_adapter: true
|
2011-06-04 18:19:17 -04:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
arunit:
|
|
|
|
min_messages: warning
|
2016-11-19 11:22:52 -05:00
|
|
|
arunit_without_prepared_statements:
|
|
|
|
min_messages: warning
|
|
|
|
prepared_statements: false
|
2011-06-04 18:19:17 -04:00
|
|
|
arunit2:
|
|
|
|
min_messages: warning
|
|
|
|
|
|
|
|
sqlite3:
|
|
|
|
arunit:
|
|
|
|
database: <%= FIXTURES_ROOT %>/fixture_database.sqlite3
|
|
|
|
timeout: 5000
|
|
|
|
arunit2:
|
|
|
|
database: <%= FIXTURES_ROOT %>/fixture_database_2.sqlite3
|
|
|
|
timeout: 5000
|
|
|
|
|
|
|
|
sqlite3_mem:
|
|
|
|
arunit:
|
|
|
|
adapter: sqlite3
|
|
|
|
database: ':memory:'
|
|
|
|
arunit2:
|
|
|
|
adapter: sqlite3
|
|
|
|
database: ':memory:'
|