lib/mecha/generators/bitbucket_pipelines/templates/config/databases/postgresql.bitbucket.yml.erb
test:
adapter: postgresql
pool: <%%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
encoding: utf8
host: localhost
timeout: 5000
database: <%= app_name.underscore %>_test
username: <%= app_name.underscore %>_test
password: <%= app_name.underscore %>_test
template: template0