Answers for "how to set tinyint default 0 laravel migration"

PHP
5

laravel migration set default value

$table->string('name')->default('Hello World!');
Posted by: Guest on May-12-2020
0

how to set tinyint default 0 laravel migration

$table->boolean('field_name')->default(0);nstaed of using tinyInteger
Posted by: Guest on October-08-2021

Code answers related to "how to set tinyint default 0 laravel migration"

Browse Popular Code Answers by Language