如何在Laravel模式构建器中创建Mediumblob
?
In the docs it says :
$table->binary('data'); // BLOB equivalent to the table
But I need a MediumBlob otherwise the images get truncated at 64K; we are running MySQL.
我知道Laravel的模式构建器与DB无关,但是有没有办法避免"原生方式",如果没有,我如何创建一个Mediumblob
列呢?