Laravel 5.5 set size of integer fields in migration file : <p>I am new to laravel.</p>

<p>Now i am using the migrate command to make a table, but the length of the filed is not applicable. Laravel does not provide this option. ?</p>

<p>Below is my codes:</p>

<pre><code>$table-&gt;increments('id')-&gt;length(11);
$table-&gt;dateTime('created_time');
$table-&gt;integer('bank_id')-&gt;length(11);
$table-&gt;tinyInteger('is_black')-&gt;length(1);
</code></pre>

<p>The length of the field <code>is_black</code> should be 1, but it is actually being generated as 4.
How can I solve this problem ?</p>

<p>Any suggestion or advice would be appreciated.</p>

<p>Thank you in advance</p>
