change the database to postgrel