私はこれを(更新)を移行しようとしていますが、私はこのエラーメッセージ得続ける:Laravel移行エラー構文
[symfonyの\コンポーネント\デバッグ\例外の\ FatalErrorException]構文エラー、 予期しない '>' を、あなたが
;;
第5行にしてもString
代わりstring
の持っている '<'
Schema::table('products', function (Blueprint $table)) {
$table->string('XXXX', 50)->change();
$table->string('XXXX', 50)->change();
$table->string('XXXX', 10)->change();
$table->String('XXXX', 100)->change();;
$table->String('XXXX', 100)->change();
$table->String('XXXX', 100)->change();
$table->String('XXXX', 50)->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->String('XXXX', 100)->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->boolean('XXXX')->change();
$table->text('XXXX')->change();
$table->String('XXXX', 100)->change();
$table->String('XXXX', 100)->change();
$table->String('XXXX', 100)->change();
$table->String('XXXX', 100)->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->tinyInteger('XXXX')->unsigned()->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->String('XXXX', 50)->change();
$table->text('XXXX');
$table->timestamps();
});
}
どの行番号ですか?あなたはそれがこのブロックにあると確信していますか? – Josh