I had this exact same problem, but then I found this pull request that changes the fields to MEDIUMTEXT and resolves everything.
In my script I use that pull request instead of the master branch.
git fetch origin pull/81/head
git checkout -b fixes-for-tables FETCH_HEAD