Change dev and test database to PostgreSQL