made the AnyHtml type work with the database