Use LONGTEXT instead of TEXT

Map the 'text', 'array', and 'json' types to LONGTEXT to avoid the 64kB
size limit of the TEXT datatype in MySQL.