Skip to content

Commit

Permalink
Use bigIncrements
Browse files Browse the repository at this point in the history
  • Loading branch information
sisve committed Nov 11, 2018
1 parent a799aa2 commit f34ebdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Migrations/stubs/create.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DummyClass extends Migration
public function up()
{
Schema::create('DummyTable', function (Blueprint $table) {
$table->increments('id');
$table->bigIncrements('id');
$table->timestamps();
});
}
Expand Down

3 comments on commit f34ebdc

@CupOfTea696
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in the changelog.

@sisve
Copy link
Contributor Author

@sisve sisve commented on f34ebdc Mar 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing for the 5.8.0 release is in the changelog. Instead it's in the upgrade guide. These changes are mentioned under the header "Migrations & bigIncrements" at https://laravel.com/docs/5.8/upgrade

@CupOfTea696
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realise this was introduce in 5.8.0 itself, my bad.

Please sign in to comment.