I have a module where I save a PDF file in a text type field, however I just realized that the pdf was not stored completly, it misses some characters. This is how I created the field:
$installer->getConnection()->addColumn( $installer->getTable('sales_order'), 'pakke_label', [ 'type' => 'text', 'nullable' => true, 'comment' => 'Pakke Shipment Label', ] );
The pdf has around 120,000 characters, but it's storing more than the half. Is this size increase directly in MySQL? or I can increase the size of the field here in Magento?