我是laravel 5的新手,在我第一次尝试迁移时,我遇到了这个错误:
[Symfony \ Component \ Debug \ Exception \ FatalErrorException]调用未定义的方法Illuminate \ Database \ Schema \ Blueprint :: blob()
没有这样的方法 blob() . 这是binary():
blob()
$table->binary('data'); // BLOB equivalent for the database
1 回答
没有这样的方法
blob()
. 这是binary():