は、この画像を見て:私の問題を解決するためにphp artisan migrateが失敗する理由:未定義のメソッドですか?
[symfony\component\debug\exception\fatalthrowableerror]
call to undefined method illuminate\database\schema\blueprint::textarea<>
どれソリューション:私はPHPの職人の移行を実行するとhttps://postimg.org/image/4fvu34juz/
、ディスプレイはありますか?
更新:
コード:
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFlightTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('flights', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('airline');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
Schema::drop('flights');
}
}
マイグレーションを表示してください。 –
@Alexey Mezenin、私の質問が更新されました –
エラーはあなたがどこかで 'textarea'を使っていると言いますので、この移行を見つけて私たちに見せてください。 –