我是 laravel 的新手,有人知道如何查看已创建的数据库表吗?我一直在迁移数据库并在使用模式构建器创建表后卡住了。这是我的代码
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
Schema::create('users', function($table)
{
$table->increments('id');
$table->string('nim');
$table->string('name');
$table->string('password');
$table->string('level');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}