Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
correct version check - Laravel introduced bigIncrements in 5.8 (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlp authored Apr 19, 2020
1 parent ea856b8 commit 67a06ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function up()
// Allows for soft deleting
$table->softDeletes();

if ($this->getLaravelVersion() < 5.9) {
if ($this->getLaravelVersion() < 5.8) {
$table->integer('user_id')->unsigned();
} else {
$table->bigInteger('user_id')->unsigned();
Expand Down

0 comments on commit 67a06ab

Please sign in to comment.