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