laravel migration default record code example
Example 1: laravel migration set default value
$table->string('name')->default('Hello World!');
Example 2: laravel migration change default value
Schema::table('users', function ($table) {
$table->integer('active')->default(0)->change();
});