Skip to content

Commit 3215a84

Browse files
authored
fix: use bigInteger for foreign key reference (#145)
1 parent 3052037 commit 3215a84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Upgrade to webauthn-lib v2.x
88

99
### Fixes:
10-
*
10+
* Use bigInteger for foreign key reference
1111

1212

1313
# RELEASED VERSIONS:

database/migrations/2019_03_29_163611_add_webauthn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function up()
1515
{
1616
Schema::create('webauthn_keys', function (Blueprint $table) {
1717
$table->increments('id');
18-
$table->unsignedInteger('user_id');
18+
$table->bigInteger('user_id')->unsigned();
1919

2020
$table->string('name')->default('key');
2121
$table->string('credentialId', 255);

0 commit comments

Comments
 (0)