Add IPv6 compatibility for the database.