restore discourse's database configuration approach
set database configuration in production