当我使用php artisan migration时,会收到此消息。有人可以帮我弄这个吗?我在互联网上进行搜索,但没有找到任何对我有帮助的信息。 (我是laravel的新手)
我的桌子:
<?php
使用Illuminate \ Database \ Migrations \ Migration;
使用Illuminate \ Database \ Schema \ Blueprint;
使用Illuminate \ Support \ Facades \ Schema;
CreateSroomsTable类扩展了迁移
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('srooms',function (Blueprint $table) {
$table->id();
$table->string('room_two');
$table->string('room_three');
$table->string('room_four');
$table->string('room_five');
$table->string('room_six');
$table->string('room_seven');
$table->string('room_eight');
$table->string('room_nine');
$table->string('room_ten');
$table->string('room_eleven');
$table->string('room_twelve');
$table->softDeletes();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('srooms');
}
}`