move database.yml into template file, and ignore database.yml