mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
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:
parent
1e5b9989c3
commit
5f7395b289
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user