Switch db to postgres