Convert db to use PostgreSQL

3.x uses PostgreSQL