Change database from sql to pg.