added database.yml.erb to template