'How can I define the length of increments in laravel migrations?

Hi I have a column that it is increments but I do not know how I can define the length because I did it like this:

$table->increments('section_id', 100);

It did not work at all, it added just 10...

So I wonder how can I fix it? Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source