Skip to content
Permalink
Browse files

Use bigIncrements

  • Loading branch information...
sisve committed Nov 11, 2018
1 parent a799aa2 commit f34ebdcf820ae1e28fcbea055151e3eafce2605a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Illuminate/Database/Migrations/stubs/create.stub
@@ -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();
});
}

3 comments on commit f34ebdc

@CupOfTea696

This comment has been minimized.

Copy link
Contributor

CupOfTea696 replied Mar 26, 2019

This should be in the changelog.

@sisve

This comment has been minimized.

Copy link
Contributor Author

sisve replied Mar 31, 2019

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

This comment has been minimized.

Copy link
Contributor

CupOfTea696 replied Apr 1, 2019

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

Please sign in to comment.
You can’t perform that action at this time.