id(); $table->morphs( 'tokenable' ); $table->text( 'name' ); $table->string( 'token', 64 )->unique(); $table->text( 'abilities' )->nullable(); $table->timestamp( 'last_used_at' )->nullable(); $table->timestamp( 'expires_at' )->nullable()->index(); $table->timestamps(); } ); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists( 'personal_access_tokens' ); } };