Laravel Enum -Säule
$table->enum('difficulty', ['easy', 'hard']);
Bug Killer
$table->enum('difficulty', ['easy', 'hard']);
$table->enum('priority', ['normal', 'medium', 'high'])->default('normal');
return [
'phone_types' => [
'CELL' => "Cellular",
'HOME' => "Home",
'WORK' => "Work",
]
];
config('enums.phone_types')