adding default value to date migration in laravel code example Example: laravel migration set default value $table->string('name')->default('Hello World!');