我刚刚开始使用laravel 5.2 ..这是一个简单的迁移文件,但是当我运行php artisan migrate命令时,我得到了屏幕截图中显示的错误。我现在应该怎么做?Laravel 5.2基表或查看未找到错误
迁移文件
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProductCategoryTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('product_category', function (Blueprint $table) {
$table->increments('id');
$table->string('product_category_name');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('product_category');
}
}