default values in laravel 8.x migrations code example Example: laravel migration set default value $table->string('name')->default('Hello World!');