3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
16 Schema::create('personal_access_tokens', function (Blueprint $table) {
18 $table->morphs('tokenable');
19 $table->string('name');
20 $table->string('token', 64)->unique();
21 $table->text('abilities')->nullable();
22 $table->timestamp('last_used_at')->nullable();
28 * Reverse the migrations.
32 public function down()
34 Schema::dropIfExists('personal_access_tokens');