title: Laravel 8: How to set default value of all enum values
body: <p>I want to assign all default values for <code>allowed_file_types</code> column in products table which are all values of enum <code>FileTypes</code>. But now I have no way to do that.</p>
  <p>Can you help me?</p>
  <p>This is my file FileTypes:</p>
  <pre><code>&lt;?php
  
  namespace App\Enums;
  
  use BenSampo\Enum\Enum;
  
  /**
   * @method static static OptionOne()
   * @method static static OptionTwo()
   * @method static static OptionThree()
   */
  final class FileTypes extends Enum
  {
      const JPG =   'jpg';
      const PNG =   'ps';
      const AI = 'ai';
      const PS = 'ps';
      const PDF = 'psd';
      const BMP = 'bmp';
      const IDDD = 'iddd';
  }
  </code></pre>
  <p>This is my file Migration:</p>
  <pre><code> &lt;?php
      
      use App\Enums\FileTypes;
      use Illuminate\Database\Migrations\Migration;
      use Illuminate\Database\Schema\Blueprint;
      use Illuminate\Support\Facades\Schema;
      
      class AddFielsToProductsTable extends Migration
      {
          /**
           * Run the migrations.
           *
           * @return void
           */
          public function up()
          {
              Schema::table('products', function (Blueprint $table) {
                  $table-&gt;enum('allowed_file_types', ['jpg', 'png', 'ai', 'ps', 'pdf', 'bmp', 'iddd'])-&gt;default(FileTypes::);
                  $table-&gt;integer('max_file_upload');
                  $table-&gt;integer('min_jpg_dpi');
              });
          }
      
          /**
           * Reverse the migrations.
           *
           * @return void
           */
          public function down()
          {
              Schema::table('products', function (Blueprint $table) {
                  $table-&gt;dropColumn('allowed_file_types');
                  $table-&gt;dropColumn('max_file_upload');
                  $table-&gt;dropColumn('min_jpg_dpi');
              });
          }
      }
  </code></pre>