مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
This is deprecated and, in my tests, isn't needed but to avoid any potential issues I am re-adding it here. When we upgrade to Rails 7.1, we can remove this and that'll handle reconnections as appropriate.
20 أسطر
464 B
YAML
20 أسطر
464 B
YAML
default: &default
|
|
adapter: mysql2
|
|
reconnect: true
|
|
encoding: <%= Postal.config.main_db.encoding %>
|
|
pool: <%= Postal.config.main_db.pool_size %>
|
|
username: <%= Postal.config.main_db.username %>
|
|
password: <%= Postal.config.main_db.password %>
|
|
host: <%= Postal.config.main_db.host %>
|
|
port: <%= Postal.config.main_db.port %>
|
|
database: <%= Postal.config.main_db.database %>
|
|
|
|
development:
|
|
<<: *default
|
|
|
|
production:
|
|
<<: *default
|
|
|
|
test:
|
|
<<: *default
|