现在laravel6.0以上默认生成的ID项目是bigIncrements格式,但是如果想模型关联需要改为increments格式!【谨记】
public function up()
{
Schema::create('classifies', function (Blueprint $table) {
$table->increments('id');
$table->string('name')->comment('栏目名称');
$table->string('introduce')->comment('栏目介绍');
$table->integer('rank')->