laravel set migration default value 0 b code example Example: laravel migration set default value $table->string('name')->default('Hello World!');