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