From 68b368026e7c719aa0e5fa9f6dca98a7a9e4bf72 Mon Sep 17 00:00:00 2001 From: suyar <296399959@qq.com> Date: Fri, 29 Jul 2022 10:54:25 +0800 Subject: [PATCH] The migration fields are consistent with laravel/laravel. --- .../2019_12_14_000001_create_personal_access_tokens_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php index 15519a93..6c81fd22 100644 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -14,7 +14,7 @@ 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();