Migrated dev and test to postgreSQL