change sqlite to postgresql in database.yml, add pg to gemfile