Move .gitignore to project root
Add db config hook