Answers for "laravel migration integer default value"

PHP
5

laravel migration set default value

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

laravel migration integer

$table->integer('votes');
Posted by: Guest on March-22-2021

Code answers related to "laravel migration integer default value"

Browse Popular Code Answers by Language