Make database config ERB aware