Keeping access tokens migration id consistent (#5691)

This is just a tiny "fix," using id(); to be consistent with the other migrations already included in the framework.
This commit is contained in:
JuanDMeGon 2021-09-28 08:03:31 -05:00 committed by GitHub
parent 1e5b9989c3
commit 5f7395b289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ class CreatePersonalAccessTokensTable extends Migration
public function up()
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->bigIncrements('id');
$table->id();
$table->morphs('tokenable');
$table->string('name');
$table->string('token', 64)->unique();