Moved the database yml to a template