Answers for "how to put a default value to a table column in migrate laravel"

PHP
5

laravel migration set default value

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

Code answers related to "how to put a default value to a table column in migrate laravel"

Browse Popular Code Answers by Language