laravel access enum value code example Example: laravel enum column $table->enum('difficulty', ['easy', 'hard']);