Changed the db to pg