Added .idea and database to .gitignore.