add support for mediumtext and longtext