Answers for "make default value in laravel migration for exisiting column"

PHP
5

laravel migration set default value

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

Code answers related to "make default value in laravel migration for exisiting column"

Browse Popular Code Answers by Language