tinyint data type
In Laravel 8+
tinyInteger
method generates
tinyint(4)
data type in MySQL
$table->tinyInteger('column_name');
Whereas
boolean
method generates
tinyint(1)
data type
$table->$table->boolean('column_name');
by Valeri Tandilashvili
4 years ago
MySQL
Laravel
migrations
Data types
0
Pro tip: use ```triple backticks around text``` to write in code fences