I've been searching around and the question was asked a few times, but no-one seem to be able to give a definite answer to it. How do you specify the integer length for the table column using Schema?
I've seen someone suggesting:
$table->integer('post')->length(11);
But that doesn't work - at least with Laravel 4.2 - it still produces the column as int(10)
.
Is there a built in method to specify the integer length?