Update repo to work with Postgresql.