Add fix for mariadb text columns

The `text` data type can only store up to 64kb data. The `mediumtext`
up to 16M and `longtext` up to 4G.

Issue: #297
This commit is contained in:
Eike Kettner 2020-10-01 20:53:02 +02:00
parent 13e9fc892e
commit e26d7129e7
2 changed files with 14 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,14 @@
ALTER TABLE `attachmentmeta`
MODIFY COLUMN `content` longtext;
ALTER TABLE `attachmentmeta`
MODIFY COLUMN `nerlabels` longtext;
ALTER TABLE `attachmentmeta`
MODIFY COLUMN `itemproposals` longtext;
ALTER TABLE `job`
MODIFY COLUMN `args` mediumtext;
ALTER TABLE `joblog`
MODIFY COLUMN `message` mediumtext;