I am trying to migrate(update) this, but I keep getting this error message:
[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected '>', expecting '<'
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();
});
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire