updated gitignore and database.yml