add .gitignore file and remove db file from history