how do you set default of a field in laravel migration 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();
});