fixed db to use postgres, re-ran rake db:migrate and added defs to.gitignore