Skip to content

Commit 5f7395b

Browse files
authored
Keeping access tokens migration id consistent (laravel#5691)
This is just a tiny "fix," using id(); to be consistent with the other migrations already included in the framework.
1 parent 1e5b998 commit 5f7395b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreatePersonalAccessTokensTable extends Migration
1414
public function up()
1515
{
1616
Schema::create('personal_access_tokens', function (Blueprint $table) {
17-
$table->bigIncrements('id');
17+
$table->id();
1818
$table->morphs('tokenable');
1919
$table->string('name');
2020
$table->string('token', 64)->unique();

0 commit comments

Comments
 (0)