Switch db to postgres from mysql