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