mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-02-15 20:33:26 +00:00
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:
parent
13e9fc892e
commit
e26d7129e7
BIN
modules/files/src/test/resources/large-file.pdf
Normal file
BIN
modules/files/src/test/resources/large-file.pdf
Normal file
Binary file not shown.
@ -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;
|
Loading…
Reference in New Issue
Block a user