Changed db to postgres, and added rails_12fact for heroku deployment