Skip to content

Commit

Permalink
Merge branch '5.6' of github.com:laravel/framework into 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 27, 2018
2 parents e7f13be + 25f9dce commit d9bf9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Schema/Blueprint.php
Expand Up @@ -1120,7 +1120,7 @@ public function morphs($name, $indexName = null)
{
$this->string("{$name}_type");

$this->unsignedInteger("{$name}_id");
$this->unsignedBigInteger("{$name}_id");

$this->index(["{$name}_type", "{$name}_id"], $indexName);
}
Expand All @@ -1136,7 +1136,7 @@ public function nullableMorphs($name, $indexName = null)
{
$this->string("{$name}_type")->nullable();

$this->unsignedInteger("{$name}_id")->nullable();
$this->unsignedBigInteger("{$name}_id")->nullable();

$this->index(["{$name}_type", "{$name}_id"], $indexName);
}
Expand Down

0 comments on commit d9bf9d0

Please sign in to comment.